Randell Jesup
229303901a
Bug 1790207: Provide cross-origin security checks for OPFS r=nika,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D157892
2022-11-15 17:13:01 +00:00
Jan Varga
bccd6f0308
Bug 1786501 - Implement WorkerNavigator::Invalidate; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D155371
2022-08-31 09:34:50 +00:00
Kagami Sascha Rosylight
32a02a7021
Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
...
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.
Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-24 10:58:46 +00:00
Marian-Vasile Laza
e32b8c70e9
Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html. CLOSED TREE
...
Backed out changeset cd284ba05fbb (bug 1784590)
Backed out changeset 2f714355a8c8 (bug 1784590)
2022-08-23 01:26:37 +03:00
Kagami Sascha Rosylight
ee9aec5cb9
Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
...
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.
Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 20:48:33 +00:00
Marian-Vasile Laza
b92a6b8396
Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html.
...
Backed out changeset 36d36e75930f (bug 1784590)
Backed out changeset 35dbbd6dbb70 (bug 1784590)
2022-08-22 22:50:41 +03:00
Kagami Sascha Rosylight
bfc04ec1a4
Bug 1784590 - Part 1: Remove hide_in_pbmode prefs r=asuth
...
It turns out that websites break with different reasons when hiding things. At this point we want to stop revising the hack further and instead gather the data about how many websites are currently affected.
Differential Revision: https://phabricator.services.mozilla.com/D154578
2022-08-22 18:48:12 +00:00
Kagami Sascha Rosylight
f4fcfcd045
Bug 1778489 - Define window.indexedDB as null in Private Browsing Mode r=twisniewski,asuth
...
https://www.msn.com/ja-jp/feed accesses `indexedDB` as a global variable and thus it throws undefined identifier error when it's not defined. Returning null fixes the regression.
Differential Revision: https://phabricator.services.mozilla.com/D151373
2022-07-08 16:05:25 +00:00
Andrew Osmond
c5989fee52
Bug 1072107 - Part 9. Expose FontFaceSet on workers. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D149254
2022-07-07 21:24:11 +00:00
Kagami Sascha Rosylight
9902521a4c
Bug 1768189 - Part 43: Apply modernize-concat-nested-namespaces to dom/workers/JSExecutionManager.cpp ... r=andi
...
Depends on D145778
Differential Revision: https://phabricator.services.mozilla.com/D145779
2022-05-09 20:41:20 +00:00
Sean Feng
5042a856cf
Bug 1734997 - Prototype the Prioritized Task Scheduling API r=smaug
...
Spec: https://wicg.github.io/scheduling-apis/
Differential Revision: https://phabricator.services.mozilla.com/D133494
2022-04-21 18:47:52 +00:00
Marian-Vasile Laza
8615f36226
Backed out 7 changesets (bug 1734997) for causing bustages on WebTaskSchedulerMainThread.cpp. CLOSED TREE
...
Backed out changeset 7ab1e7cc8f6a (bug 1734997)
Backed out changeset 0846da0f5ab1 (bug 1734997)
Backed out changeset 3a138b8501ec (bug 1734997)
Backed out changeset 55c6e7862298 (bug 1734997)
Backed out changeset 724cccd1d595 (bug 1734997)
Backed out changeset 5e624d630397 (bug 1734997)
Backed out changeset 09469f7dd10e (bug 1734997)
2022-04-19 12:54:00 -07:00
Sean Feng
ec21b3c0a4
Bug 1734997 - Prototype the Prioritized Task Scheduling API r=smaug
...
Spec: https://wicg.github.io/scheduling-apis/
Differential Revision: https://phabricator.services.mozilla.com/D133494
2022-04-19 19:08:44 +00:00
Tom Schuster
2e72af38c0
Bug 1753309 - Implement AbortSignal.timeout() r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D137900
2022-04-01 17:15:19 +00:00
Olli Pettay
ebe85cf3fa
Bug 1756172, Make also DebuggerScope support weak references, r=asuth
...
Depends on D141507
Differential Revision: https://phabricator.services.mozilla.com/D142057
2022-03-25 15:36:52 +00:00
Jens Stutte
c4335b4781
Bug 1761459: Make AssertIsOnWorkerThread independent from mWorkerPrivate in worker scopes. r=dom-worker-reviewers,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D142058
2022-03-25 13:00:30 +00:00
Emilio Cobos Álvarez
2dd7088690
Bug 1759163 - Add origin trial support for worklets. r=asuth
...
Move the trial getter to nsIGlobalObject, make every implementation
provide a reasonable value, and add a test.
Differential Revision: https://phabricator.services.mozilla.com/D140848
2022-03-15 23:16:14 +00:00
Marian-Vasile Laza
f0b42c159c
Backed out changeset 558e256fcb31 (bug 1759163) for causing mochitest failures on test_header_simple.html.
2022-03-15 15:23:04 -07:00
Emilio Cobos Álvarez
7961a431ef
Bug 1759163 - Add origin trial support for worklets. r=asuth
...
Move the trial getter to nsIGlobalObject, make every implementation
provide a reasonable value, and add a test.
Differential Revision: https://phabricator.services.mozilla.com/D140848
2022-03-15 17:50:03 +00:00
Jens Stutte
ea1d009c3f
Bug 1752120: Null out the mWorkerPrivate on WorkerGlobalScopeBase when a worker ends. r=dom-worker-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D138442
2022-02-16 15:48:43 +00:00
nchevobbe
ce39e48888
Bug 1674336 - Add WorkerScope#clearConsoleEvents. r=asuth.
...
This will be used from the DevTools webconsole to clear events when
the user hits the clear button in the UI.
A test for the console is added in the next patch of the queue.
Differential Revision: https://phabricator.services.mozilla.com/D138314
2022-02-10 17:16:24 +00:00
Iulian Moraru
2fb7711a91
Backed out 2 changesets (bug 1754477, bug 1674336) for causing devtools failures on browser_webconsole_console_logging_workers_api.js.
...
Backed out changeset c3fd724b3ba9 (bug 1754477)
Backed out changeset f7ad3ba32926 (bug 1674336)
2022-02-10 14:07:51 +02:00
nchevobbe
f737759a1b
Bug 1674336 - Add WorkerScope#clearConsoleEvents. r=asuth.
...
This will be used from the DevTools webconsole to clear events when
the user hits the clear button in the UI.
A test for the console is added in the next patch of the queue.
Differential Revision: https://phabricator.services.mozilla.com/D138314
2022-02-10 10:45:02 +00:00
Eden Chuang
4de896f8ef
Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerGlobalScopeBase. r=dom-worker-reviewers,asuth
...
Depends on D132708
Differential Revision: https://phabricator.services.mozilla.com/D132709
2022-01-25 08:53:00 +00:00
Kagami Sascha Rosylight
0096bc4b41
Bug 1750818 - Convert TestUtils to a namespace r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D136268
2022-01-19 06:45:35 +00:00
Kagami Sascha Rosylight
624a3640bf
Bug 1669552 - Add TestUtils support for WPT r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D135942
2022-01-14 18:36:59 +00:00
Tom Schuster
35d22f07bc
Bug 1746186 - Don't observablely sniff objects in reportError(). r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D133916
2021-12-20 21:29:08 +00:00
Norisz Fay
5edb88e27a
Backed out 9 changesets (bug 1744025) for causing wpt failures on CheckedUnsafePtr.h CLOSED TREE
...
Backed out changeset 89dca4fc5940 (bug 1744025)
Backed out changeset 7aa395dcdbe4 (bug 1744025)
Backed out changeset 1580a4ea1a85 (bug 1744025)
Backed out changeset af171636a87f (bug 1744025)
Backed out changeset a5edfa1c9cd6 (bug 1744025)
Backed out changeset 8abd6ba69815 (bug 1744025)
Backed out changeset cfb822df5b3f (bug 1744025)
Backed out changeset 5598943a94fd (bug 1744025)
Backed out changeset 43186fbbf8b4 (bug 1744025)
2021-12-15 18:46:01 +02:00
Eden Chuang
fe725492f9
Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerGlobalScopeBase. r=dom-worker-reviewers,asuth
...
Depends on D132708
Differential Revision: https://phabricator.services.mozilla.com/D132709
2021-12-15 13:48:17 +00:00
Andrew Osmond
0fa01671ab
Bug 1738971 - Part 5. Implement AnimationFrameProvider for dedicated workers. r=dom-worker-reviewers,gfx-reviewers,jgilbert,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D130266
2021-12-10 02:57:51 +00:00
Csoregi Natalia
1c7cae16d7
Backed out 17 changesets (bug 1738971, bug 1736177) for bp-hybrid failures and others. CLOSED TREE
...
Backed out changeset 828633114de2 (bug 1736177 )
Backed out changeset 5be8557c4721 (bug 1736177 )
Backed out changeset 49f8b4205a46 (bug 1736177 )
Backed out changeset 2610d4464ad5 (bug 1736177 )
Backed out changeset 6d6c78c31c28 (bug 1736177 )
Backed out changeset d55f1ee88bb9 (bug 1736177 )
Backed out changeset bf588f8ffcf1 (bug 1736177 )
Backed out changeset 86f6f6d86c6c (bug 1736177 )
Backed out changeset f400c75c5829 (bug 1736177 )
Backed out changeset 4a34124d5f4e (bug 1736177 )
Backed out changeset 70aff7fcd001 (bug 1736177 )
Backed out changeset db2347ee8147 (bug 1736177 )
Backed out changeset 3dde5ddb65e5 (bug 1738971)
Backed out changeset 894ba6b7b68f (bug 1738971)
Backed out changeset dc4503052cf1 (bug 1738971)
Backed out changeset d9aef3e9797e (bug 1738971)
Backed out changeset 562a1e8e5ac3 (bug 1738971)
2021-12-10 01:13:23 +02:00
Andrew Osmond
886902087b
Bug 1738971 - Part 5. Implement AnimationFrameProvider for dedicated workers. r=dom-worker-reviewers,gfx-reviewers,jgilbert,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D130266
2021-12-09 19:25:23 +00:00
Sandor Molnar
68afd87d02
Backed out 8 changesets (bug 1744025) for causing bp-hybrid bustages in dom/clients/api/Clients.cpp. CLOSED TREE
...
Backed out changeset b6452430763d (bug 1744025)
Backed out changeset 46e9f06636da (bug 1744025)
Backed out changeset 913cdee4824f (bug 1744025)
Backed out changeset e1bc4e2066c7 (bug 1744025)
Backed out changeset e6b99af4b7ca (bug 1744025)
Backed out changeset e9b749f80ec2 (bug 1744025)
Backed out changeset 26d3176a00ef (bug 1744025)
Backed out changeset 2c8941fdcee5 (bug 1744025)
2021-12-08 01:30:06 +02:00
Jens Stutte
d53627390a
Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerGlobalScopeBase. r=dom-worker-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D132709
2021-12-07 16:47:15 +00:00
Andrew Osmond
32fecf4098
Bug 1657375 - Cache the principal hash value for OffscreenCanvas on worker threads. r=dom-worker-reviewers,asuth,smaug
...
We cannot access ClientWebGLContext::mCanvasElement or its associated
nsIPrincipal off the main thread. We use the hash value of the principal
to limit how many WebGL contexts a single domain can create. We can
compute this when the worker is initialized for OffscreenCanvas worker
instances.
Differential Revision: https://phabricator.services.mozilla.com/D128530
2021-11-09 20:16:05 +00:00
Andrew Osmond
3c9cebcd6e
Bug 1735874 - Fix broken resist fingerprinting with OffscreenCanvas on worker threads. r=dom-worker-reviewers,asuth,smaug
...
OffscreenCanvas can be run on worker threads and is disabled by default.
The existing code trips asserts because we try to use the document,
which is main thread only, directly on the worker thread. This patch
caches the resist fingerprinting status for the worker when it is
created for future reference.
Differential Revision: https://phabricator.services.mozilla.com/D128510
2021-11-09 20:16:04 +00:00
Gerald Squelart
5399574d8b
Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
...
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.
Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-08 23:59:35 +00:00
Cristian Tuns
1aeac93d23
Backed out 5 changesets (bug 1738627) for causing xpcshell failures on test_ext_geckoProfiler_schema.js CLOSED TREE
...
Backed out changeset 42d385d7da97 (bug 1738627)
Backed out changeset edeb3a338954 (bug 1738627)
Backed out changeset 98f02e35134d (bug 1738627)
Backed out changeset 711daa6dd24b (bug 1738627)
Backed out changeset 49e12753a40c (bug 1738627)
2021-11-05 05:12:28 -04:00
Gerald Squelart
7fa084ae7c
Bug 1738627 - profiler_thread_is_being_profiled_for_markers - r=canaltinova
...
`profiler_thread_is_being_profiled` is used a lot for markers, so it makes sense to have a specialized version, which is a bit shorter, and lives in ProfilerMarkers.h.
Differential Revision: https://phabricator.services.mozilla.com/D130009
2021-11-05 05:52:28 +00:00
Gerald Squelart
df50ece611
Bug 1735697 - Remove profiler_can_accept_markers(), use profiler_thread_is_being_profiled() instead - r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D128577
2021-10-18 23:11:30 +00:00
Tom Schuster
8e643f5b0b
Bug 1734320 - Expose structuredClone in Sandbox. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D127641
2021-10-06 16:10:44 +00:00
Tom Schuster
6f20efa2a0
Bug 1722576 - Fix clang-tidy build error
...
Differential Revision: https://phabricator.services.mozilla.com/D126921
2021-09-29 14:11:42 +00:00
Tom Schuster
5d023856bb
Bug 1722576 - Rename PostMessageOptions to StructuredSerializeOptions. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D126717
2021-09-29 12:48:17 +00:00
Tom Schuster
5cc3ab5f12
Bug 1722576 - Implement self.structuredClone(). r=smaug,sfink,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D122339
2021-09-29 12:48:17 +00:00
Sandor Molnar
fe9f55e2fb
Backed out 2 changesets (bug 1722576) for causing wpt failures in structured-clone.any.worker.html
...
Backed out changeset d31a1c199922 (bug 1722576)
Backed out changeset 4d0e3d6a1960 (bug 1722576)
2021-09-28 22:59:51 +03:00
Tom Schuster
6cec896db2
Bug 1722576 - Rename PostMessageOptions to StructuredSerializeOptions. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D126717
2021-09-28 17:09:18 +00:00
Tom Schuster
06bda1bd5c
Bug 1722576 - Implement self.structuredClone(). r=smaug,sfink,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D122339
2021-09-28 17:09:17 +00:00
Kagami Sascha Rosylight
f07b669434
Bug 1726157 - Add GetStorageAccess to nsIGlobalObject r=asuth,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D123145
2021-09-24 06:06:51 +00:00
Marian-Vasile Laza
6f50b58711
Backed out changeset be76cb91e85a (bug 1726157) for causing xpcshell failures on test_ext_cache_api.js. CLOSED TREE
2021-09-23 13:04:56 +03:00
Kagami Sascha Rosylight
2094595971
Bug 1726157 - Add GetStorageAccess to nsIGlobalObject r=asuth,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D123145
2021-09-23 08:49:56 +00:00