Nicholas Nethercote
c4aacd8403
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
2019-07-26 01:10:23 +00:00
Ciure Andrei
555c0eb5a5
Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE
...
Backed out changeset 644ceb2fe568 (bug 1523638 )
Backed out changeset 27647ee7a927 (bug 1523638 )
Backed out changeset 96f1ccb95570 (bug 1523638 )
Backed out changeset b60a17ea716a (bug 1523638 )
Backed out changeset 507e63186c5f (bug 1523638 )
Backed out changeset 33255408ca61 (bug 1523638 )
Backed out changeset d97b2d223616 (bug 1523638 )
Backed out changeset eba2a0514cde (bug 1523638 )
Backed out changeset d7065174c5c4 (bug 1523638 )
Backed out changeset c21b361e175d (bug 1523638 )
2019-07-23 05:13:32 +03:00
Nika Layzell
5c29b58c34
Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
2019-07-18 19:38:22 +00:00
Nika Layzell
b389df592e
Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37651
2019-07-18 19:38:12 +00:00
Kashav Madan
82f4677641
Bug 1566310 - Nullcheck mWindowGlobalChild prior to notifying it of beforeunload listeners, r=nika
...
Missed in the 1543251 refactor.
Differential Revision: https://phabricator.services.mozilla.com/D38223
2019-07-16 18:35:25 +00:00
Bogdan Tara
8aef5e7fca
Backed out 9 changesets (bug 1523638) for browser_contextmenu.js failures CLOSED TREE
...
Backed out changeset 0a584a07b696 (bug 1523638 )
Backed out changeset 8c5af2289900 (bug 1523638 )
Backed out changeset 40ed1bd64b09 (bug 1523638 )
Backed out changeset 9a99a0391979 (bug 1523638 )
Backed out changeset 07fb4748b91a (bug 1523638 )
Backed out changeset 49047c3ebae9 (bug 1523638 )
Backed out changeset d606d072126c (bug 1523638 )
Backed out changeset 76dc1937fc77 (bug 1523638 )
Backed out changeset c784c14b5d5d (bug 1523638 )
2019-07-16 23:40:47 +03:00
Nika Layzell
5cc63b3949
Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
2019-07-16 18:47:56 +00:00
Nika Layzell
7f4c71a43d
Bug 1523638 - Part 4: Move NextWindowId logic into nsContentUtils, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37651
2019-07-16 18:47:41 +00:00
Kashav Madan
6a4f916e27
Bug 1543251 - Move hasBeforeUnload from PBrowser to PWindowGlobal, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D37003
2019-07-15 17:30:26 +00:00
Noemi Erli
a4d566a28f
Backed out changeset 405100db6c45 (bug 1543251) for failing in nsGlobalWindowInner.cpp
2019-07-11 01:47:47 +03:00
Kashav Madan
84e5292633
Bug 1543251 - Move hasBeforeUnload from PBrowser to PWindowGlobal, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D37003
2019-07-10 21:13:44 +00:00
Markus Stange
7572180823
Bug 1515214 - Add markers with cause stacks and the name of the called function for setTimeout callback execution. r=jesup
...
These duplicate the existing setTimeout markers a bit.
Differential Revision: https://phabricator.services.mozilla.com/D19194
2019-07-10 20:48:14 +00:00
Kris Maglione
b885143bce
Bug 1560400: Part 1 - Support remote frames in Window indexed getters. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D35471
2019-06-20 13:52:55 -07:00
Hiroyuki Ikezoe
f9bc9ef982
Bug 1560237 - Introduce nsIScrollableFrame::IsSmoothScroll. r=botond
...
This is pretty much the same as ScrollStyles::IsSmoothScroll right now,
but in the next commit, we will no longer propagate scroll-behavior on <body> to
the root element so that nsIScrollableFrame::IsSmoothScroll will be changed
to reflect it.
Differential Revision: https://phabricator.services.mozilla.com/D35737
2019-06-26 20:59:01 +00:00
Logan Smyth
77108e65d7
Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D30565
2019-06-17 04:36:29 +00:00
Edgar Chen
06b0224094
Bug 1558776 - Part 4: Merge nsITimeoutHandler and TimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34876
2019-06-14 21:04:19 +00:00
Edgar Chen
4e295cd08c
Bug 1558776 - Part 3: Extract script timeout handler from nsJSScriptTimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34872
2019-06-14 21:01:49 +00:00
Edgar Chen
2da2c1d35c
Bug 1558776 - Part 2: Extract callback timeout handler from nsJSScriptTimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34863
2019-06-14 20:59:13 +00:00
Dorel Luca
8ea7c83178
Backed out 2 changesets (bug 1529345) for Windows 2012 build bustages
...
Backed out changeset 87aa4894b4a1 (bug 1529345)
Backed out changeset cf6f6281cb44 (bug 1529345)
2019-06-14 23:34:36 +03:00
Logan Smyth
ef7344be30
Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D30565
2019-06-14 18:25:47 +00:00
Dorel Luca
ce83744053
Backed out 2 changesets (bug 1529345) for Build Bustage. CLOSED TREE
...
Backed out changeset 63f80a49839e (bug 1529345)
Backed out changeset 15bac42cc73a (bug 1529345)
2019-06-14 20:55:52 +03:00
Logan Smyth
3add68b91c
Bug 1529345 - Part 2: Add Gecko infrastructure for receiving notifications about debugger-related events. r=jimb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D30565
2019-06-14 17:14:13 +00:00
Olli Pettay
0a1005b5fb
Bug 1558215 - Refactor nsPIDOMWindowInner::AddAfterLoadRunner to be easier to use, r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D34366
2019-06-12 18:36:41 +00:00
Andrea Marchesini
98981918ee
Bug 1490044 - Remove DOMPrefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33510
2019-06-13 09:02:03 +00:00
Sean Feng
60f4bc3ba6
Bug 1512388 - Add loading cross domain iframes in background r=smaug
...
This patch adds the ability to load cross domain iframes in the
background to make the top level documents finish earlier.
This is an experiment feature that we'll keep it disabled by default.
Differential Revision: https://phabricator.services.mozilla.com/D24938
2019-06-11 20:43:40 +00:00
Boris Zbarsky
8e16a497d9
Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34201
2019-06-08 21:26:12 +00:00
Nika Layzell
04f16d2f36
Bug 1556061 - Add IsTopContent and IsChrome helpers to BrowsingContext, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D33332
2019-06-06 14:57:31 +00:00
Nika Layzell
029b999f09
Bug 1451455 - Fire the 'load' event on out-of-process iframes, r=rhunt
...
This is done by sending a message over PBrowser and PBrowserBridge when the
event would fire to fire it in the correct process.
Differential Revision: https://phabricator.services.mozilla.com/D33083
2019-06-06 14:57:17 +00:00
Andrea Marchesini
81b82a1b13
Bug 1556082 - LocalStorage must be recreated when storage-access is granted, r=Ehsan,asuth
...
This behavior is similar to indexedDB and other QuotaManager-related APIs.
Differential Revision: https://phabricator.services.mozilla.com/D33748
2019-06-05 17:29:09 +00:00
Coroiu Cristina
3c77a313df
Backed out changeset 86e87b18a282 (bug 1451455) for mochitest failures at dom/html/test/test_ignoreuserfocus.html on a CLOSED TREE
2019-06-04 01:23:12 +03:00
Nika Layzell
7a23a76d41
Bug 1451455 - Fire the 'load' event on out-of-process iframes, r=rhunt
...
This is done by sending a message over PBrowser and PBrowserBridge when the
event would fire to fire it in the correct process.
Differential Revision: https://phabricator.services.mozilla.com/D33083
2019-06-03 20:03:37 +00:00
Ehsan Akhgari
fd162d0d4b
Bug 1555564 - Part 1: Support the privacy.restrict3rdpartystorage.partitionedHosts pref for both dynamic FPI and storage principal; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D33116
2019-05-30 12:09:42 +00:00
Ehsan Akhgari
74f627d4fe
Bug 1555189 - Enable partitioning of DOM cache in the third-party context; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32922
2019-05-29 15:42:43 +00:00
Ehsan Akhgari
4536b7d8f1
Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32556
2019-05-27 14:06:49 +00:00
Ehsan Akhgari
5dc059f25d
Bug 1547813 - Part 7: Introduce a storage partitioning API; r=baku
...
This API abstracts away the details of the decision on what context should be
partitioned away from the consumers and centralizes the decision making into
the same location in the code base.
Differential Revision: https://phabricator.services.mozilla.com/D29742
2019-05-25 01:25:41 +00:00
Ehsan Akhgari
5c9a251fe7
Bug 1547813 - Part 4: Rename StorageAccess::ePartitionedOrDeny to ePartitionTrackersOrDeny; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29739
2019-05-25 01:25:35 +00:00
Edgar Chen
ea9872bc1b
Bug 1554122 - Rename nsAutoPopupStatePusher* to AutoPopupStatePusher; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32457
2019-05-24 12:42:29 +00:00
Christoph Kerschbaumer
29451e9f5e
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
2019-05-21 23:14:27 +00:00
Sean Feng
742d070d11
Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27386
2019-05-16 19:35:30 +00:00
Mike Conley
8e7d44d98f
Bug 1546887 - If requesting window.closed during teardown, return true instead of throwing. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D30435
2019-05-16 12:34:57 +00:00
Andrea Marchesini
5da6de5df1
Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D30801
2019-05-14 05:49:46 +00:00
Ciure Andrei
bf6ebec07a
Backed out 3 changesets (bug 1551055) for causing xpcshell localStorage perma failures CLOSED TREE
...
Backed out changeset 21e44ad9c6df (bug 1551055)
Backed out changeset 8727e61ab69b (bug 1551055)
Backed out changeset d99a6769beb4 (bug 1551055)
2019-05-13 22:40:22 +03:00
Andrea Marchesini
f01f7ba493
Bug 1551055 - StoragePrincipal should be supported by localStorage - part 1, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D30801
2019-05-13 18:42:36 +00:00
Brindusan Cristian
a9714217c3
Backed out changeset 7fa8e33635fc (bug 1534012) for wpt failures at promise-rejection-events.html. CLOSED TREE
2019-05-10 01:10:40 +03:00
Sean Feng
cdbf862f8d
Bug 1534012 - Use a low priority ThrottledEventQueue for postMessages during page load r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D27386
2019-05-09 14:43:40 +00:00
Noemi Erli
4470605646
Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
...
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari
ea87b7af5a
Bug 1547813 - Part 7: Introduce a storage partitioning API; r=baku
...
This API abstracts away the details of the decision on what context should be
partitioned away from the consumers and centralizes the decision making into
the same location in the code base.
Differential Revision: https://phabricator.services.mozilla.com/D29742
2019-05-08 20:15:13 +00:00
Ehsan Akhgari
273a815c66
Bug 1547813 - Part 4: Rename StorageAccess::ePartitionedOrDeny to ePartitionTrackersOrDeny; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29739
2019-05-08 19:37:52 +00:00
Andrea Marchesini
4c05a5bf94
Bug 1548034 - Remove Clear-Site-Data 'executionContexts' feature, r=annevk,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D29863
2019-05-08 13:12:59 +00:00
Boris Zbarsky
5238760d23
Bug 1548613. Get rid of FastGetGlobalJSObject. r=mccr8,jonco
...
Marking GetGlobalJSObject and GetGlobalJSObjectPreserveColor final and inline
on inner/outer windows allows compilers to de-virtualize and inline them, which
makes them just as fast as calling FastGetGlobalJSObject is now (in the case of
GetGlobalJSObjectPreserveColor; GetGlobalJSObject has to do the gray-unmarking,
which is a bit more work).
In WindowDestroyedEvent::Run we want to switch to GetGlobalJSObject(), because
we want to root the object and hence should unmark gray.
In nsGlobalWindowInner::RunTimeoutHandler we likewise want to unmark gray. The
AutoEntryScript constructor likely did that already, but it's not that
expensive when it doesn't need to do any work.
Differential Revision: https://phabricator.services.mozilla.com/D29711
2019-05-03 10:08:07 +00:00