Sylvestre Ledru
fd95abf361
Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D37217
--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:25 +00:00
Victor Porof
ad522e3aae
Bug 1561435 - Fix linting errors for browser/, r=standard8
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35950
--HG--
extra : source : ff6aa88097df9836d93d6aa5554ffcd160f07167
extra : intermediate-source : 2130a9484ece03d835939359c4a07966aa8d790c
2019-06-28 20:02:37 +02:00
Victor Porof
1f830c96da
Bug 1561435 - Format browser/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36042
--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +02:00
Mark Striemer
75dec50c7b
Bug 1532724 - Part 2: Handle HTML about:addons options page in APIs r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D30731
--HG--
extra : moz-landing-system : lando
2019-05-31 16:21:02 +00:00
Oriol Brufau
43c358adc7
Bug 1538378 - Test that tabs.onCreated fires with active:true. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D24819
--HG--
extra : moz-landing-system : lando
2019-03-26 00:50:22 +00:00
Oriol Brufau
feb4f8fa49
Bug 1538378 - Back out bug 1529411. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D24818
--HG--
extra : moz-landing-system : lando
2019-03-26 02:40:18 +00:00
Rob Wu
f55e72505d
Bug 1525729 - Stop blocking extension startup on searchInitialized r=aswan
...
Depends on D23311
Differential Revision: https://phabricator.services.mozilla.com/D19701
--HG--
extra : moz-landing-system : lando
2019-03-13 18:48:57 +00:00
Narcis Beleuzu
682099b9bb
Backed out changeset 52747743fe65 (bug 1525729) for XPCShell failures on test_ext_chrome_settings_overrides_update.js . CLOSED TREE
...
--HG--
extra : rebase_source : 1b62b48e4d2865a86f630d5fa6b615e9b84234c8
2019-02-28 22:59:55 +02:00
Rob Wu
05d16fa0fd
Bug 1525729 - Ignore searchInitialized promise on shutdown r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D19701
--HG--
extra : moz-landing-system : lando
2019-02-28 17:39:18 +00:00
Oriol Brufau
791195f4c3
Bug 1529411 - Fire onCreated before onRemoved when closing last tab with browser.tabs.closeWindowWithLastTab=false. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D20584
--HG--
extra : moz-landing-system : lando
2019-02-28 00:10:30 +00:00
Oriol Brufau
c3577f0fc0
Bug 1525634 - Preserve lazyness of the old tab when adopted by another window. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D18982
--HG--
extra : moz-landing-system : lando
2019-02-14 19:48:58 +00:00
Shane Caraveo
a266d2a772
Bug 1345474 - Check incognito access for tabs api r=rpl
...
Depends on D4110
Differential Revision: https://phabricator.services.mozilla.com/D4111
--HG--
extra : moz-landing-system : lando
2018-12-12 13:54:55 +00:00
Shane Caraveo
712e57664e
Bug 1345474 - protect access to base window and tab classes r=rpl
...
Depends on D4109
Differential Revision: https://phabricator.services.mozilla.com/D4110
--HG--
extra : moz-landing-system : lando
2018-12-10 21:28:33 +00:00
Ryan Hendrickson
c81dc8dd55
Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
...
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
browser.tabs.get calls
2. Extend or create the following methods on the browser.tabs API:
- update: add successorTabId as an optional property on the provided
updateProperties object
- moveInSuccession: new method that manipulates tab successors in bulk
Differential Revision: https://phabricator.services.mozilla.com/D9272
--HG--
extra : moz-landing-system : lando
2018-11-26 04:17:00 +00:00
Ryan Hendrickson
86f002c544
Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
...
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.
Differential Revision: https://phabricator.services.mozilla.com/D9271
--HG--
extra : moz-landing-system : lando
2018-11-26 04:16:30 +00:00
Narcis Beleuzu
7ea4ed8008
Backed out 2 changesets (bug 1500479) for bc failures on browser_ext_tabs_update_highlighted.js. CLOSED TREE
...
Backed out changeset e93f7c2b5263 (bug 1500479)
Backed out changeset 838185d7a6e7 (bug 1500479)
2018-11-15 21:05:39 +02:00
Ryan Hendrickson
1a95942b97
Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
...
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
browser.tabs.get calls
2. Extend or create the following methods on the browser.tabs API:
- update: add successorTabId as an optional property on the provided
updateProperties object
- moveInSuccession: new method that manipulates tab successors in bulk
Differential Revision: https://phabricator.services.mozilla.com/D9272
--HG--
extra : moz-landing-system : lando
2018-11-14 22:40:52 +00:00
Ryan Hendrickson
23e955ddbf
Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
...
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.
Differential Revision: https://phabricator.services.mozilla.com/D9271
--HG--
extra : moz-landing-system : lando
2018-11-15 15:17:16 +00:00
Andreea Pavel
71b3a6709d
Backed out 2 changesets (bug 1500479) for failing bc at browser/components/extensions/test/browser/browser_ext_tabs_events.js on a CLOSED TREE
...
Backed out changeset 6f209bee42c5 (bug 1500479)
Backed out changeset 02ea631f55c3 (bug 1500479)
2018-11-14 21:09:19 +02:00
Ryan Hendrickson
180811af32
Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
...
1. Add successorId to the Tab type, so that it will be returned in, e.g.,
browser.tabs.get calls
2. Extend or create the following methods on the browser.tabs API:
- update: add successorTabId as an optional property on the provided
updateProperties object
- moveInSuccession: new method that manipulates tab successors in bulk
Depends on D4731
Differential Revision: https://phabricator.services.mozilla.com/D9272
--HG--
extra : moz-landing-system : lando
2018-11-14 17:24:36 +00:00
Ryan Hendrickson
253883c531
Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
...
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.
Differential Revision: https://phabricator.services.mozilla.com/D9271
--HG--
extra : moz-landing-system : lando
2018-11-14 17:22:26 +00:00
Tooru Fujisawa
9f0115d759
Bug 1505670 - Check if the tab is still alive after waiting for the next microtask checkpoint, in TabTracker#handleEvent. r=mixedpuppy
2018-11-09 15:25:38 +09:00
YUKI "Piro" Hiroshi
1451abf5f2
Bug 1500180 - Take around only geometry data of the fallback tab for pended operations. r=mixedpuppy
2018-10-23 10:12:46 +09:00
Luca Greco
bf9a555beb
Bug 1493470 - pageAction icon should not be reset on subframe navigations. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D7600
--HG--
extra : moz-landing-system : lando
2018-10-03 18:46:36 +00:00
Kris Maglione
def32ee738
Bug 1492990: Make _tabIds map not leak. r=aswan
...
There are cases when we asynchronously handle tab events, and therefore try to
attach an ID to a tab after it's already been removed. In practice, this will
typically only affect tests, since it requires the tab to be removed
immediately after a related event is dispatched, but in those cases, it causes
a leak, since there's no way for the tab to be removed after the map after
that point.
We should ideally get rid of those weird async hacks, but either way, we
should ensure that we never add a tab to the map after it's already been
removed. This patch does that.
Differential Revision: https://phabricator.services.mozilla.com/D6435
--HG--
extra : rebase_source : 9b6bea993f6261596f2c6283d6569632d395d68b
2018-09-20 14:35:27 -07:00
Jonathan Kingston
82cf4833c8
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : 2b7baed037199f16100d13e0057a5d1054fca14c
extra : intermediate-source : 091677bcef226cc780c0d60f34754e1cd8de8974
2018-08-29 15:43:27 +01:00
Brindusan Cristian
1db0587c0e
Backed out 10 changesets (bug 1485305) for browser-chrome failures on docshell/test/browser/browser_loadURI.js. CLOSED TREE
...
Backed out changeset 50439ec01661 (bug 1485305)
Backed out changeset a05e40ef7215 (bug 1485305)
Backed out changeset c99b97b4348b (bug 1485305)
Backed out changeset 75220b2f6669 (bug 1485305)
Backed out changeset e698f2fc1c1a (bug 1485305)
Backed out changeset acce14683c13 (bug 1485305)
Backed out changeset 323773a395cc (bug 1485305)
Backed out changeset 1b74152cabc1 (bug 1485305)
Backed out changeset 4b5c9d5929fc (bug 1485305)
Backed out changeset 238d92348159 (bug 1485305)
2018-09-19 18:47:27 +03:00
Jonathan Kingston
10c02f08ca
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : 2b7baed037199f16100d13e0057a5d1054fca14c
2018-08-29 15:43:27 +01:00
arthur.iakab
d2e647e133
Backed out 10 changesets (bug 1485305)for failing browser chrome tests on browser_loadDisallowInherit.js
...
Backed out changeset 138b8596a9cd (bug 1485305)
Backed out changeset d9f04aeeeef7 (bug 1485305)
Backed out changeset cd063d8afe4e (bug 1485305)
Backed out changeset 2f8a5a03ccb5 (bug 1485305)
Backed out changeset 8085d1eefd7c (bug 1485305)
Backed out changeset 3aaccb374a59 (bug 1485305)
Backed out changeset 3a111e9e5c9c (bug 1485305)
Backed out changeset 61aa1cfb0b01 (bug 1485305)
Backed out changeset bca973d90acc (bug 1485305)
Backed out changeset 4eb33bf25d6f (bug 1485305)
2018-09-18 20:30:07 +03:00
Jonathan Kingston
c5b234e0ea
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : b4b9736b30b679bba6b496c4191a17529241f0d7
2018-08-29 15:43:27 +01:00
Tiberius Oros
3235f6720f
Backed out 10 changesets (bug 1485305) for failures at browser/content/browser.js on a CLOSED TREE
...
Backed out changeset 63c50fd60ae4 (bug 1485305)
Backed out changeset bf0f2adb765e (bug 1485305)
Backed out changeset 721871bb64f1 (bug 1485305)
Backed out changeset e9da73786c5f (bug 1485305)
Backed out changeset e02038177b6b (bug 1485305)
Backed out changeset 35bd32f99f60 (bug 1485305)
Backed out changeset f40900bf8621 (bug 1485305)
Backed out changeset 03632075ac2c (bug 1485305)
Backed out changeset 2fee48378f73 (bug 1485305)
Backed out changeset 6263695b3cb8 (bug 1485305)
2018-09-18 14:46:54 +03:00
Jonathan Kingston
29f458a74f
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
--HG--
extra : source : 303ab4e89ad1d346107ab2a0006a89bb4e38742c
2018-08-29 15:43:27 +01:00
Oriol Brufau
4939933710
Bug 1488026 - Always fire onDetached event before onAttached. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D4826
--HG--
extra : moz-landing-system : lando
2018-09-04 20:50:12 +00:00
Arshad Kazmi
43fb2c87eb
Bug 1396684 - Allow extensions to access tab's "attention" flag r=mixedpuppy,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D3984
--HG--
extra : moz-landing-system : lando
2018-08-28 14:41:31 +00:00
Oriol Brufau
dea5810226
Bug 1474440 - Implement support for the 'onHighlighted' API for multiselect tabs r=mixedpuppy
...
MozReview-Commit-ID: 8aOmdj0AB3e
--HG--
extra : rebase_source : 5eec0163341b6621103ac4a5e43f8439a19a9c5a
2018-07-28 13:15:55 +02:00
Jonathan Kingston
9b7fb2f20c
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
...
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : source : 44b25dea67d2ed079e17057ab619d827e9983400
extra : amend_source : 5742820277e0269b6f5d42b1abd98fd9b228ac4a
extra : histedit_source : 790bd2490333e4d8fea7774d036eafbc2fc329b9
2018-07-06 15:14:54 +01:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
f389570122
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
...
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Subscribers: mixedpuppy, reviewbot
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : rebase_source : ea688b35744f970e74de3039da3973f1177d8577
extra : amend_source : 89efdb8ccec2c334a83155eec6b30f08fa0f7074
2018-08-08 20:03:55 +03:00
Andreea Pavel
f5c1119983
Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
...
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston
9be2ebdb53
Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
...
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Subscribers: reviewbot
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2046
--HG--
extra : rebase_source : 57c6bda461781ec20f0ceba8d1dd9c48778bf568
extra : amend_source : 2eebbf1e7df91697ce984d2845dbae41f9dcbcbd
2018-08-06 19:54:47 +03:00
Kris Maglione
031076f2f3
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Narcis Beleuzu
561ccb2ceb
Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
...
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
cb1ee1e34d
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Michael Kaply
81556be6b8
Bug 1352598 - Add WebExtension API for access to search. r=aswan
...
MozReview-Commit-ID: 4pV2DGMcV7G
--HG--
extra : rebase_source : 650606638e580daa0c7f3b49e8fd085b039705bc
2018-06-18 10:39:12 -05:00
Neil Deakin
f08f9ce4af
Bug 1437638, move frame, browser and editor to be based on XULFrameElement, a new subclass of XULElement, r=paolo,bz
2018-07-05 20:14:18 -04:00
Kris Maglione
fcedebb912
Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
...
MozReview-Commit-ID: Fqlv5BRuuW8
--HG--
extra : rebase_source : 348f037abd9cecfa080183bc365e5f005eac1bd6
extra : amend_source : 05dbfd12f553fc3f2a93374402e34d271e26d767
2018-06-25 19:30:21 -07:00
Oriol Brufau
050e9292da
Bug 1465170 - Implement support for the 'highlighted' API for multiselect tabs with tabs.query r=jaws,mixedpuppy
...
MozReview-Commit-ID: 6eFnxrXJXXB
--HG--
extra : rebase_source : f0afa7ab08d32d7751c5bcbf1ed9fc65a1fba16b
2018-06-03 02:53:59 +02:00
Oriol Brufau
e3e3ce5238
Bug 1464862 - Expose multiselected status to "tabs.Tab.highlighted", and allow to change it via "browser.tabs.highlight()" r=mixedpuppy
...
MozReview-Commit-ID: H2SiqM5ksCH
--HG--
extra : rebase_source : a8951d803c2c72fb0c6e39f4600b6aabcae69c41
2018-06-23 21:46:58 +02:00
Oriol Brufau
62a134a580
Bug 1463751 - Tab-specific data not updated when tab is moved to another window and old window closes r=mixedpuppy
...
MozReview-Commit-ID: IUC8OwV6YHY
--HG--
extra : rebase_source : 1f2822572fe847a34edbcec6aa19b5988dcc8fbc
2018-05-26 21:57:58 +02:00
Luca Greco
bbb0a980e1
Bug 1458918 - Prevent windows.getLastFocused from leaking tab being adopted by a new window. r=dao,mixedpuppy
...
MozReview-Commit-ID: 6Nj7J7aI06B
--HG--
extra : rebase_source : 93625678c7799886277566abe79efd1d558e529e
2018-05-03 16:24:02 +02:00