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
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
arthur.iakab
af8e458c5f
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Sylvestre Ledru
c82ea97226
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-24 09:59:17 +00:00
Noemi Erli
6430d23336
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
c7cb5521d1
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-08 20:22:18 +00:00
Haik Aftandilian
268a1d9df4
Bug 1546544 - Reduce navigator.hardwareConcurrency to account for TCSM r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D29437
--HG--
extra : moz-landing-system : lando
2019-05-07 22:16:28 +00:00
arthur.iakab
62df572c1c
Backed out 2 changesets (bug 1546544) for causing mochitest-chrome test failures on automation.py CLOSED TREE
...
Backed out changeset d4b67960c0f9 (bug 1546544)
Backed out changeset fda45db5f8e9 (bug 1546544)
2019-05-07 05:38:37 +03:00
Haik Aftandilian
a2d7f3a328
Bug 1546544 - Reduce navigator.hardwareConcurrency to account for TCSM r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D29437
--HG--
extra : moz-landing-system : lando
2019-05-06 06:09:11 +00:00
Andrea Marchesini
0b8eabfa62
Bug 1546576 - Canceling workers during xpcom-shutdown, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D28595
--HG--
extra : moz-landing-system : lando
2019-04-24 17:18:29 +00:00
Brian Hackett
b851bf262e
Bug 1535071 - Use the debugger global scope for worker error reporting if necessary, r=smaug,baku.
...
Differential Revision: https://phabricator.services.mozilla.com/D24270
--HG--
extra : moz-landing-system : lando
2019-03-25 09:26:48 +00:00
Boris Zbarsky
10d7ccf23e
Bug 1535384 part 5. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY for mutation callbacks. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23776
--HG--
extra : moz-landing-system : lando
2019-03-19 15:14:11 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Andrea Marchesini
bbbb6b3c68
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 11 - windows/workers/documents must keep the current cookie settings and ignore changes, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D18960
--HG--
extra : moz-landing-system : lando
2019-03-08 09:03:38 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
78f43c5536
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 11 - windows/workers/documents must keep the current cookie settings and ignore changes, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D18960
--HG--
extra : moz-landing-system : lando
2019-03-07 10:18:45 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
cc423cd937
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 11 - windows/workers/documents must keep the current cookie settings and ignore changes, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D18960
--HG--
extra : moz-landing-system : lando
2019-03-06 17:03:33 +00:00
Ehsan Akhgari
6b550507ec
Bug 1532402 - Part 3: Pass a principal pointer nsContentUtils::ShouldResistFingerprinting() in the user-agent spoofing code for the rest of the Navigator properties; r=baku
...
Depends on D21991
Differential Revision: https://phabricator.services.mozilla.com/D21992
--HG--
extra : moz-landing-system : lando
2019-03-05 23:13:22 +00:00
Brindusan Cristian
3707df1311
Backed out 4 changesets (bug 1532402) for assertion failures at Navigator.cpp. CLOSED TREE
...
Backed out changeset 135025f2d2c0 (bug 1532402)
Backed out changeset 6df23def6c36 (bug 1532402)
Backed out changeset ed1e303084c4 (bug 1532402)
Backed out changeset 589d985b3cfe (bug 1532402)
2019-03-05 21:41:08 +02:00
Ehsan Akhgari
b9adb18a0b
Bug 1532402 - Part 3: Pass a principal pointer nsContentUtils::ShouldResistFingerprinting() in the user-agent spoofing code for the rest of the Navigator properties; r=baku
...
Depends on D21991
Differential Revision: https://phabricator.services.mozilla.com/D21992
--HG--
extra : moz-landing-system : lando
2019-03-05 15:53:57 +00:00
Brian Hackett
448cf790fe
Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
2019-03-03 07:05:07 -10:00
Daniel Varga
74f08acf9b
Backed out changeset 4047bcadec73 (bug 1522244) for mochitest failure at devtools/client/debugger/new/test/mochitest/browser_dbg-worker-scopes.js a=backout
...
--HG--
extra : rebase_source : 3ad963907a2364fa351e67b957f49d3d754e5efb
2019-03-02 00:01:01 +02:00
Brian Hackett
75c921ea5c
Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
...
--HG--
extra : rebase_source : cdd1d02a69a17709aff17ac2d6d13f6f0039d5bb
2019-02-28 06:24:46 -10:00
Andreea Pavel
3f0c70001c
Backed out 2 changesets (bug 1526557, bug 1522244) for failing xpcshell at test_framebindings-02.js on a CLOSED TREE
...
Backed out changeset 67bef7d63d86 (bug 1526557)
Backed out changeset 09f23a363606 (bug 1522244)
2019-02-28 03:27:12 +02:00
Brian Hackett
337b884850
Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
...
--HG--
extra : rebase_source : 2af71f479062e128c1a01d772a19840f87dca4b0
2019-02-27 09:42:58 -10:00
Luke Wagner
fc9dea6cc7
Bug 1520931
- Remove asm.js cache hooks JS API (r=bbouvier)
...
--HG--
extra : rebase_source : aac95865af1b87970d49b89edbec0acad6c74219
2019-02-11 11:41:57 -06:00
Chris Peterson
8e1848413c
Bug 1507049 - Rename MOZ_CRASH_UNSAFE_OOL MOZ_CRASH_UNSAFE. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D18515
--HG--
extra : rebase_source : e8ef6eec0f7542bb381e2da81ae6431b2828aabc
extra : source : a8c262b4a2579e6def1b3a5a8220f5197b443e34
2019-02-03 00:09:37 -08:00
Jeff Walden
59aaefa333
Bug 1522350 - Move JS::ContextOptions{,Ref} to a new js/public/ContextOptions.h header to further slim jsapi.h. r=arai
...
--HG--
rename : js/src/jsapi.h => js/public/ContextOptions.h
2019-01-23 16:56:56 -08:00
Jon Coppeard
de2d55ee8b
Bug 1521524 - Replace some uses of the 'API' GC reason with more informative ones r=sfink
2019-01-24 12:34:55 +00:00
Benjamin Bouvier
b6e305766e
Bug 1509441: Unify wasm compilation switches under the --wasm-compiler umbrella; r=lth
...
--HG--
extra : rebase_source : 47a370c182bacc170bf83be3e2b3dbdbc488a787
2019-01-23 12:33:01 +01:00
Lars T Hansen
d66fb136aa
Bug 1508561 - Disentangle support for reftypes and gc. r=jseward
...
This does the following:
- It introduces a controlling ifdef ENABLE_WASM_REFTYPES that enables
exactly those features that are in the reftypes proposal, excluding
those in the gc proposal. Any remaining features (namely, ref.eq,
(ref T) types, struct types) are still under ENABLE_WASM_GC control.
ENABLE_WASM_GC requires ENABLE_WASM_REFTYPES and this is checked.
- It introduces a new TestingFunctions predicate, wasmReftypesEnabled,
that distinguishes reftype-proposal support from gc-proposal
support. We keep wasmGcEnabled to test for gc-proposal support.
- It segregates test cases so that gc-proposal relevant tests are in
their own files, and tests relevant to the reftypes-proposal are now
guarded by wasmReftypesEnabled.
- It renames the predicate HasGcSupport() as HasReftypesSupport(),
since that is what the predicate tests for.
- It has a drive-by fix for the DEBUG-only function wasm::Classify()
to properly put ref.null and ref.is_null under ifdef control.
Reftypes will soon be enabled unconditionally in Nightly (once we can
trace pointers from Ion frames) while gc-types will remain conditional
until Ion supports all the new instructions for struct types. Therefore:
- The command line switch and about:config option are still called
--wasm-gc and j.o.wasm_gc, respectively, which is fine since they will
fairly soon control only gc-proposal features.
- Internal names still use "Gc" rather than "Reftypes", eg,
HasGcTypes, wasmGc_, and so on. This is most appropriate since it
reduces the scope of the patch and these names will pertain mainly
to the gc feature in the future.
--HG--
extra : rebase_source : 51cf3bfe67da594e89195472e4ce1ccfa36c146d
2018-12-18 17:26:32 +01:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Margareta Eliza Balazs
413dd3a1fa
Merge inbound to mozilla-central. a=merge
2018-12-21 11:37:24 +02:00
Luke Wagner
dc93733616
Bug 1507939 - Baldr: add javascript.options.wasm_verbose (r=lth)
...
--HG--
extra : rebase_source : 7405ee0bcc6a12fe8bbe797919a6e76d01d3c172
2018-12-20 20:51:11 -06:00
Blake Kaplan
4b7924d93b
Bug 1509585 - Remove some redundant worker shutdown code. r=asuth
...
This code races with the WeakWorkerRef shutdown code that sets both `mWorkerState` and `mWorkerPrivate` (though on different threads). This patch is based on the observation that except for failure cases, we can't get to `RuntimeServiceWorker::UnregisterWorker` without having already notified the `WorkerRef`s.
Differential Revision: https://phabricator.services.mozilla.com/D14176
--HG--
extra : moz-landing-system : lando
2018-12-20 18:28:50 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
c292b31a93
Bug 1438945 - Part 9: RemoteWorker in SharedWorkerManager. r=asuth
...
--HG--
extra : rebase_source : 07a23a3f76ef06d76a456ba785186018e6fb77f1
2018-11-19 15:18:33 -08:00
Andrea Marchesini
9c8f8ff9cc
Bug 1438945 - Part 4: errors and communications. r=asuth
...
--HG--
extra : rebase_source : a73007e48d52c47c698dd2545ae4d61806a3ab53
2018-11-19 15:18:21 -08:00
Andrea Marchesini
0640b7884f
Bug 1438945 - Part 3: SharedWorkerService and SharedWorkerManager. r=asuth
...
--HG--
extra : rebase_source : d6b247d0c6a1eb4074010c8b6baaff9fc1e01d87
2018-11-19 15:18:21 -08:00
Andrea Marchesini
1bf562b370
Bug 1438945 - Part 2: PSharedWorker protocol. r=asuth
...
--HG--
extra : rebase_source : 1ec6d2c9fc8dcffb9aa4958d81784408090df534
2018-11-19 15:18:20 -08:00
Andrea Marchesini
b0cbc4dcf9
Bug 1438945 - Part 1: Moving SharedWorker in a separate folder. r=asuth
...
--HG--
rename : dom/workers/SharedWorker.cpp => dom/workers/sharedworkers/SharedWorker.cpp
rename : dom/workers/SharedWorker.h => dom/workers/sharedworkers/SharedWorker.h
extra : rebase_source : a57218e0f428eb228c6d469f332872d51051cc43
2018-11-19 15:18:20 -08:00
Luke Wagner
00940fee0d
Bug 1505632 - Baldr: correctly propagate AbortError from consume stream body operation (r=lth,baku,Ms2ger)
2018-11-16 10:32:20 -06:00
Yaron Tausky
4db19652d1
Bug 1504638 - Put some of WorkerPrivate's members behind thread access guards r=asuth,baku,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10368
--HG--
extra : moz-landing-system : lando
2018-11-13 20:22:40 +00:00
Ryan Hunt
9cd3dc8521
Bug 1501196 - Ensure RuntimeService::Shutdown() is always called. r=baku a=reland
...
It's possible for RuntimeService to be created after 'xpcom-shutdown' has fired. In this case, it
will receive 'xpcom-shutdown-threads' and perform Cleanup() but not Shutdown(). This means that
mShuttingDown will not be set to 'true', but mIdleThreadTimer will be destroyed. This can cause
crashes if a NoteIdleThread callback runs after Cleanup(). This has been observed to happen in
xpcshell tests.
I think the easiest way to handle this is to manually call Shutdown() in Cleanup() when we
see that mShuttingDown == false. This means that Shutdown() might be called in GetOrCreateService()
if we fail to create the service, but it looks like the code can handle this.
Differential Revision: https://phabricator.services.mozilla.com/D10288
--HG--
extra : source : e28fa79bc2f94ca3b72456b47353f2e2dda8da1a
extra : amend_source : f09508b5c62fb1fe4b5997f822b5d4e5f7ef8076
2018-10-30 11:51:12 -05:00
Margareta Eliza Balazs
39cb1e96cf
Backed out changeset e28fa79bc2f9 (bug 1501196) for suspicion of causing Bug 1503757. a=backout
2018-11-01 11:22:11 +02:00
Ryan Hunt
76554e50cb
Bug 1501196 - Ensure RuntimeService::Shutdown() is always called. r=baku
...
It's possible for RuntimeService to be created after 'xpcom-shutdown' has fired. In this case, it
will receive 'xpcom-shutdown-threads' and perform Cleanup() but not Shutdown(). This means that
mShuttingDown will not be set to 'true', but mIdleThreadTimer will be destroyed. This can cause
crashes if a NoteIdleThread callback runs after Cleanup(). This has been observed to happen in
xpcshell tests.
I think the easiest way to handle this is to manually call Shutdown() in Cleanup() when we
see that mShuttingDown == false. This means that Shutdown() might be called in GetOrCreateService()
if we fail to create the service, but it looks like the code can handle this.
Differential Revision: https://phabricator.services.mozilla.com/D10288
--HG--
extra : rebase_source : 3c4a9cb76b81c4aef87b6373548e9da8ca64075e
extra : amend_source : d17d7a0e35e8bd9fcfbbd567e387d9af857bfd8a
2018-10-30 11:51:12 -05:00
Ehsan Akhgari
5fef8e924c
Bug 1501978 - Part 1: Stop honouring the browser.contentblocking.enabled pref in Gecko r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D10074
--HG--
extra : moz-landing-system : lando
2018-10-30 14:30:15 +00:00
Andrea Marchesini
4439acd683
Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb
2018-10-23 08:17:13 +02:00