Commit Graph

4235 Commits

Author SHA1 Message Date
Ben Kelly
083c06c238 Bug 1462772 P1 Add a fallible nsIGlobalObject::GetServiceWorkerRegistration() method. r=mrbkap 2018-07-02 07:44:18 -07:00
Jeff Gilbert
5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez
c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Chris Peterson
2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Ben Kelly
05c034e494 Bug 1468853 Note inherited controller in the parent process when the service worker e10s pref is flipped. r=mrbkap 2018-06-22 07:22:59 -07:00
Tom Schuster
7c01dffca0 Bug 1469540 - Remove option to disable Array.prototype.values. r=jandem
--HG--
extra : rebase_source : 5b935db0e58c076b289a7b5a3a8a43fe6e9446b3
2018-06-05 14:57:13 +02:00
Andreea Pavel
3c701634e0 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-20 14:28:15 +03:00
Andrea Marchesini
cd29b72ceb Bug 1469579 - WorkerRef in ScriptLoader, r=bkelly 2018-06-19 13:08:12 -04:00
Tarek Ziadé
a895a7efea Bug 1464571 - fixes DOM Worker performance counters - r=baku,froydnj
Now uses StaticPrefs instead of DOMPrefs, and how we count dispatches for Workers.

MozReview-Commit-ID: DTumwcI5bG

--HG--
extra : rebase_source : 0cf5312e714fb260c01df647b2cd1fcc28ffc415
2018-06-19 16:14:06 +02:00
Andrea Marchesini
657f34f500 Bug 1455242 - Get rid of SimpleHolder and replace it with WorkerRef, r=asuth 2018-06-18 16:37:21 -04:00
Andrea Marchesini
037d3a703f Bug 1455256 - Port more components to WorkerRef - part 1 - WorkerProxyToMainThreadRunnable, r=asuth 2018-06-18 16:37:21 -04:00
Andrea Marchesini
78739a1b5e Bug 1468036 - Fix a warning in RuntimeService::ClampedHardwareConcurrency(), r=sylvestre 2018-06-13 11:33:31 -07:00
Andrea Marchesini
d4762606f4 Bug 1466061 - unknown blob URLs, when opened as top-level domain, should show an error page - fixing tests, r=me 2018-06-13 10:03:55 -07:00
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Narcis Beleuzu
cf464eabfe Merge inbound to mozilla-central. a=merge 2018-06-06 20:00:09 +03:00
Karl Tomlinson
9e0c1c7c2b bug 1442776 make CycleCollectedJSContext accessible from JSContext private r=peterv
Inheriting PerThreadAtomCache on CycleCollectedJSContext permits use of
static_cast, avoiding one level of indirection compared to adding a
CycleCollectedJSContext* to PerThreadAtomCache.

PerThreadAtomCache is over 18kB, and so WorkerJSContext and WorkletJSContext
are moved from the stack to the heap.

MozReview-Commit-ID: 6jdJeZcviK4

--HG--
extra : rebase_source : 3c2accb71faf3f017a44c405ae0484e57aaf039c
2018-05-10 17:04:12 +12:00
Jan de Mooij
9389383f2c Bug 1466083 part 7 - Replace GetCompartmentZone with GetRealmZone. r=luke 2018-06-06 12:55:50 +02:00
Ben Kelly
4f4a0da820 Bug 1465670 P8 Convert WorkerPrivate::LoadScriptAsPartOfLoadingServiceWorkerScript() to simply IsLoadWorkerScript(). r=asuth 2018-06-05 10:49:13 -07:00
Ben Kelly
dc04aba511 Bug 1465670 P1 Make importScripts() called in a service worker script after install throw NetworkError. r=asuth 2018-06-05 10:49:11 -07:00
Miko Mynttinen
4c85ef17cc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
shindli
936dd8d764 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-04 01:07:15 +03:00
arthur.iakab
7e765f798b Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Andreea Pavel
4ced6e8b2d Merge mozilla-central to autoland. a=merge 2018-06-03 07:27:01 +03:00
Andrea Marchesini
7ba8b77e07 Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot
This patch splits FontTableURI and BlobURL in 2 classes:
FontTableURIProtocolHandler and BlobURLProtocolHandler
both under mozilla::dom.

It also removes a memory reporter because that report is already covered by the
BlobURL one.

--HG--
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/file/BlobURLProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/file/BlobURLProtocolHandler.h
2018-06-02 15:51:42 +02:00
Jan de Mooij
6ac025d047 Bug 1464772 part 1 - Make JS_GetIsSecureContext take a realm instead of compartment and move to JS namespace. r=bz 2018-06-03 12:22:28 +02:00
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Jan de Mooij
f3fe2d13d4 Bug 1465472 - Remove the atoms realm/compartment. r=jonco
Some of the less trivial changes:

* When we allocated a symbol, we used the atom realm's RNG to create a hash code [0]. Instead of this I added a RNG for this to the runtime.

* IsCompilingWasm returned true if the JitContext's realm is nullptr, but that's now also true when we initialize the trampolines stored in the atoms zone. To fix that I added a CompileZone* to JitContext, in addition to the CompileRuntime and CompileRealm, and we now check the zone instead of the realm in IsCompilingWasm.

* JSContext::hasEnteredRealm is only called in DEBUG builds so I made hasEnteredRealm and enterRealmDepth_ #ifdef DEBUG.
2018-05-31 12:53:26 +02:00
Steve Fink
0680fed494 Bug 1464266 - Rename GCForReason to NonIncrementalGC, r=jonco
--HG--
extra : topic : GCForReason
extra : rebase_source : e81bf7bb8ca0824f8b63f25a46ccbe26c4002325
2018-05-24 16:19:18 -07:00
Andrea Marchesini
1273dc5391 Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot 2018-05-30 21:21:17 +02:00
Jan de Mooij
45e968b1dd Bug 1464134 part 8 - Make IterateHeapUnbarriered and related code use realms instead of compartments. r=jonco 2018-05-30 20:14:19 +02:00
Kris Maglione
e6d77f8270 Bug 1460610: Fix content process whitelist for profile extensions when none are present at startup. r=aswan
Also removes the stub workerbootstrap extensions, which previously allowed
this to work for Mochitest extensions.

MozReview-Commit-ID: LPlk8qIgJmr

--HG--
extra : rebase_source : 329f7fe11dde7a2713652591ac735b0d745070c8
extra : amend_source : 125481f030980c610217a9a1f6e51d592bda3c65
2018-05-19 17:23:01 -07:00
Csoregi Natalia
2f779be8d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-02 01:03:45 +03:00
Markus Stange
f6fb0e012d Bug 1462784 - Add idle annotations for DOM worker threads. r=froydnj
MozReview-Commit-ID: 7WM1ALzhDzY

--HG--
extra : rebase_source : a9370d83b86e77243a10aae103d8b85b4469f5bf
2018-05-21 02:37:45 -04:00
Csoregi Natalia
fc2ed6e92a Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Markus Stange
082a602ba6 Bug 1462784 - Add idle annotations for DOM worker threads. r=froydnj
MozReview-Commit-ID: 7WM1ALzhDzY

--HG--
extra : rebase_source : 0461f8c5facfc90357449d0b904259203a16f8eb
2018-05-21 02:37:45 -04:00
Noemi Erli
1fd69fa2bc Backed out 18 changesets (bug 1462784) for failures in devtools/client/performance/test/unit/test_tree-model-08.js on a CLOSED TREE
Backed out changeset a74d36598442 (bug 1462784)
Backed out changeset c8192175f360 (bug 1462784)
Backed out changeset cde492240e99 (bug 1462784)
Backed out changeset 8c8d30fa406c (bug 1462784)
Backed out changeset ad3802ffb780 (bug 1462784)
Backed out changeset 2fe10732076c (bug 1462784)
Backed out changeset 268a72b7c3c4 (bug 1462784)
Backed out changeset 4055eb6c3bc6 (bug 1462784)
Backed out changeset 3901070e2e60 (bug 1462784)
Backed out changeset 2faf787fbbdf (bug 1462784)
Backed out changeset 8f06963c7c6f (bug 1462784)
Backed out changeset 036e6f64e224 (bug 1462784)
Backed out changeset e670f156a603 (bug 1462784)
Backed out changeset cd39588aece4 (bug 1462784)
Backed out changeset 2ac65d100fa2 (bug 1462784)
Backed out changeset ea05ff70a51d (bug 1462784)
Backed out changeset 8a06c0ba42f7 (bug 1462784)
Backed out changeset 52ed9a039ad2 (bug 1462784)
2018-06-01 01:06:29 +03:00
Noemi Erli
614b78ae36 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-01 00:58:09 +03:00
Markus Stange
560459fe6d Bug 1462784 - Add idle annotations for DOM worker threads. r=froydnj
MozReview-Commit-ID: 7WM1ALzhDzY

--HG--
extra : rebase_source : 93f1bea71694992e4d344bca6a272abf0e66f719
2018-05-21 02:37:45 -04:00
Kris Maglione
f8aeb3dbfc Bug 1462223: Remove unnecessary/unused bootstrap scope setup code. r=aswan
This also removes the workerbootstrap test extension, which is no longer used,
and contains the last references to the Worker and ChromeWorker bootstrap
globals.

MozReview-Commit-ID: 8YWReXMqX5W

--HG--
extra : rebase_source : b0aa59b2b5e6a08f4be803e828bd507f894e4a19
2018-05-19 14:03:50 -07:00
Jan de Mooij
f820ec7afa Bug 1461938 part 5 - Some atoms compartment/realm related changes. r=jonco 2018-05-18 15:18:23 +02:00
Jan de Mooij
575aec161b Bug 1461677 - Rename compartment to realm in the memory reporting code. r=njn 2018-05-17 16:15:18 +02:00
Jan de Mooij
17f3983d0f Bug 1461605 part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz 2018-05-17 10:59:45 +02:00
Jan de Mooij
80e44e8003 Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
Adrian Wielgosik
c501e3beb0 Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
MozReview-Commit-ID: LKRnyDPNlle

--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Andrea Marchesini
653e46c11c Bug 1455956 - Get rid of dom/workers/test/test_extensionBootstrap.xul, r=kmag 2018-05-10 16:05:41 +02:00
Andrea Marchesini
b5118e1ddf Bug 1302449 - Remove the "referrer" directive in CSP, r=ckerschb 2018-05-09 13:15:08 +02:00
Andreas Farre
21d26b0afe Bug 1450066 - Fall back to 0 if setInterval interval not supplied. r=bkelly
--HG--
extra : rebase_source : 55bacede7cacd5b18f710a303acf077e777e817b
2018-05-03 06:20:00 +03:00
Ben Kelly
c6174cef5a Bug 1458970 Avoid accessing mClientSource when a worker is Terminating in more places. r=baku 2018-05-04 06:35:36 -07:00
Andrea Marchesini
b4b5d38767 Bug 1458883 - Remove File.lastModifiedDate, r=qdot 2018-05-04 14:39:53 +02:00
Andrea Marchesini
7797a22378 Bug 1429127 - Workers should allow the loading of file URLs if they are on the same directory of the loader - tests, r=smaug 2018-05-03 17:42:58 +02:00
Andrea Marchesini
34a52976b2 Bug 1429127 - Workers should allow the loading of file URLs if they are on the same directory of the loader, r=smaug 2018-05-03 17:42:58 +02:00
Andrea Marchesini
b4926a31d2 Bug 1458836 - No needs to inform WorkerHolders when in Closing state, r=bkelly 2018-05-03 17:03:13 +02:00
Ben Kelly
00d42d9d6b Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku 2018-05-02 06:29:26 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Ben Kelly
dd31895639 Bug 1457187 P2 Call NoteTerminating() from WorkerPrivate::NotifyInternal(). r=baku 2018-04-26 09:18:01 -07:00
Andrea Marchesini
1fb956b640 Bug 1457073 - Fix a leak in WorkerEventTarget::Dispatch() about how already_AddRefed<> params are handled, r=smaug 2018-04-26 11:41:15 +02:00
Tarek Ziadé
90bafd1f42 Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
PerformanceCounters are currently disabled in two ways:

- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA

In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.

The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.

MozReview-Commit-ID: 47t2M1O13aH

--HG--
extra : rebase_source : e129e1829f1dc37c019e50e156474c4876d6d6cb
2018-04-24 22:03:06 +02:00
Kershaw Chang ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E)
0aa410f629 Bug 1423495 - Part3: Add PerformanceServerTiming to test_interface.js, r=baku
MozReview-Commit-ID: 663c9sudEIR

--HG--
extra : rebase_source : 9c7a81db01758e4f6e35236a5e7ce40557c9f2a1
2018-01-10 04:02:00 +01:00
Karl Tomlinson
c4ee57e5e6 bug 1455210 call CycleCollectedJSContext::Get() only once in EnterDebuggerEventLoop() r=baku
The WorkerJSContext is created and destroyed after entry and before exit from
WorkerThreadPrimaryRunnable::Run().  WorkerPrivate::EnterDebuggerEventLoop()
is called only while WorkerThreadPrimaryRunnable::Run is on the stack, and so
the CycleCollectedJSContext will not change.

MozReview-Commit-ID: HMJ8fpKC6E3

--HG--
extra : rebase_source : d481f4513f9e5ed29224ce01534fa3de95bc7ae4
2018-04-16 19:43:56 +12:00
Karl Tomlinson
8768dc6854 bug 1455210 remove misleading CycleCollectedJSContext null checks r=baku
The caller of WorkerPrivate::DoRunLoop() keeps the WorkerJSContext alive, and
so there will always be a CycleCollectedJSContext in DoRunLoop.

WorkerPrivate::EnterDebuggerEventLoop() assumes that
WorkerPrivate::GetJSContext() returns a JSContext, and so
EnterDebuggerEventLoop also must only be called while DoRunLoop is on the
stack and therefore keeping the WorkerJSContext alive.

MozReview-Commit-ID: EJgt73LsTx1

--HG--
extra : rebase_source : 257456bf7df5e84dfdf74cd136fd79d1698000d3
2018-04-16 19:33:55 +12:00
Kris Maglione
877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Boris Zbarsky
0ba35d199f Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Boris Zbarsky
b7f2b6976a Bug 1429903 part 3. Remove C++ uses of nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 4NdssvnWn0H
2018-04-20 00:49:30 -04:00
Kris Maglione
219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Andrea Marchesini
20806e024b Bug 1455025 - Cleanup some private methods in WorkerPrivate.h, r=asuth 2018-04-19 00:02:08 +02:00
Andrea Marchesini
ab95eabf36 Bug 1454618 - FileReaderSync must work also after a self.close(), r=asuth 2018-04-18 10:02:29 +02:00
Andrea Marchesini
423880eafd Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Andrea Marchesini
01dfdace45 Bug 1450644 - Better shutdown approach for Workers - part 2 - Timeout + ControlRunnable, r=asuth 2018-04-17 20:51:04 +02:00
Andrea Marchesini
6866300bc3 Bug 1450644 - Better shutdown approach for Workers - part 1 - CancelingRunnable, r=asuth 2018-04-17 20:51:03 +02:00
Andrea Marchesini
8cb037ae07 Bug 1450644 - WorkerRef should make APIs able to work until the worker is completely terminated - part 1 - MessagePort, r=asuth 2018-04-17 20:51:02 +02:00
Jim Blandy
e8bdf3d072 Bug 1454540 - Remove WorkerPrivate::DispatchPrivate, and give WorkerPrivate::Dispatch a default argument instead. r=baku 2018-04-16 20:08:26 -07:00
Tiberius Oros
78bac61f63 Backed out 7 changesets (bug 1450644, bug 1454633) for for failing browser_storage_permission.js on a CLOSED TREE
Backed out changeset f4989e0da221 (bug 1454633)
Backed out changeset 08239799d43e (bug 1450644)
Backed out changeset cbe3ad4833b6 (bug 1450644)
Backed out changeset 0d2088370d0c (bug 1450644)
Backed out changeset 246fb3ee14cd (bug 1450644)
Backed out changeset 629e499c0f75 (bug 1450644)
Backed out changeset ed93e3547096 (bug 1450644)
2018-04-18 01:10:26 +03:00
Andrea Marchesini
848a6e4716 Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Andrea Marchesini
21693d26a6 Bug 1450644 - Better shutdown approach for Workers - part 2 - Timeout + ControlRunnable, r=asuth 2018-04-17 20:51:04 +02:00
Andrea Marchesini
c2549f7b53 Bug 1450644 - Better shutdown approach for Workers - part 1 - CancelingRunnable, r=asuth 2018-04-17 20:51:03 +02:00
Andrea Marchesini
97f0ce549b Bug 1450644 - WorkerRef should make APIs able to work until the worker is completely terminated - part 1 - MessagePort, r=asuth 2018-04-17 20:51:02 +02:00
Benjamin Bouvier
2d70c0b1e0 Bug 1445272: Add a pref to enable wasm gc in the browser/shell; r=luke
And a builtin function to test if wasm gc is enabled or not, to make testing
easier.

--HG--
extra : rebase_source : 0e608756d0c5f0231ba31af482c5e343a7119465
2018-03-21 14:32:47 +01:00
Sebastian Hengst
0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Karl Tomlinson
3481a11d87 bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
MozReview-Commit-ID: Cg4OBbm5CwA

--HG--
extra : rebase_source : 9a113cf0f945bd48207e81f9fa08bcba1f35303c
2018-04-06 18:53:25 +12:00
Andreea Pavel
29ba7b4974 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-11 17:40:37 +03:00
Andreea Pavel
4114ad2cfc Merge mozilla-inbound to mozilla-central. a=merge 2018-04-11 17:36:09 +03:00
Tristan Bourvon
a3a77c0312 Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan 2018-04-10 21:11:02 +02:00
Nika Layzell
0c3ba13e4c Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
Ben Kelly
a2fce061cf Bug 1450274 P3 Make WorkerGlobalScope call DisconnectEventTargetObjects() when the worker reaches the Terminating state. r=baku 2018-04-10 11:00:57 -07:00
Gijs Kruitbosch
db347829c7 Bug 1427726 - move test for bug 1063538 away from jar URIs, r=baku
Bug 1063538 was reported with a testcase that accesses a .jsp, which
in turn sleeps "forever". The testcase seems to be simulating this by
using a jar:http: URI for a really big file contained in some other
directory.

Instead, we can just use a .sjs file that does a similar thing to the
original jsp file in the reporter's testcase, which conveniently also
allows us to remove dependencies on support files in other directories.

MozReview-Commit-ID: 2JCOS9VLgVv

--HG--
extra : rebase_source : d0cbc4e149b8ef872e12680071bf2b1227bfb925
2018-04-09 10:08:33 +01:00
Andreea Pavel
f9b34d3781 Backed out 5 changesets (bug 1427726) for failing linux asan at modules/libjar/test/unit/test_bug407303.js on a CLOSED TREE
Backed out changeset ee9abd6f1ba5 (bug 1427726)
Backed out changeset b1b76f9dff73 (bug 1427726)
Backed out changeset f41cf7811770 (bug 1427726)
Backed out changeset cb35e7b10235 (bug 1427726)
Backed out changeset 753ece6c9f1b (bug 1427726)

--HG--
rename : modules/libjar/test/mochitest/bug1173171.zip => modules/libjar/test/mochitest/bug403331.zip
rename : modules/libjar/test/mochitest/bug1173171.zip^headers^ => modules/libjar/test/mochitest/bug403331.zip^headers^
2018-04-11 12:46:20 +03:00
Gijs Kruitbosch
f6a1608dd1 Bug 1427726 - move test for bug 1063538 away from jar URIs, r=baku
Bug 1063538 was reported with a testcase that accesses a .jsp, which
in turn sleeps "forever". The testcase seems to be simulating this by
using a jar:http: URI for a really big file contained in some other
directory.

Instead, we can just use a .sjs file that does a similar thing to the
original jsp file in the reporter's testcase, which conveniently also
allows us to remove dependencies on support files in other directories.

MozReview-Commit-ID: 2JCOS9VLgVv

--HG--
extra : rebase_source : 90245a05d197c9578d0b5278a247216c95f48c68
2018-04-09 10:08:33 +01:00
Boris Zbarsky
55cdcb3d94 Bug 1451929. Get rid of DOMCursor. r=qdot 2018-04-05 20:31:03 -04:00
Boris Zbarsky
2cdc7450c3 Bug 1449631 part 10. Devirtualize AddEventListener. r=smaug
The CanCallerAccess check in the "webidl" version of
nsGlobalWindowOuter::AddEventListener was pointless, because bindings never
call things on outer windows.

MozReview-Commit-ID: 1CGMJ277bPu
2018-04-05 13:42:42 -04:00
Boris Zbarsky
14f26fccf6 Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
4292bca4ee Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Ben Kelly
489c37ab4f Bug 1450358 P8 Test that SharedWorker does not leak windows through its event listener. r=baku 2018-04-04 11:25:43 -07:00
Tarek Ziadé
f9138cc6f4 Bug 1447768 - part 2 - Dispatch counters in the parent process - r=baku
Chromeutils.RequestPerformanceMetrics() is now composed of two parts:
- calls content processes via IPDL to get their counters
- directly dispatch counters from the parent process

MozReview-Commit-ID: HlgcEOzkyAq

--HG--
extra : rebase_source : 60e81a27cd3a1bf1378e6b977529964507633b63
2018-04-04 13:36:25 +02:00
Ben Kelly
a6499922db Bug 1448141 P5 Remove the service worker script load failure runnable. r=asuth 2018-04-02 07:50:23 -07:00
Ben Kelly
0247fa2c02 Bug 1448141 P4 Immediately start closing worker scripts if their initial compilation fails. r=baku 2018-04-02 07:50:23 -07:00
Ben Kelly
9ff3f1d44d Bug 1448141 P1 Only load service worker importScripts() from the network in ScriptLoader on first evaluation. r=asuth 2018-04-02 07:50:21 -07:00
Andrea Marchesini
3797da27ff Bug 1450416 - setTimeout/setInterval should silently fail if the worker is shutting down, r=asuth 2018-03-31 09:47:51 +02:00
Andrea Marchesini
b80eb4aa7f Bug 1449138 - StrongWorkerRef should not release the holder immediately but only in the DTOR, r=smaug 2018-03-27 18:30:38 +02:00
shindli
7c4ca656b6 Backed out changeset 2c9044fa02f9 (bug 1449138) for wpt failures in /builds/worker/workspace/build/src/dom/workers/WorkerRef.cpp:201 on a CLOSED TREE
--HG--
extra : amend_source : 8488291f7f06a368cc8baa30a6b0a970b4679f98
2018-03-27 21:01:54 +03:00