YUKI "Piro" Hiroshi
a53e90352a
Bug 1271047 - Place "popup" type window to given coordinates r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D73419
2022-11-22 09:05:29 +00:00
Cristian Tuns
d1e21d7b84
Backed out changeset 424c4d51a7cd (bug 1271047) for causing mochitest failures on /browser_ext_windows_size.js CLOSED TREE
2022-11-21 14:04:04 -05:00
YUKI "Piro" Hiroshi
91ce3fc92a
Bug 1271047 - Place "popup" type window to given coordinates r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D73419
2022-11-21 17:02:06 +00:00
Mark Banner
5407bdffa8
Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy
...
Mainly automated changes. Some manual ESLint fixes and whitespace cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D158452
2022-10-18 11:21:26 +00:00
Shane Caraveo
cd3dba3928
Bug 1711168 allow extension pages to be loaded as top level tabs by other extensions r=rpl,geckoview-reviewers,calu
...
Ensure extensions can manage tabs and sessions that include tabs from other extensions. The parent
patch to this introduces cross-extension access validation. However that breaks this specific use case
that we need to continue supporting. This patch modifies three extension apis, tab.create/update and
windows.create to allow the creation of extension tabs which cannot be otherwise accessed.
Differential Revision: https://phabricator.services.mozilla.com/D151766
2022-08-02 17:08:58 +00:00
Butkovits Atila
b01ed36979
Backed out 3 changesets (bug 1711168, bug 1773115) for causing failures at test_ext_web_accessible_resources.html. CLOSED TREE
...
Backed out changeset 703c909eb009 (bug 1773115)
Backed out changeset 902385a7ce60 (bug 1711168)
Backed out changeset 3d061ce03de7 (bug 1711168)
2022-07-27 00:13:26 +03:00
Shane Caraveo
26d3eac02e
Bug 1711168 allow extension pages to be loaded as top level tabs by other extensions r=rpl
...
Ensure extensions can manage tabs and sessions that include tabs from other extensions. The parent
patch to this introduces cross-extension access validation. However that breaks this specific use case
that we need to continue supporting. This patch modifies three extension apis, tab.create/update and
windows.create to allow the creation of extension tabs which cannot be otherwise accessed.
Differential Revision: https://phabricator.services.mozilla.com/D151766
2022-07-26 19:39:14 +00:00
Emilio Cobos Álvarez
fa9bacd71f
Bug 1780372 - Make extension APIs deal with async window state changes. r=mixedpuppy
...
Before my previous patch, the widget code lied, and always returned the
requested window state before it had actually happened. Instead, teach
the extension code to wait if necessary for the window state to be
effective.
Differential Revision: https://phabricator.services.mozilla.com/D152394
2022-07-21 23:04:08 +00:00
Tom Schuster
214369e07f
Bug 1738694 - Pass around hasValidUserGestureActivation and fromExternal when opening links from the UI or command-line. r=Gijs,edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D147515
2022-06-15 19:01:02 +00:00
Shane Caraveo
016d94650b
Bug 1748571 support peristent listeners on windows api r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D140892
2022-03-17 22:22:18 +00:00
smolnar
1e7b706a94
Backed out changeset 268f1e1be96c (bug 1748571) for causing bc failures in browser_ext_windows_events. CLOSED TREE
2022-03-17 20:08:24 +02:00
Shane Caraveo
0ee005e4c3
Bug 1748571 support peristent listeners on windows api r=robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D140892
2022-03-17 16:09:23 +00:00
Alessio Placitelli
5a13124796
Bug 1691144 - Trigger windows.onFocusChanged with no private window permission. r=zombie
...
Credits to Jonathan Mayer for submitting the original patch.
The patch changes the onFocusChanged extension event handler
so that it no longer bails out if focus is moving to a private
window, ensuring that the onFocusChanged event gets generated
with the proper WINDOW_ID_NONE identifier.
Differential Revision: https://phabricator.services.mozilla.com/D104732
2021-02-11 09:26:29 +00:00
Csoregi Natalia
78ff0ec49b
Backed out changeset ad64957cf655 (bug 1271047) for failures on browser_ext_windows_create_params.js. CLOSED TREE
2020-07-17 12:25:28 +03:00
YUKI "Piro" Hiroshi
66170d1b5c
Bug 1271047 - Place "popup" type window to given coordinates r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D73419
2020-07-13 16:02:46 +00:00
Zibi Braniecki
19ebcdc58b
Bug 1602808 - Revert Window Title to use DTD. r=fluent-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D68661
2020-04-01 18:44:03 +00:00
Narcis Beleuzu
5e4aeca080
Backed out changeset 16d82f57e0fb (bug 1602808) for bc failures on browser_privatebrowsing_windowtitle.js . CLOSED TREE
2020-04-01 10:24:08 +03:00
Zibi Braniecki
5914374212
Bug 1602808 - Revert Window Title to use DTD. r=fluent-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D68661
2020-03-31 23:52:03 +00:00
Mark Banner
1cc76add79
Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D65509
2020-03-08 21:45:16 +00:00
Henri Sivonen
bbb6a2ab81
Bug 1618798 - Remove nsIFocusManager::SetActiveWindow and JS callers thereof. r=NeilDeakin
...
Differential Revision: https://phabricator.services.mozilla.com/D64948
2020-03-04 07:42:00 +00:00
Zibi Braniecki
d441077c48
Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
...
Depends on D53775
Differential Revision: https://phabricator.services.mozilla.com/D53776
2019-11-21 19:16:15 +00:00
Sylvestre Ledru
f4d7743944
Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D37217
2019-07-10 12:03:37 +00:00
Andreea Pavel
1ec8be7299
Backed out changeset 3d59cb02b6ff (bug 1562642) for eslint failure on a CLOSED TREE
2019-07-10 14:44:29 +03:00
Sylvestre Ledru
48a94b058e
Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D37217
2019-07-10 11:15:25 +00:00
Victor Porof
8eb72fd3fc
Bug 1561435 - Format browser/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Ehsan Akhgari
5f57b1b6e4
Bug 1557887 - Part 5: Pass a storage principal argument through the browser loadURI()/addTab() APIs; r=baku,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D34459
2019-06-12 23:05:36 +00:00
Christoph Kerschbaumer
1b1bace614
Bug 965637: Move CSP from Principal into Client, part 3: frontend changes. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D27656
2019-05-21 23:15:08 +00:00
Thomas Nguyen
e5f8eebf98
Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D21911
2019-03-15 05:10:17 +00:00
Shane Caraveo
093ebb26fb
Bug 1529582 prevent addon-set external home pages in private browsing without permission r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D21228
2019-02-28 18:12:46 +00:00
Christoph Kerschbaumer
3dd19b31a3
Bug 1518454: Part 2, frontend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=gijs
2019-02-22 09:19:26 +01:00
Shane Caraveo
1e0dd4dc35
Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18730
2019-02-19 19:19:44 +00:00
Razvan Maries
e54d0a34a1
Backed out changeset 10528ad0d7a1 (bug 1525125) for frequently failing bug 1528134. a=backout
2019-02-15 18:23:14 +02:00
Shane Caraveo
572260cbf2
Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18730
2019-02-14 19:46:00 +00:00
Bogdan Tara
2e3873efad
Backed out changeset 14f7c02566c2 (bug 1525125) for browser_ext_windows_create_tabId.js failures CLOSED TREE
2019-02-14 17:29:40 +02:00
Shane Caraveo
d5f0871903
Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D18730
2019-02-14 12:44:07 +00:00
Shane Caraveo
f62a66bc95
Bug 1514673 allow WINDOW_ID_NONE in focus listener, r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D14881
2018-12-19 16:06:35 +00:00
shindli
742e6a40b3
Backed out changeset 6267aad872ec (bug 1514673) for bc failures in browser/components/extensions/test/browser/test-oop-extensions/browser_ext_tabs_events.js
2018-12-18 18:53:26 +02:00
Shane Caraveo
42ae7b64da
Bug 1514673 allow WINDOW_ID_NONE in focus listener, r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D14748
2018-12-17 15:05:42 +00:00
Shane Caraveo
71a0ac5c62
Bug 1345474 - Check incognito access for windows api r=rpl
...
Depends on D4111
Differential Revision: https://phabricator.services.mozilla.com/D4112
2018-12-10 21:30:05 +00:00
Rob Wu
b2a7801c16
Bug 1488914 - Use about:home / about:privatebrowsing in windows.create r=rpl,dao
...
Use a homepage URL instead of a new tab URL by default in
browser.windows.create.
Differential Revision: https://phabricator.services.mozilla.com/D6030
2018-10-12 08:47:00 +00:00
Brindusan Cristian
d775ea5b65
Backed out changeset c844033d55eb (bug 1488914) for bc failures in /browser_ext_windows_create_cookieStoreId.js. CLOSED TREE
2018-10-11 21:58:59 +03:00
Rob Wu
35a5541629
Bug 1488914 - Use about:home / about:privatebrowsing in windows.create r=rpl,dao
...
Use a homepage URL instead of a new tab URL by default in
browser.windows.create.
Differential Revision: https://phabricator.services.mozilla.com/D6030
2018-10-11 14:14:50 +00:00
Rob Wu
d3b588550f
Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
...
Other (internal API) changes besides extension API changes:
- This also introduces support for opening a window with multiple tabs
in a non-default container tab.
- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
gBrowser.loadTabs call, unless allowInheritPrincipal is set.
For backwards-compatibility, this flag defaults to true.
Depends on D4928
Differential Revision: https://phabricator.services.mozilla.com/D4929
2018-09-19 10:57:48 +00:00
Gijs Kruitbosch
9c681e0239
Bug 1488822 - propagate allowScriptsToClose via the frameloader instead of relying on frame scripts, r=mconley,kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D5775
2018-09-15 08:26:33 +00:00
Coroiu Cristina
520dc59463
Backed out 2 changesets (bug 1393570) for build bustage on linux on a CLOSED TREE
...
Backed out changeset 23f496cd8a42 (bug 1393570)
Backed out changeset e41e69aa9eb5 (bug 1393570)
2018-09-12 20:40:27 +03:00
Rob Wu
b5d13cea2a
Bug 1393570 - Support cookieStoreId in windows.create extension API r=Gijs,rpl
...
Other (internal API) changes besides extension API changes:
- This also introduces support for opening a window with multiple tabs
in a non-default container tab.
- This also adds LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL to the
gBrowser.loadTabs call, unless allowInheritPrincipal is set. Currently
there are no callers that set this flag, but in case it's desired,
I added an opt-in via window.arguments[10] in browser.xul/js.
For single-argument URLs, the flag is an opt-out, since there are
multiple callers that rely on principal inheritance (bug 1475201).
Depends on D4928
Differential Revision: https://phabricator.services.mozilla.com/D4929
2018-09-12 15:15:22 +00:00
Brian Grinstead
3097f96e03
Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
...
Before this change, we accessed the browser URL in the following ways:
- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js
MozReview-Commit-ID: I5vtRke1x9t
2018-07-24 08:12:50 -07:00
Oriol Brufau
c88d606d92
Bug 1461130 - Don't convert filtered out windows in windows.getAll r=mixedpuppy
...
MozReview-Commit-ID: 2NkBIq5J4VF
2018-05-12 20:54:01 +02:00
Andrew Swan
dfdaca71bf
Bug 1450388 Part 1 Refactor EventManager r=kmag
...
As we add more behaviors to EventManager, the signature of the constructor
is going to get really clumsy. Head that off by converting it to take a
general parameters object.
This introduces a compatibility problem for existing webextension experiments,
put in a backward-compatibility shim for now.
MozReview-Commit-ID: 72QDfiwRm5j
2018-03-14 14:52:44 -07:00
Kris Maglione
12808f301b
Bug 1372406: Stop misusing import-globals-from in extension API scripts. r=aswan
...
MozReview-Commit-ID: FTkcmuguOwq
2018-03-25 21:20:17 -07:00