Andrew McCreight
5171450b27
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Nick Fitzgerald
ee543a3018
Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz
...
--HG--
extra : rebase_source : 04835c034431953344e83203e7753043461474ba
2015-10-02 16:44:00 +02:00
Nicholas Nethercote
77d38112ab
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
...
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Morris Tseng
f5a52e7dea
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
...
--HG--
extra : rebase_source : 07b470b9a8865b7d833932c5425e796b852ab466
2015-10-05 10:50:17 +08:00
Morris Tseng
0b16df6ac0
Bug 709490 - Part 5: Add interfaces test. r=ehsan
...
--HG--
extra : rebase_source : 306df6c0c7fe3e09e199b5c7b5cd62974b2854c3
2015-10-05 10:50:16 +08:00
Wes Kocher
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Carsten "Tomcat" Book
e91d5a31b6
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Ehsan Akhgari
2430b7dcee
Bug 1204596 - Part 3: Store the responses with manual redirect in the tests added for bug 1164397; r=bkelly
...
This needs to be done so that we match the manual redirect mode
for navigations when the response is stored in the cache.
2015-10-01 18:47:07 -04:00
Yoshi Huang
f97211a451
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Catalin Badea
4fa36e326a
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 19:11:04 -04:00
Catalin Badea
24a19b6a02
Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
450ddec732
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
1049eff81c
Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
cce3b797b1
Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
518e55a5ed
Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
294f7838e4
Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
c5f9033d16
Bug 1188545 - ServiceWorkerRegistrationInfo::Clear() should terminated workers. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
76c7d43fd9
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 19:11:03 -04:00
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Bill McCloskey
633d4a3ecf
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-10-01 21:18:05 -07:00
Jason Orendorff
deb2270515
Bug 1054756, part 5 - Remove Class::convert.
...
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Jason Orendorff
abd42d3ec5
Bug 1054756, part 3 - Implement Symbol.toPrimitive. Replace existing convert hooks with methods. r=jandem.
...
JSClass::convert is no longer used after this, but to minimize the noise, it will be deleted in a separate patch. However all non-nullptr convert hook implementations must be replaced with [@@toPrimitive] methods in this patch to avoid changing the behavior.
The changes in XrayWrapper.cpp fix a pre-existing bug: when an Xray wrapper tries to emit the "Silently denied access" warning, if id is a symbol, the existing code triggers an error trying to convert it to a string for the warning message. Implementing Symbol.toPrimitive revealed this bug; the fix is straightforward.
--HG--
extra : commitid : B48u39i6pxl
extra : rebase_source : bddefbd7bc131007303a5a00dd9c0bb8fec1b122
2015-03-20 14:02:55 -05:00
Catalin Badea
822a595c5c
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 10:14:33 -04:00
Catalin Badea
d2e449fa0d
Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
e3772b283b
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
4759fba84b
Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
40fb568048
Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
2758d1d2af
Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
dbf90d6367
Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
47e2f6ee5c
Bug 1188545 - ServiceWorkerRegistrationInfo::Clear() should terminated workers. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
c537f8c503
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 10:14:33 -04:00
Andrea Marchesini
7373ebaca0
Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Wes Kocher
69c6f1bd2f
Merge inbound to central, a=merge
2015-09-29 15:35:49 -07:00
Wes Kocher
df21b43278
Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout
2015-09-29 10:25:20 -07:00
Kyle Huey
ca2010bbb9
Bug 1208687: Only discard events from the outermost queue. r=ehsan
...
When workers shut down we discard the event queue rather than running it to completion. Originally workers managed their event queue themselves and would simply iterate through the array of events and cancel them all. After bug 914762 this was done by setting a (thread-)global "canceling" flag and then calling NS_ProcessPendingEvents. But this neglects that a shut down request can be received while the worker is in a sync queue. In this case, calling NS_ProcessPendingEvents will process any events pending in the sync queue, which is *not* the queue we need to cancel.
The fix is, if we are in a sync queue when NotifyInternal is called, to defer clearing the queue until the top-most sync queue is destroyed and we are about to return to the regular event queue. Only then can we call NS_ProcessPendingEvents to clear out the queue. Because we can never process any events from this queue while sync queues are active, the timing of the mass cancellation is unchanged from the perspective of events in the regular queue.
2015-09-28 14:34:28 -07:00
Carsten "Tomcat" Book
363e40e298
merge mozilla-inbound to mozilla-central a=merge
2015-09-28 14:13:24 +02:00
Nigel Babu
85f8d8c65e
Backed out changeset ee27fc2f6a1d (bug 1208687) for W(4) bustage
...
ON A CLOSED TREE
2015-09-28 12:23:36 +05:30
Kyle Huey
ea0bfdd061
Bug 1208687: Only discard events from the outermost queue. r=ehsan
...
When workers shut down we discard the event queue rather than running it to completion. Originally workers managed their event queue themselves and would simply iterate through the array of events and cancel them all. After bug 914762 this was done by setting a (thread-)global "canceling" flag and then calling NS_ProcessPendingEvents. But this neglects that a shut down request can be received while the worker is in a sync queue. In this case, calling NS_ProcessPendingEvents will process any events pending in the sync queue, which is *not* the queue we need to cancel.
The fix is, if we are in a sync queue when NotifyInternal is called, to defer clearing the queue until the top-most sync queue is destroyed and we are about to return to the regular event queue. Only then can we call NS_ProcessPendingEvents to clear out the queue. Because we can never process any events from this queue while sync queues are active, the timing of the mass cancellation is unchanged from the perspective of events in the regular queue.
--HG--
extra : rebase_source : f67fbee27c0751068a4e7aaf692cbfc1d3c9aa7c
2015-09-27 21:57:36 -07:00
Yoshi Huang
872722fe37
Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Ehsan Akhgari
3aafaa38cb
Bug 1207603 - Increase the timeout of test_third_party_iframes.html to give it enough time to pass on Android debug
2015-09-27 11:31:14 -04:00
Wes Kocher
8631de9c2b
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Benjamin Bouvier
26ee0d3f6b
Bug 1206520: Add about:config prefs to enable throwing on asm.js validation failures; r=bz
...
--HG--
extra : commitid : 1mieasAF71F
extra : rebase_source : b7b9d3aae9158b12b75cf9f29203925265b0510f
extra : amend_source : 2c625d7ffa6c9b6f7ac48dcfc347c0119b459579
extra : histedit_source : 05e9b9b9cabf675bd4c742c8fe1d3b02735819c2
2015-09-28 12:40:03 +02:00
Morris Tseng
d99c93a009
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref, r=baku
2015-09-29 11:51:25 +01:00
Morris Tseng
bfd37a1ffc
Bug 709490 - Part 5: Add interfaces test, r=ehsan
2015-09-29 11:51:24 +01:00
Wes Kocher
b19d88b060
Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
...
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Andrea Marchesini
144da2ac21
Bug 1205676 - Enable WPT service-worker/unregister-then-register-new-script.https.html in e10s, r=nsm
2015-09-23 19:40:51 +01:00