Boris Zbarsky
5062731c15
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Andrea Marchesini
2a3e21430e
Bug 1559919 - Finish the WorkerHolder cleanup - part 11 - WorkerHolder replaced by WorkerRef, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D35230
--HG--
extra : moz-landing-system : lando
2019-07-12 11:18:17 +00:00
Andrea Marchesini
839b9341d1
Bug 1559919 - Finish the WorkerHolder cleanup - part 9 - Notification API ported to WorkerRef, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D35228
--HG--
extra : moz-landing-system : lando
2019-07-12 11:17:52 +00:00
Andrea Marchesini
1d8a0b716c
Bug 1559919 - Finish the WorkerHolder cleanup - part 8 - Get rid of WorkerHolderToken, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D35227
--HG--
extra : moz-landing-system : lando
2019-07-12 11:17:50 +00:00
Andrea Marchesini
6e86832cf2
Bug 1559919 - Finish the WorkerHolder cleanup - part 3 - IPCWorkerRef r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D35222
--HG--
extra : moz-landing-system : lando
2019-07-12 11:16:03 +00:00
Tom Schuster
cb66417b55
Bug 1523706 - Use JavaScript mime type for two worker tests. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D37713
--HG--
extra : moz-landing-system : lando
2019-07-11 13:26:39 +00:00
Christoph Kerschbaumer
cb21dac12a
Bug 1565249: Remove self inclusion of WorkerCSPEventListener. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D37748
--HG--
extra : moz-landing-system : lando
2019-07-11 16:48:51 +00:00
Andrea Marchesini
d261515486
Bug 1563950 - Worker threads should run with a normal priority, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D37694
--HG--
extra : moz-landing-system : lando
2019-07-11 10:49:55 +00:00
Jan de Mooij
93d6f816f0
Bug 1564349 part 1 - Convert Baseline/Ion/NativeRegExp prefs from ContextOptions to JitOptions. r=nbp,smaug
...
Using process-wide prefs is consistent with the other JIT options and is simpler
to work with (one place to initialize for all runtimes).
Differential Revision: https://phabricator.services.mozilla.com/D37385
--HG--
extra : moz-landing-system : lando
2019-07-10 09:43:39 +00:00
Ryan VanderMeulen
f9387885aa
Bug 1558299 - Fix ESLint failures in browser_fileURL.js on a CLOSED TREE. r=eslint
...
--HG--
extra : amend_source : 01a0d45d7425eddbab453cfdcb0920bd934e1c85
2019-07-05 16:29:44 -04:00
Andrea Marchesini
ac791bf6a1
Bug 1558299 - Add a pref to treat File: URLs as unique origins, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D36920
--HG--
extra : moz-landing-system : lando
2019-07-05 09:16:06 +00:00
Victor Porof
64a157bec4
Bug 1561435 - Fix test failures for dom/, r=standard8
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35953
--HG--
extra : source : 601fd342df276db814d904aecf943dcd2f14290c
extra : intermediate-source : 9ea5cf04581fe4dbf353443a98e6a970f0fdee41
2019-06-24 04:55:14 +02:00
Victor Porof
0a8ff0ad85
Bug 1561435 - Format dom/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35951
--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
arthur.iakab
7bc47eec9b
Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
...
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Sebastian Streich
e7a3fe847e
Bug 1552168 - Remove Pref data_uri.unique_opaque_origin r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35005
--HG--
extra : moz-landing-system : lando
2019-07-03 10:23:29 +00:00
Karan Sapolia
ed6ee44baf
Bug 1549263 - Rename sliceTimeBudget() and related symbols to include units. r=pbone
...
Differential Revision: https://phabricator.services.mozilla.com/D35588
--HG--
extra : moz-landing-system : lando
2019-06-28 12:56:08 +00:00
Tom Ritter
569b5f037a
Bug 1560651 - Correctly set time clamping/jittering for Workers r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D35629
--HG--
extra : moz-landing-system : lando
2019-06-24 13:20:49 +00:00
Jon Coppeard
22952620f8
Bug 1560931 - Set JS engine low memory state based on memory pressure notifications r=smaug
...
Update the memory pressure observers for main thread and workers to call the new JS API to set/clear the low memory state.
Differential Revision: https://phabricator.services.mozilla.com/D35682
2019-06-24 18:24:47 +01:00
Jon Coppeard
98d75b5cd9
Bug 1560948 - Don't garbage collect workers in an ongoing memory pressure state because it likely won't help much r=smaug
...
Ignore ongoing memory pressure events on workers like we do on the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D35678
2019-06-24 18:21:53 +01:00
Boris Zbarsky
50150d0231
Bug 1559468 part 2. Move JS_DefineProfilingFunctions into dom::CreateGlobal. r=mccr8
...
Various callers either already call it or should but are forgetting to. The exception is WorkerDebuggerGlobalScope_Binding::Wrap, but it should be OK to set up the profiling functions there too.
Differential Revision: https://phabricator.services.mozilla.com/D35458
--HG--
extra : moz-landing-system : lando
2019-06-20 23:07:40 +00:00
Kagami Sascha Rosylight
a235dfa68b
Bug 1558387: Remove DOMError constructor r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D35184
--HG--
extra : moz-landing-system : lando
2019-06-17 15:43:38 +00:00
Logan Smyth
a1de03c27b
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
--HG--
extra : moz-landing-system : lando
2019-06-17 04:36:29 +00:00
Boris Zbarsky
596c812760
Bug 1559638. Fix interface-exposure tests to account for geometry interfaces being exposed in workers. r=bzbarsky
2019-06-15 18:15:03 -04:00
Edgar Chen
46c9143db2
Bug 1558776 - Part 4: Merge nsITimeoutHandler and TimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34876
--HG--
extra : moz-landing-system : lando
2019-06-14 21:04:19 +00:00
Edgar Chen
9ea814313d
Bug 1558776 - Part 3: Extract script timeout handler from nsJSScriptTimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34872
--HG--
extra : moz-landing-system : lando
2019-06-14 21:01:49 +00:00
Edgar Chen
e2d90da451
Bug 1558776 - Part 2: Extract callback timeout handler from nsJSScriptTimeoutHandler; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D34863
--HG--
extra : moz-landing-system : lando
2019-06-14 20:59:13 +00:00
Dorel Luca
e12ad70ab7
Backed out 2 changesets (bug 1529345) for Windows 2012 build bustages
...
Backed out changeset 87aa4894b4a1 (bug 1529345)
Backed out changeset cf6f6281cb44 (bug 1529345)
--HG--
extra : rebase_source : b19274a3d20d3a1ea92f0fe1224ef30910e10916
2019-06-14 23:34:36 +03:00
Logan Smyth
77f27aa54c
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
--HG--
extra : moz-landing-system : lando
2019-06-14 18:25:47 +00:00
Mark Banner
c51c2a8807
Bug 1558822 - Fix more issues related to shadowing of variables in dom/ code. r=perry
...
Differential Revision: https://phabricator.services.mozilla.com/D34760
--HG--
extra : moz-landing-system : lando
2019-06-14 18:04:01 +00:00
Dorel Luca
6b40527932
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
c09e533d0e
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
--HG--
extra : moz-landing-system : lando
2019-06-14 17:14:13 +00:00
Thomas Nguyen
1d636c1d2d
Bug 1557636 Use Referrer info in worker and fix sharedworker's wrong referrer r=baku
...
SharedWorker should use worker's referrer info instead of default value
Differential Revision: https://phabricator.services.mozilla.com/D34861
--HG--
extra : moz-landing-system : lando
2019-06-13 20:37:34 +00:00
Eden Chuang
2e0a3f0ddb
Bug 1546306 - Add an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID for the case the passed in windowId is zero. r=baku
...
In some cases, the nsIScriptError is initialized with zero innerWindowId, but is from chrome context.
For cases, this patch adds an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID, which default value is false.
Differential Revision: https://phabricator.services.mozilla.com/D34508
--HG--
extra : moz-landing-system : lando
2019-06-13 09:50:49 +00:00
Andrea Marchesini
bb718d74fc
Bug 1490044 - Remove DOMPrefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33510
--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Boris Zbarsky
d5a8a4a595
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
--HG--
extra : moz-landing-system : lando
2019-06-08 21:26:12 +00:00
Christoph Kerschbaumer
242bf62249
Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33499
--HG--
extra : moz-landing-system : lando
2019-06-06 20:19:56 +00:00
Bogdan Tara
bde97b25f5
Backed out 2 changesets (bug 1555050) for test_reloadInFreshProcess.html failures CLOSED TREE
...
Backed out changeset f5e954d593f8 (bug 1555050)
Backed out changeset b5b99e78b753 (bug 1555050)
2019-06-06 23:13:52 +03:00
Christoph Kerschbaumer
a9912a9803
Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33499
--HG--
extra : moz-landing-system : lando
2019-06-06 18:09:03 +00:00
Brian Hackett
46b6a244cd
Bug 1325195 Part 1 - Create opaque CCWs when wrapping worker debugger objects into other compartments, r=asuth.
...
Differential Revision: https://phabricator.services.mozilla.com/D32872
--HG--
extra : rebase_source : ebf0dd18959f3a2623450c2a944f26ca04a8ef85
2019-05-28 08:32:06 -10:00
Edgar Chen
1ea67058f6
Bug 1525554 - Enable promise rejection event and update tests result; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D31734
--HG--
extra : moz-landing-system : lando
2019-06-04 12:55:57 +00:00
Christoph Kerschbaumer
7cdbee6cd7
Bug 1496418: Update Content Policy checks and allow CSP checks for system principal triggered loads. r=mccr8,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32217
--HG--
extra : moz-landing-system : lando
2019-06-03 06:04:25 +00:00
Ehsan Akhgari
56221ac188
Bug 1555189 - Enable partitioning of DOM cache in the third-party context; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32922
--HG--
extra : moz-landing-system : lando
2019-05-29 15:42:43 +00:00
Christoph Kerschbaumer
046bb46c32
Bug 1553742: Null Check CSP before calling CSPToCSPInfo to avoid half initialized state of cspinfo. r=baku,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D32990
--HG--
extra : moz-landing-system : lando
2019-05-29 15:42:13 +00:00
Ehsan Akhgari
98960a9c41
Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32556
--HG--
extra : moz-landing-system : lando
2019-05-27 14:06:49 +00:00
Jeff Walden
0ba5a5ddda
Bug 1553502 - Allow DOM workers' ScriptLoadInfo to store and evaluate either UTF-8 or UTF-16 data, depending whether dom.worker.script_loader.utf8_parsing.enabled is true. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D32257
--HG--
extra : moz-landing-system : lando
2019-05-25 19:46:05 +00:00
Jeff Walden
ddfa892b76
Bug 1553502 - Make DOM workers' ScriptLoadInfo class use member initializers instead of performing the same initializations in the constructor, for greater readability. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D32256
--HG--
extra : moz-landing-system : lando
2019-05-25 19:45:52 +00:00
Sylvestre Ledru
d57d4905f1
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Ehsan Akhgari
70dba3be94
Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30117
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:43 +00:00
Ehsan Akhgari
ab20502fb9
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
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:41 +00:00
Ehsan Akhgari
e4067ede93
Bug 1547813 - Part 4: Rename StorageAccess::ePartitionedOrDeny to ePartitionTrackersOrDeny; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29739
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:35 +00:00