Overview
Comment: | [fx] WebExt: adaptation to Chrome: create window and tab |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fx |
Files: | files | file ages | folders |
SHA3-256: |
b81808e2fa70c5639d46b66639618b00 |
User & Date: | olr on 2017-09-27 11:04:40 |
Other Links: | manifest | tags |
Context
2017-09-27
| ||
11:14 | [fx] WebExt: create window: panel type is deprecated check-in: 39c185125f user: olr tags: trunk, fx | |
11:04 | [fx] WebExt: adaptation to Chrome: create window and tab check-in: b81808e2fa user: olr tags: trunk, fx | |
10:20 | [fx] WebExt: adaptation to Chrome: minimal version required check-in: e7592882ed user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/webext/background.js from [7732c179f1] to [37339883bc].
︙ | ︙ | |||
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 | sCommand: "getListOfTokens", dParam: {sText: sText}, dInfo: {iReturnPort: iTab} }); } function openConjugueurTab () { let xConjTab = browser.tabs.create({ url: browser.extension.getURL("panel/conjugueur.html") }); xConjTab.then(onCreated, onError); } function openConjugueurWindow () { let xConjWindow = browser.windows.create({ url: browser.extension.getURL("panel/conjugueur.html"), | > > > > > > > > > > > > > > > | | 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | sCommand: "getListOfTokens", dParam: {sText: sText}, dInfo: {iReturnPort: iTab} }); } function openConjugueurTab () { if (bChrome) { browser.tabs.create({ url: browser.extension.getURL("panel/conjugueur.html") }); return; } let xConjTab = browser.tabs.create({ url: browser.extension.getURL("panel/conjugueur.html") }); xConjTab.then(onCreated, onError); } function openConjugueurWindow () { if (bChrome) { browser.windows.create({ url: browser.extension.getURL("panel/conjugueur.html"), type: "panel", width: 710, height: 980 }); return; } let xConjWindow = browser.windows.create({ url: browser.extension.getURL("panel/conjugueur.html"), type: "panel", width: 710, height: 980 }); xConjWindow.then(onCreated, onError); } |
︙ | ︙ |
Modified gc_lang/fr/webext/manifest.json from [8102da3b21] to [540693d351].
1 2 3 4 5 | { "manifest_version": 2, "name": "Grammalecte [fr]", "short_name": "Grammalecte [fr]", "version": "0.6.0", | < | 1 2 3 4 5 6 7 8 9 10 11 12 | { "manifest_version": 2, "name": "Grammalecte [fr]", "short_name": "Grammalecte [fr]", "version": "0.6.0", "applications": { "gecko": { "id": "French-GC@grammalecte.net", "strict_min_version": "57.0" } }, |
︙ | ︙ |