Rob Wu
b51d89ac07
Bug 1525729 - Stop blocking extension startup on searchInitialized r=aswan
...
Depends on D23311
Differential Revision: https://phabricator.services.mozilla.com/D19701
2019-03-13 18:48:57 +00:00
Narcis Beleuzu
fa44140bd3
Backed out changeset 52747743fe65 (bug 1525729) for XPCShell failures on test_ext_chrome_settings_overrides_update.js . CLOSED TREE
2019-02-28 22:59:55 +02:00
Rob Wu
5fa40d4191
Bug 1525729 - Ignore searchInitialized promise on shutdown r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D19701
2019-02-28 17:39:18 +00:00
Oriol Brufau
1ed6cdfc8b
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
2019-02-28 00:10:30 +00:00
Oriol Brufau
c05ae5a09f
Bug 1525634 - Preserve lazyness of the old tab when adopted by another window. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D18982
2019-02-14 19:48:58 +00:00
Shane Caraveo
0134e7bd62
Bug 1345474 - Check incognito access for tabs api r=rpl
...
Depends on D4110
Differential Revision: https://phabricator.services.mozilla.com/D4111
2018-12-12 13:54:55 +00:00
Shane Caraveo
02afbc4262
Bug 1345474 - protect access to base window and tab classes r=rpl
...
Depends on D4109
Differential Revision: https://phabricator.services.mozilla.com/D4110
2018-12-10 21:28:33 +00:00
Ryan Hendrickson
f5db121ba7
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
2018-11-26 04:17:00 +00:00
Ryan Hendrickson
803e559f4f
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
2018-11-26 04:16:30 +00:00
Narcis Beleuzu
b1810946e8
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
83a56ac5d1
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
2018-11-14 22:40:52 +00:00
Ryan Hendrickson
56956c7a14
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
2018-11-15 15:17:16 +00:00
Andreea Pavel
2ef93af30c
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
a0ae7733cb
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
2018-11-14 17:24:36 +00:00
Ryan Hendrickson
1ef15daf8a
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
2018-11-14 17:22:26 +00:00
Tooru Fujisawa
b0f850c307
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
1115af448d
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
25aff18062
Bug 1493470 - pageAction icon should not be reset on subframe navigations. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D7600
2018-10-03 18:46:36 +00:00
Kris Maglione
490f615278
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
2018-09-20 14:35:27 -07:00
Jonathan Kingston
adaa868721
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Brindusan Cristian
6c0094d53f
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
52a379b132
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
arthur.iakab
f36e6bf3d0
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
b7aabac2a5
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Tiberius Oros
75126ef309
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
b194222905
Bug 1485305 - browser/ Ensure loadURI always passes a triggeringPrincipal() r=Mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D4551
2018-08-29 15:43:27 +01:00
Oriol Brufau
d5d7338e92
Bug 1488026 - Always fire onDetached event before onAttached. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D4826
2018-09-04 20:50:12 +00:00
Arshad Kazmi
50ab04fb5c
Bug 1396684 - Allow extensions to access tab's "attention" flag r=mixedpuppy,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D3984
2018-08-28 14:41:31 +00:00
Oriol Brufau
67b140d7db
Bug 1474440 - Implement support for the 'onHighlighted' API for multiselect tabs r=mixedpuppy
...
MozReview-Commit-ID: 8aOmdj0AB3e
2018-07-28 13:15:55 +02:00
Jonathan Kingston
07af5c5572
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
2018-07-06 15:14:54 +01:00
dvarga
86b7ee6d9f
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)
2018-08-08 22:11:56 +03:00
Jonathan Kingston
0e48203cf4
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
2018-08-08 20:03:55 +03:00
Andreea Pavel
31fb9c007c
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
ea417d37e5
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
2018-08-06 19:54:47 +03:00
Kris Maglione
e97c582e3f
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
2018-05-21 16:58:23 -07:00
Narcis Beleuzu
749f83cc65
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
6dcf46ad68
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
2018-05-21 16:58:23 -07:00
Michael Kaply
1ee815c57d
Bug 1352598 - Add WebExtension API for access to search. r=aswan
...
MozReview-Commit-ID: 4pV2DGMcV7G
2018-06-18 10:39:12 -05:00
Neil Deakin
d23aebf191
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
bb663b9c15
Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
...
MozReview-Commit-ID: Fqlv5BRuuW8
2018-06-25 19:30:21 -07:00
Oriol Brufau
498a7b8c8c
Bug 1465170 - Implement support for the 'highlighted' API for multiselect tabs with tabs.query r=jaws,mixedpuppy
...
MozReview-Commit-ID: 6eFnxrXJXXB
2018-06-03 02:53:59 +02:00
Oriol Brufau
50907cadd4
Bug 1464862 - Expose multiselected status to "tabs.Tab.highlighted", and allow to change it via "browser.tabs.highlight()" r=mixedpuppy
...
MozReview-Commit-ID: H2SiqM5ksCH
2018-06-23 21:46:58 +02:00
Oriol Brufau
9c2d2d8543
Bug 1463751 - Tab-specific data not updated when tab is moved to another window and old window closes r=mixedpuppy
...
MozReview-Commit-ID: IUC8OwV6YHY
2018-05-26 21:57:58 +02:00
Luca Greco
9ed230e011
Bug 1458918 - Prevent windows.getLastFocused from leaking tab being adopted by a new window. r=dao,mixedpuppy
...
MozReview-Commit-ID: 6Nj7J7aI06B
2018-05-03 16:24:02 +02:00
Luca Greco
6972401b56
Bug 1458918 - Prevent the session API from leaking tabIds when checking tab permissions on session data. r=mixedpuppy
...
MozReview-Commit-ID: 10O8nLc6tJl
2018-05-09 15:56:01 +02:00
Oriol Brufau
7282a2a9b7
Bug 1451176 - Preserve tab-specific data when tab is moved to another window r=mixedpuppy
...
MozReview-Commit-ID: 80h4U7G3gmb
2018-04-04 16:04:11 +02:00
Oriol Brufau
23a600b8f4
Bug 1419893 - Add windowId parameter in browserAction methods r=mixedpuppy
...
MozReview-Commit-ID: FFb4I1wmTH
2018-04-06 23:18:44 +02:00
Mike de Boer
15e60d9e71
Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow to getTopWindow and modernize the style used in BrowserWindowTracker.jsm. r=dao
...
MozReview-Commit-ID: EvgAhq4uR3a
2018-04-11 12:05:59 +02:00
Mike de Boer
2271d50b55
Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
...
MozReview-Commit-ID: 9qzq1aGvjDu
2018-04-11 12:05:56 +02:00
Mark Striemer
8b1d36978f
Bug 1397809 - Part 2: Add a doorhanger when an extension changes the homepage r=aswan,Gijs
...
MozReview-Commit-ID: CwZ3E32xROS
2018-01-11 18:59:32 -06:00