Jan de Mooij
919372cf5c
Bug 1302448 part 3 - Rename WorkerJSRuntime to WorkerJSContext. r=baku
...
--HG--
extra : rebase_source : a1df9ae95f0c80f67ce21bc494bb92a20cbc5784
2016-09-14 15:48:42 +02:00
Jan de Mooij
a53986bf29
Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
...
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Ben Kelly
f1f3b13517
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Ben Kelly
adf0d2b529
Bug 1300658 P3 Don't fail test_consoleAndBlobs.html if other console messages are received. r=baku
2016-09-13 20:14:02 -07:00
Ben Kelly
e5c5dd65ac
Bug 1300658 P2 Make WorkerRunnable's destined for main thread use the MainThreadTaskQueue. r=baku
2016-09-13 20:14:02 -07:00
Ben Kelly
f7c726cbfd
Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku
2016-09-13 20:14:02 -07:00
Wes Kocher
17b9381e0b
Backed out 6 changesets (bug 1300658) for frequent Windows VM Xpcshell failures a=backout
...
Backed out changeset 6cf3a60640cf (bug 1300658)
Backed out changeset c74062a27462 (bug 1300658)
Backed out changeset 39fbc61739ef (bug 1300658)
Backed out changeset 0b9d70b040a2 (bug 1300658)
Backed out changeset 4e921d61f036 (bug 1300658)
Backed out changeset 56496fad6494 (bug 1300658)
2016-09-12 16:34:08 -07:00
Ben Kelly
9b3174b58d
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
957adb3f56
Bug 1300658 P3 Don't fail test_consoleAndBlobs.html if other console messages are received. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
a10ca84838
Bug 1300658 P2 Make WorkerRunnable's destined for main thread use the MainThreadTaskQueue. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
6a05598770
Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku
2016-09-12 12:32:21 -07:00
Ben Kelly
a8a4ae3c4f
Backout rev 5c7368370ff9 to 980659720b86 (bug 1300118 and bug 1300658) for incorrect bug number in commit message. r=me
2016-09-12 12:29:17 -07:00
Ben Kelly
cb975cddf1
Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku
2016-09-12 11:21:02 -07:00
Ben Kelly
33f12f6300
Bug 1300658 P3 Don't fail test_consoleAndBlobs.html if other console messages are received. r=baku
2016-09-12 11:21:02 -07:00
Ben Kelly
7bb3320bdd
Bug 1300658 P2 Make WorkerRunnable's destined for main thread use the MainThreadTaskQueue. r=baku
2016-09-12 11:21:01 -07:00
Ben Kelly
e60f286936
Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku
2016-09-12 11:21:01 -07:00
Ben Kelly
8df5d9263a
Bug 1301519 Don't crash if GetCurrentThreadWorkerPrivate() is called during worker shutdown. r=baku
2016-09-12 06:09:32 -07:00
Andrea Marchesini
500a217925
Bug 1301094 - part 3 - Test for Blob+XHR+FormData+Workers, r=smaug
2016-09-12 12:19:01 +02:00
Tom Tung
44ef4d812f
Bug 1187335 - P7 - A test for serviceworker and sharedworker on webconsole. r=bkelly.
2016-08-29 16:48:54 +08:00
Tom Tung
a167b66e90
Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly.
2016-09-07 10:20:23 +08:00
Tom Tung
c34ee7095c
Bug 1187335 - P1 - Add a way to report error to all clients for ServiceWorker and SharedWorker. r=bkelly.
2016-05-23 14:56:46 +08:00
Alexandre Lissy
e458f6fbc5
Bug 1301010 - Add missing Unused.h, StorageManager.h r=fabrice
...
MozReview-Commit-ID: 3ehLQTtBChb
2016-09-07 18:52:58 +02:00
Michael Layzell
c47fca1cd7
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Shawn Huang
ba9fa0d68a
Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku
2016-06-14 13:57:36 +01:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Andrea Marchesini
4dedbcc6f2
Bug 1300655 - part 2 - WorkerProxyToMainThreadRunnable::PostDispatchOnMainThread::ReleaseRunnable should implement Cancel() correctly, r=me
2016-09-06 04:48:11 +02:00
Andrea Marchesini
f4227c1a5c
Bug 1300655 - WorkerProxyToMainThreadRunnable::PostDispatchOnMainThread::ReleaseRunnable should implement Cancel() correctly, r=bkelly
2016-09-06 04:35:49 +02:00
Andrea Marchesini
1738225353
Bug 1297472 - Improve nsIScriptTimeoutHandler::GetHandlerText(), r=bz
2016-09-05 21:25:13 +02:00
Olli Pettay
8744d0ccf8
Bug 1298661, let meta-stable state runnables run during sync loops, r=baku
2016-09-05 18:54:04 +03:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Nicholas Nethercote
819433bae0
Bug 1299389 - Replace some raw pointers in nsThreadManager. r=froydnj.
...
nsThreadManager::get() can return a reference. This lets us remove some
redundant assertions.
nsThreadArray elements can be NotNull<>s.
--HG--
extra : rebase_source : fd49010167101bc15f7f6d01bf95fd63b81d60fb
2016-06-10 16:04:49 +10:00
Gabriele Svelto
fe73634c76
Bug 1296579 - Remove the SimplePush API r=kitcambridge,baku
2016-09-01 20:17:03 +02:00
Andrea Marchesini
e8d47ac312
Bug 790919 - Don't dispatch close event in Workers, r=bkelly
2016-08-31 21:33:05 -07:00
Boris Zbarsky
29cf04bde6
Bug 986459. The error event in a worker (firing at the worker's global) should have the original exception value in its .error property. r=baku
2016-08-29 12:30:51 -04:00
Luke Wagner
cc5c2c3ffc
Bug 1283924 - Implement AsyncTask hooks for worker thread JSContexts (r=bkelly)
...
MozReview-Commit-ID: CU4tiYaREik
--HG--
extra : rebase_source : 35a1017de6844af78ec124ef84f355727f19cd80
2016-08-19 14:00:53 -05:00
Nicholas Nethercote
c2306345d5
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Wes Kocher
b38dbd1378
Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
...
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Andrea Marchesini
13c30aacfd
Bug 1286895 - Fix a talos regression, r=me
2016-08-22 12:13:15 +02:00
Andrea Marchesini
d3c5cce268
Bug 1286895 - Remove a test for checking the number of created workers, r=me
2016-08-22 12:01:53 +02:00
Andrea Marchesini
3f20309ae8
Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly
2016-08-19 08:38:58 +02:00
Sebastian Hengst
3be5f0ac43
Backed out changeset f4c8b3de527e (bug 1286895) for crashing in test_bug1241485.html. r=backout
2016-08-21 11:31:35 +02:00
Andrea Marchesini
70fd734aff
Bug 1286895 - Reintroduce a limit on number of dedicated JS web workers in Firefox, r=bkelly
2016-08-19 08:38:58 +02:00
Andrea Marchesini
db26797edf
Bug 1296586 - Fixing some comments in WorkerPrivate, r=smaug
2016-08-21 08:41:34 +02:00
Luke Wagner
44699344bb
Backed out changeset b6cf6d7a95f9
...
MozReview-Commit-ID: JtuQh7USSWX
--HG--
extra : rebase_source : 19e2f58ab5d26e36b24d0d5a80e1805f013f67d5
2016-08-19 17:09:56 -05:00
Bill McCloskey
1613c2cbc9
Bug 1279086 - Allow multiple interrupt callbacks (r=dvander)
2016-08-19 14:40:52 -07:00
Luke Wagner
9003b8a8b4
Bug 1283924 - Implement AsyncTask hooks for worker thread JSContexts (r=bkelly)
...
MozReview-Commit-ID: F31bzEH5rPR
--HG--
extra : rebase_source : ef27bc3fdc7aae1a5882672a50e0be802dffdf4e
2016-08-19 14:00:53 -05:00
Wes Kocher
3a31be9c17
Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
...
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
95c5d71549
Bug 1279086 - Allow multiple interrupt callbacks (r=dvander)
2016-08-19 09:59:39 -07:00
Ben Kelly
d935ad2ac3
Bug 1290116 P5 Make navigator.serviceWorker.getRegistrations() ignore uninstalling registrations. r=asuth
2016-08-18 07:12:09 -07:00