Oriol Brufau
da20c7145a
Bug 1437178 - Fix various pageAction visibiltiy issues when using show_matches and hide_matches r=mixedpuppy
...
MozReview-Commit-ID: 5jQ7MkkKWRk
--HG--
extra : rebase_source : 4af4acda8d25c606ea8734b2ce3bd96954647dbd
2018-02-09 22:22:43 +01:00
Drew Willcoxon
779a6db762
Bug 1435992 - Disabled page actions still show extension context menu items. r=mixedpuppy
...
MozReview-Commit-ID: JmC6PXtW1SK
--HG--
extra : rebase_source : ebb3895ba0d2ebb533cf134c598ffb6ef988f446
2018-02-06 11:15:50 -08:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Oriol Brufau
2259549f9d
Bug 1424538 - Allow pageAction and sidebarAction set* methods to accept a null value (desktop). r=mixedpuppy
...
MozReview-Commit-ID: FqcRrFDYqWp
--HG--
extra : rebase_source : 0ae2cfb1db75f3abbdc9b0e57c56848dadd3a431
2017-12-18 20:41:10 +01:00
Oriol Brufau
52b205414a
Bug 1427431 - Add methods to check if browser/page/sidebar actions are enabled/shown/open r=mixedpuppy
...
MozReview-Commit-ID: DPbg8SwKVQL
--HG--
extra : rebase_source : 9364415cfed7ed47083d2b67782930ed99d9a021
2018-01-11 18:19:02 +01:00
Shane Caraveo
f27fb376d0
Bug 1419842 support pattern matching to show/hide pageActions, r=aswan
...
MozReview-Commit-ID: bYcR08xX8r
--HG--
extra : rebase_source : cdd22772e6b319dc3fb2c8895503bf22f872f745
2017-12-05 14:41:21 -08:00
Drew Willcoxon
46c5139ac2
Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
...
MozReview-Commit-ID: HJpu9Jfi2bB
--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Drew Willcoxon
e42d94c099
Bug 1413692 - Extensions page actions are pinned to address bar again and again. r=mixedpuppy
...
MozReview-Commit-ID: HrhYTNSwygH
--HG--
extra : rebase_source : e67932403b4294902c5096883cb5be6759969d69
2017-11-06 21:19:26 -05:00
Shane Caraveo
6cd7d5e813
Bug 1413648 fix default extension icon use, r=aswan
...
MozReview-Commit-ID: 3Dh2DjGIAgn
--HG--
extra : rebase_source : da88dcede96fa8f89cca1e9abf9baabb78a73855
2017-11-02 15:49:38 -07:00
Drew Willcoxon
3629cb997a
Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: WebExtensions changes. r=mixedpuppy
...
MozReview-Commit-ID: 4vBNSmCU1a0
--HG--
extra : rebase_source : dd4f1a60479a435565c78ff7561bf3997cc8e049
2017-10-30 17:50:33 -04:00
Phil Ringnalda
c21a471320
Backed out 2 changesets (bug 1412170) for eslint bustage
...
Backed out changeset a9a646fe54ec (bug 1412170)
Backed out changeset 8b46ed411edf (bug 1412170)
MozReview-Commit-ID: Et3MnX3ieBe
2017-10-30 14:21:45 -07:00
Drew Willcoxon
7cdccba586
Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: WebExtensions changes. r=mixedpuppy
...
MozReview-Commit-ID: 4vBNSmCU1a0
--HG--
extra : rebase_source : c80e33fdb0e7dd825987c8bd4b36dcbaa875ebcc
2017-10-30 16:53:42 -04:00
Drew Willcoxon
37cb69c21b
Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: WebExtensions changes. r=mixedpuppy
...
MozReview-Commit-ID: n2eR3q1aZF
--HG--
extra : rebase_source : 56a68a6a268e23c05d57960040be4a441566fa03
2017-10-27 17:39:57 -04:00
Luca Greco
d83e387d9b
Bug 1397196 - Fix pageAction icon loading when an extension has a cached browserAction theme-based icon. r=mixedpuppy
...
MozReview-Commit-ID: Lmi5pLerzul
--HG--
extra : rebase_source : 9c3eb11e65b03c43bb8f30f5f19a904770f82356
2017-09-06 12:40:45 +02:00
Shane Caraveo
64c09f5ee2
Bug 1380597 - Ensure the url can be loaded by the extension. r=kmag
...
MozReview-Commit-ID: GH31FlHxpVu
2017-09-07 17:09:40 -04:00
Shane Caraveo
ade364b171
Bug 1341126 implement open for browser/page/sidebar actions, r=kmag,zombie
...
MozReview-Commit-ID: 5r5aGpyPQ6W
--HG--
extra : rebase_source : d20d30aab83af385512e1188902001f976ea4fd1
2017-03-08 23:36:25 -08:00
Dão Gottwald
e2259fbc44
Bug 1389740 - Rename urlbar-icons to page-action-buttons. r=gijs
...
MozReview-Commit-ID: 980Rvv8mxtU
2017-08-14 16:45:17 +02:00
Carsten "Tomcat" Book
0f16d437cc
merge mozilla-inbound to mozilla-central a=merge
2017-08-08 13:18:14 +02:00
Kris Maglione
701fb54270
Bug 1387907: Part 3 - Merge ext-browser.js and ext-utils.js. r=mixedpuppy
...
MozReview-Commit-ID: CmOax5b5Gki
--HG--
extra : rebase_source : d0200575bfe49607f277cef5aea3da920852fd45
2017-08-06 18:20:25 -07:00
Kris Maglione
5a70f7bd60
Bug 1387899: Part 2 - Cache pageAction icon data for startup. r=mixedpuppy
...
MozReview-Commit-ID: 2ZK19neRcrQ
--HG--
extra : rebase_source : 7feb62427a9f500752ea28bc591de5a01f590395
2017-08-06 16:16:33 -07:00
Kris Maglione
0a92c7bb9b
Bug 1387898: Remove unnecessary uses of EventEmitter.decorate. r=mixedpuppy
...
MozReview-Commit-ID: FRCdXHc3S4K
--HG--
extra : rebase_source : 4d7eb8614745fdbcac37b101a617d7aa3d43eea0
2017-08-07 14:42:57 -07:00
Tomislav Jovanovic
3c79bd8784
Bug 1370716 - Only try to add _action menus if extension has permission r=mixedpuppy
...
MozReview-Commit-ID: KpT1RH30NMh
--HG--
extra : rebase_source : a4ad233ba966b201b2b57559ff3fcd2d40757b2d
2017-08-06 23:27:10 +02: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
247cf78259
Bug 1376888 - pageAction popup telemetry does not report the correct times, r=kmag
...
Move the call to TelemetryStopwatch.finish to after the contentReady promise of the PanelPopup resolves.
MozReview-Commit-ID: F1hfaDHVuJi
--HG--
extra : rebase_source : 772057cd8b0fe13197b2816f1cbfb93a436e8046
extra : source : ec6575fd33c91cec6cb8cd395fa22318011a6db2
2017-06-28 13:28:15 -07:00
Bob Silverberg
c112a180ec
Bug 1297167 - Part 1: Add telemetry probe for PageAction open timing, r=bsmedberg,kmag
...
MozReview-Commit-ID: 44xIqcFZXLO
--HG--
extra : rebase_source : 9d6f9a4ed03fed14877a163407294e3a48c640ba
extra : source : 9ecc91067d723f7cd3dbdb38fae022e3465be243
2017-05-03 08:28:34 -04: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
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
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