Gijs Kruitbosch
a102d33f95
Bug 1354117 - don't force border radius to 0 for photon (x-ref bug 1374315), fix webextension tests, r=kmag
...
MozReview-Commit-ID: 2HAi5J7uzxP
--HG--
extra : rebase_source : ccd6bcca391a36196e24256b48db097edf1271e6
2017-08-01 18:37:41 +01:00
Kris Maglione
f87ef7bd44
Remove unused lazy imports. r=trivial (no bug)
...
MozReview-Commit-ID: rqUFJw7Wsb
--HG--
extra : rebase_source : cdda5d87fe33bdb9dacc1846fd67f3cb4154f230
2017-08-02 21:09:38 -07:00
Gijs Kruitbosch
4b32580d0f
Bug 1383076 - restore workaround for 'current' setter on panelviews in non-photon panelmultiview, r=mconley
...
MozReview-Commit-ID: 6YZ6Wyu0Spc
--HG--
extra : rebase_source : 69df1d25835a817e37e5e852b68792aa8f506887
2017-07-24 14:56:01 +01:00
Gijs Kruitbosch
5b530597e8
Bug 1354086 - switch overflow panel to using a photonpanelmultiview, allowing webextension views to specify their own size, r=mikedeboer
...
MozReview-Commit-ID: 1uHEKXsO8vh
--HG--
extra : rebase_source : f33e277e77a09a10cb0ea3db412d293ef61a5f19
2017-07-19 21:23:46 +01:00
Gijs Kruitbosch
49915f0bcd
Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
...
MozReview-Commit-ID: HkdV5FUPnDV
--HG--
extra : rebase_source : d682fbdb4f0015a2d0371adc4aae7daa94868384
2017-07-03 17:14:58 +01:00
Sebastian Hengst
9ea3fbf9df
Backed out changeset 4d0faee8c200 (bug 1370967) for eslint failure: missing comma at browser_ext_browserAction_popup.js:132. r=backout
2017-07-05 22:34:23 +02:00
Gijs Kruitbosch
16ce5f8d00
Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
...
MozReview-Commit-ID: HkdV5FUPnDV
--HG--
extra : rebase_source : a7e339dda5c75af0f0e1b910794f350dfdd8fdab
2017-07-03 17:14:58 +01:00
Andrew Swan
503a78588d
Bug 1369577 Part 2 Propagate isHandlingUserInput for browserAction, pageAction, and menus r=kmag
...
The implementations of browserAction, pageAction, and menu onClick
handlers now stash the current <browser> until we get a reply from
the extension process indicating that the handler has finished running.
We also have to take care to keep that <browser> around even if the
permissions api has to be loaded asynchronously.
MozReview-Commit-ID: BYJaiwdj40u
--HG--
extra : rebase_source : 3d9cba03d2853ef8d71b6c3e3a1fd0aba400b39c
2017-06-15 12:48:40 -07:00
Andrew Swan
c29de224fb
Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
...
MozReview-Commit-ID: 7nsYWdSTJCG
--HG--
extra : rebase_source : 7afd89a9a1853d51bd31196bb2faa7e0d786043c
2017-06-09 13:49:07 -07:00
Sebastian Hengst
6d1aee1b24
Backed out changeset 26fd6d0a1254 (bug 1369577) for failing xpcshell's test_ext_simple.js and test_ext_startup_cache.js on Android. r=backout
2017-06-30 01:01:13 +02:00
Sebastian Hengst
61fb850321
Backed out changeset dfb376de5c23 (bug 1369577)
2017-06-30 00:59:59 +02:00
Andrew Swan
f512794b1a
Bug 1369577 Part 2 Propagate isHandlingUserInput for browserAction, pageAction, and menus r=kmag
...
The implementations of browserAction, pageAction, and menu onClick
handlers now stash the current <browser> until we get a reply from
the extension process indicating that the handler has finished running.
We also have to take care to keep that <browser> around even if the
permissions api has to be loaded asynchronously.
MozReview-Commit-ID: BYJaiwdj40u
--HG--
extra : rebase_source : f0eb9522e532071a11c3424f8fffddf12300504f
2017-06-15 12:48:40 -07:00
Andrew Swan
c60b71854e
Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
...
MozReview-Commit-ID: 7nsYWdSTJCG
--HG--
extra : rebase_source : 22cf5ee36dfa27e121a5c577bce2fd0189ccb164
2017-06-09 13:49:07 -07:00
Bob Silverberg
460568b25e
Bug 1374237 - Part 3: Declare all top-level functions in browser API files files via const., r=mixedpuppy
...
Also changed some function names to attempt to guarantee uniqueness across API files.
MozReview-Commit-ID: FU5JU1lRHzn
--HG--
extra : rebase_source : 4fdda100649f1bf604f6d5445aa04ce561859964
2017-06-21 16:13:00 -04:00
Matthew Wein
20f84fa972
Bug 1329242 - Add support for browser_action.theme_icons r=mixedpuppy
...
MozReview-Commit-ID: HvfUQZzBQWq
--HG--
extra : rebase_source : 689b5bbd8c6774aff3f870a7c627e9f6a797c8c7
2017-06-27 15:23:35 -07:00
Bob Silverberg
06e954de4b
Bug 1297167 - Part 2: Add telemetry probes for BrowserAction popups, r=bsmedberg,kmag
...
Add histogram for WEBEXT_BROWSERACTION_POPUP_OPEN_MS to track the amount of time it takes to open a browserAction popup.
Add histogram for WEBEXT_BROWSERACTION_POPUP_PRELOAD_RESULT_COUNT to track how often a popup preload results in a popup being shown, vs a popup being cancelled, both after hover and after mousedown.
MozReview-Commit-ID: L8xlSJxgTzX
--HG--
extra : rebase_source : 843e5d3780a9d854f0bde6dc2352191527047297
extra : source : 230078ffcde7a20a9d839779aef4656a028cc4f9
2017-05-03 11:12:03 -04:00
Mike de Boer
f7e1f14006
Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
...
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.
MozReview-Commit-ID: 45aYzVHwRYv
--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Sebastian Hengst
be35e9d97b
Backed out changeset af176d040fad (bug 1370580) for frequently failing browser_ext_sidebarAction.js on Linux debug. r=backout a=backout
...
MozReview-Commit-ID: AwnMjAQTdmC
2017-06-17 23:18:55 +02:00
Mike de Boer
5df9078641
Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
...
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.
MozReview-Commit-ID: 45aYzVHwRYv
--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Sebastian Hengst
a4809151b2
Backed out changeset d6be7dc56cc5 (bug 1370580) for failing test-oop-extensions/browser_ext_browserAction_popup_resize.js. r=backout
2017-06-15 19:24:39 +02:00
Mike de Boer
5704197fbf
Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
...
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.
MozReview-Commit-ID: 45aYzVHwRYv
--HG--
extra : rebase_source : f142e3dbba0d70effe129dad43f139e494070d82
2017-06-15 12:49:18 +02:00
Gijs Kruitbosch
f6cc57a0a9
Bug 1354109 - update WebExtensions code for Photon, r=kmag
...
MozReview-Commit-ID: 8nHvyafxwV1
--HG--
extra : rebase_source : b15866245d242dda7f907256c8308e6a36954933
2017-05-31 18:08:52 +01:00
Mark Banner
403075400a
Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 5KC23kzaCFN
--HG--
extra : rebase_source : 6a7541b5ffe85d275bc16194c155ad43f93d52ae
2017-06-08 10:59:12 +01:00
Kris Maglione
0cd3e0a862
Bug 1368189: Move more code out of ExtensionUtils.jsm. r=mixedpuppy
...
Also removes some dead code.
A lot of the code in ExtensionUtils.jsm is not needed in all processes, and a
lot of the rest isn't needed until extension code runs. Most of it winds up
being loaded into all processes way earlier than necessary.
MozReview-Commit-ID: CMRjCPOjRF2
--HG--
extra : rebase_source : 37718eaf05a22b8ccb95f633cf7454bd7975cdce
2017-05-26 15:44:41 -07:00
Florian Quèze
5e3539e504
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
Tomislav Jovanovic
29315b70c1
Bug 1362445 - Fix _action context menus when module is not loaded r=bsilverberg,mixedpuppy
...
MozReview-Commit-ID: AOzcpXSgy8d
--HG--
extra : rebase_source : de604453ae2cc81f0b9484745b34087986119e02
2017-05-07 21:38:01 +02:00
Kris Maglione
674a21ccc6
Bug 1362224: requestAnimationFrame before changing browserAction/pageAction buttons. r=aswan
...
MozReview-Commit-ID: H9Eq7z5L4Xq
--HG--
extra : rebase_source : 4c8962b17c625ddcd1a0eb00bdc60325d436dfd8
2017-05-05 14:56:19 -07:00
Kris Maglione
b2651ab90b
Bug 1362224: Cache per-tab icon data for browserAction/pageAction. r=aswan
...
MozReview-Commit-ID: JifAtY36gKA
--HG--
extra : rebase_source : ba43a1d108f4ab6007fdebb18c34585448ee9f51
2017-05-05 14:21:07 -07:00
Bob Silverberg
c90cf4951a
Bug 1361463 - Fix typo in BrowserAction.getPopup, r=kmag
...
The if statement in getPopup should read `if (!blockParser)` not `if (!this.blockParser)`.
MozReview-Commit-ID: IBtHHS634sG
--HG--
extra : rebase_source : 484d3781c28044e7108e8e44cdedbe86811de1ef
2017-05-02 14:55:03 -04:00
Alexandre Poirot
c90bccb53a
Bug 1356231 - Use toolkit EventEmitter.jsm instead of devtools module. r=mossop
...
MozReview-Commit-ID: 49JI7NtLwKK
--HG--
extra : rebase_source : 7fb015f56be94c4bbe2d56506653f069c9ad8dd3
2017-04-27 17:58:09 +02:00
Kris Maglione
b13ea15e1c
Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
...
MozReview-Commit-ID: CTX0TckLqoV
--HG--
extra : rebase_source : ebea9b6f0f17a29d331851a08e025cbd04f4d02b
extra : absorb_source : 70b120f39e9307c4b2ef66d8e776e8b832b4aab8
2017-04-07 13:39:06 -07:00
Kris Maglione
6a150bced4
Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
...
MozReview-Commit-ID: 6aRQ1uybAmg
--HG--
extra : source : 069dbaa8300ef045b157d6fa081829d4b2a77cd5
extra : histedit_source : 03f0e98ac60626380247f3b8b3bf8afec67548b3
2017-03-26 18:42:59 -07:00
Kris Maglione
56c459b23c
Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
...
MozReview-Commit-ID: 5ixBA34fvFf
--HG--
extra : source : 650808cfe044339ceae30dbd79ef931330f78049
extra : histedit_source : 30316d0b7321bdceaf93fa9dde096579b6251354
2017-03-25 11:36:56 -07:00
Kris Maglione
e6d84db845
Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
...
MozReview-Commit-ID: BQoWF9nHOuF
--HG--
rename : browser/components/extensions/ext-desktop-runtime.js => browser/components/extensions/ext-browser.js
extra : source : 7fd4ade8811856e835506310a57725dbd355c786
extra : histedit_source : c1775902971f858bfaa386977ca8d579c0ce3c61%2C489e3ed33d4c1bb47c3afbe30849b42e83771f48
2017-04-02 11:59:55 -07:00
Kris Maglione
34d1c8e0d9
Bug 1346607: Begin speculative preload of popups on hover. r=mixedpuppy
...
Ideally we'd try to detect hover intent here, but the preload is relatively
cheap, so I don't think we have much to lose by starting out simple.
MozReview-Commit-ID: 7pjiohGMJVc
--HG--
extra : rebase_source : 90659e21d5165fef69735d1f746fd89b9d792365
2017-03-11 19:05:09 -08:00
Shane Caraveo
24aa66e0a0
Bug 1344408 fix eager loading of CUI, r=kmag
...
MozReview-Commit-ID: DX2fB5cGNB0
--HG--
extra : rebase_source : 3fd496e703baeccb2d0fa33ba0c274ccc7a9b114
2017-03-03 16:15:06 -08:00
Shane Caraveo
a4ed9eb735
Bug 1313459 support CUI areas for browserAction, r=aswan
...
MozReview-Commit-ID: IoPOCv6M0qy
--HG--
extra : rebase_source : b032c4e8d1f9fe3cdc79ea9216540b7de51a572a
2017-02-22 18:47:16 -08:00
Phil Ringnalda
a9b627ca77
Backed out changeset 14dbbe36e676 (bug 1313459) for browser_ext_browserAction_area.js timeouts
2017-02-21 19:58:54 -08:00
Shane Caraveo
a226f9e310
Bug 1313459 support CUI areas for browserAction, r=aswan
...
MozReview-Commit-ID: IoPOCv6M0qy
--HG--
extra : rebase_source : 501d3bd94c7f2859c8c5b3b05667cdb35a679b62
2017-02-21 10:00:06 -08:00
Iris Hsiao
d9833ac312
Backed out changeset 3d9ddc7244ad (bug 1313459) for bunch of browser chrome failures
2017-02-21 10:21:49 +08:00
Shane Caraveo
3d46ad01cd
Bug 1313459 support CUI areas for browserAction, r=aswan
...
MozReview-Commit-ID: IoPOCv6M0qy
--HG--
extra : rebase_source : f32093d8d0cb8a3c0dbaa80b87e7dc49b44354c5
2017-02-20 15:31:34 -08:00
Shane Caraveo
6359cf10d6
Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
...
MozReview-Commit-ID: 6GMdU5kcrFR
--HG--
extra : rebase_source : 03acc88de0a87051f222408cc6e80b8f62a770cb
2017-02-09 15:32:50 -08:00
Kris Maglione
df848343c9
Bug 1336308: Part 1 - Fix the capitalization of innerWindowID properties. r=aswan
...
MozReview-Commit-ID: 1qp49K9zc40
--HG--
extra : rebase_source : 79aa93fd6c82463200233e6a0bb415727bb8da6b
2017-02-06 11:55:53 -08:00
Kris Maglione
3b4ac1de08
Bug 1260548: Part 3 - Factor out the extension popup code into its own module. r=aswan
...
MozReview-Commit-ID: HpaAkt5nBqf
--HG--
rename : browser/components/extensions/ext-utils.js => browser/components/extensions/ExtensionPopups.jsm
extra : rebase_source : b4b9c5ad6ce0b01f4171eb41f3d60b65d8a4bf6d
2017-01-28 15:00:15 -08:00
Kris Maglione
3fe8cbd2c9
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
--HG--
extra : rebase_source : f81a28a979b6d1a76534343bed2029456cc6a2c7
2017-01-30 22:44:16 -08:00
Carsten "Tomcat" Book
dca07ffc3a
merge mozilla-central to mozilla-inbound
2017-01-27 11:16:17 +01:00
Florian Quèze
b11907c7aa
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Andrew Swan
322ee1283f
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
--HG--
extra : rebase_source : 10526ee923dc1eed24bac3c9b9c80c54b8e174e9
2017-01-26 11:27:03 -08:00
Phil Ringnalda
9447dfdbd4
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
2dde6b8e9b
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
--HG--
extra : rebase_source : 3e034fba247132c3b7a92ce8f4656136c2313a20
2017-01-26 11:27:03 -08:00