Commit Graph

1077 Commits

Author SHA1 Message Date
Ben Kelly
33df1b2ca1 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Benoit Jacob
7de25b6e09 Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan 2014-07-05 16:35:35 -04:00
Jan de Mooij
f3876da607 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Bobby Holley
533944dd34 Bug 1029933 - Give BackstagePass an Enumerate hook to match its NewResolve hook. r=Waldo
This is required in order to avoid exposing resolve hook effects when
Object.freeze() is invoked on the global. The freeze() call first enumerates
the object, after which point any lazy properties need to be resolve so that
we can safely mark the object as non-extensible.
2014-07-04 12:41:27 -07:00
Ben Kelly
87bc910d78 Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783) 2014-07-04 00:31:59 -04:00
Ryan VanderMeulen
446d864f2f Bug 967614 - Comment out bogus assertion and re-enable test_closeOnGC.html on Android and B2G. r=khuey 2014-07-03 12:47:38 -04:00
Nikhil Marathe
ff66d7f07e Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
--HG--
extra : rebase_source : 6c710937fde2ebe679908690c1295927eb4c195d
2014-07-02 17:48:50 -07:00
Nikhil Marathe
24b72efa5f Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
--HG--
extra : rebase_source : 463146233c874c2f2c63c018f2a43a66ca9ea49a
2014-07-02 17:48:35 -07:00
Boris Zbarsky
1fd4559d36 Bug 1033157. Move the setup of the JSRuntime DOM callbacks into the CycleCollectedJSRuntime constructor, so we don't have to separatedly do it for workers, windows, and xpcshell. r=khuey 2014-07-02 15:16:42 -04:00
Bob Owen
0ac4ef8e6d Bug 1030707 - Part 8: Replace AutoCxPusher in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-07-02 11:26:49 +01:00
Bob Owen
429d016ee8 Bug 1030707 - Part 7: Replace AutoPushJSContext in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-06-30 20:39:15 +01:00
Bob Owen
ea0d7fb015 Bug 1030707 - Part 6: Replace AutoPushJSContext in RuntimeService::ResumeWorkersForWindow. r=bholley 2014-06-30 20:37:25 +01:00
Bob Owen
5039b773cf Bug 1030707 - Part 5: Replace AutoPushJSContext in SynchronizeAndResumeRunnable::Run. r=bholley 2014-07-01 11:25:27 +01:00
Bob Owen
731683de0a Bug 1030707 - Part 4: Replace AutoPushJSContext in RuntimeService::SuspendWorkersForWindow. r=bholley 2014-06-30 20:17:09 +01:00
Bob Owen
60e6460c8f Bug 1030707 - Part 3: Replace AutoPushJSContext in RuntimeService::CancelWorkersForWindow. r=bholley 2014-06-30 16:21:27 +01:00
Bob Owen
459ceab3bb Bug 1030707 - Part 2: Replace AutoPushJSContext in DataStoreAddRunnable::MainThreadRun. r=bholley 2014-06-30 16:05:22 +01:00
Bob Owen
b7eb3076e8 Bug 1030707 - Part 1: Replace AutoPushJSContext in DataStorePutRunnable::MainThreadRun. r=bholley 2014-06-26 13:47:52 +01:00
Wes Kocher
591066be60 Backed out 3 changesets (bug 984048) for breaking hazard builds.
Backed out changeset 2d0c34b7045f (bug 984048)
Backed out changeset c18211a2afa1 (bug 984048)
Backed out changeset 30fa36882d57 (bug 984048)
2014-07-01 20:29:08 -07:00
Nikhil Marathe
f42a07f1f7 Bug 965644 - Fix intermittent oranges on promise tests. r=bz 2014-07-01 17:33:00 -07:00
Nikhil Marathe
95f2b45933 Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey 2014-07-01 16:43:22 -07:00
Nikhil Marathe
77b17981a3 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey 2014-07-01 16:43:13 -07:00
Steve Fink
7ae797ae01 Bug 1022773 - Return value rooting for workers, r=bent
--HG--
extra : rebase_source : 5793c693fb00a71f203202beed491de8ef492093
2014-06-25 15:35:36 -07:00
Ryan VanderMeulen
1c2cc9d12b Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes. 2014-06-30 17:22:47 -04:00
Nikhil Marathe
9e1ac294fa Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
--HG--
extra : rebase_source : 5f9d890c655d7f5e77851a8a3bd6b6fd3f9bf108
2014-06-30 13:31:24 -07:00
Nikhil Marathe
b8acd50491 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Ben Kelly
23a4bb8e5d Bug 1013571 Support PBackground on workers. r=bent 2014-06-27 13:36:25 -07:00
Andrea Marchesini
5c5f844ec8 Bug 1002702 - SharedWorker should always close MessagePort, r=khuey 2014-06-27 10:24:56 -07:00
Boris Zbarsky
0dd1899ac4 Bug 1027221 - Test that promises can be resolved with a PermanentAtom string; r=terrence
--HG--
extra : rebase_source : 2b2bb9211b88b9ec491cf247cd8de055d41bf510
2014-06-18 14:36:22 -04:00
Andrea Marchesini
1919316c07 Bug 998474 - SharedWorker should allow MessagePort to be opened asynchronously, r=khuey 2014-06-27 10:04:45 -07:00
Nikhil Marathe
81786cc7e6 Bug 984048: Part 3 - Update algorithm. r=ehsan,khuey
--HG--
extra : rebase_source : 5e80b118faeea419cfebbc2d1060cd2a1a61bcba
2014-06-11 09:12:56 -07:00
Andrea Marchesini
696f677e99 Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan 2014-06-26 20:46:34 -07:00
Andrea Marchesini
2e74fcf6fe Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Sid Stamm
a08dda43a7 Bug 949533 - Remove uses of x-content-security-policy and pre-spec-compliant parsing/enforcement (file changes). r=jst,grobinson
--HG--
extra : rebase_source : 0be7ad6dc09ef5b6c273748af87503b7c0d19d5b
2014-06-25 12:07:37 -07:00
Olli Pettay
2091da9022 Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Benoit Jacob
84b13c683d Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Bob Owen
2aaffc99ec Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
4f9877cdb5 Bug 1027251 - Fix or whitelist dangerous public destructors in dom/ - r=smaug 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Wes Kocher
43dd3e5735 Backed out changeset 0a3b00521c3b (bug 965644) for turning test_promise.html nearly permafail 2014-06-17 17:34:36 -07:00
Nikhil Marathe
215da5705c Bug 965644 - Fix intermittent oranges on promise tests. r=bz 2014-06-17 15:52:21 -07:00
Nikhil Marathe
6767ebeac4 Bug 984048 - Register should ignore scope fragment. r=ehsan 2014-06-17 13:03:11 -07:00
Nikhil Marathe
ad956bc189 Bug 1025082 - ServiceWorker related WebIDL changes. r=ehsan,jst
--HG--
extra : amend_source : c8d89097ddfb423ba2eb39beb469c48b69944a89
2014-06-17 11:01:28 -07:00
Ben Kelly
935db1e193 Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz 2014-06-16 12:52:00 -04:00
Ben Kelly
bf1b5506d6 Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz 2014-06-16 14:08:00 -04:00
Bobby Holley
e79ef7d75e Bug 990090 - Use AutoJSAPI for BroadcastErrorToSharedWorkers. r=khuey 2014-06-12 10:02:33 -07:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Shian-Yow Wu
1caefcaf10 Bug 1022607 - Only cache the response when the readyState is DONE. r=bent 2014-06-11 11:37:47 +08:00
Chris Pearce
a6aa98ac0e Bug 1016162 - Base EME DOM APIs, not connected to a CDM yet. r=bz 2014-06-07 08:52:15 +12:00
Shian-Yow Wu
c4b96477a3 Bug 1008126 - Part 1: Always transfer array buffers when cloning. r=bent 2014-06-06 12:17:57 +01:00
Shian-Yow Wu
7f10b809ad Bug 1014466 - Part 3: Test case for async XHR reuse. r=khuey CLOSED TREE
--HG--
extra : amend_source : 8acf4dcfb1a04829150c4e35cdf383464d6f2405
2014-06-06 12:12:19 +01:00
Shian-Yow Wu
f3127851fa Bug 1014466 - Part 2: Allow setting responseType after abort() or new open(). r=khuey 2014-06-06 12:12:15 +01:00
Shian-Yow Wu
337cb606bc Bug 1014466 - Part 1: Only send readystatechange event when state changed. r=khuey 2014-06-06 12:12:12 +01:00
Carsten "Tomcat" Book
001c46fbc8 Backed out changeset 63eb4a7d5a3c (bug 1008126) for possible causing m1 and m8 test failures on a CLOSED TREE 2014-06-06 12:08:49 +02:00
Carsten "Tomcat" Book
d5709f0485 Backed out changeset b85f5ec21392 (bug 1014466) for Android 2.3 Opt M-8 test failures on a CLOSED TREE 2014-06-06 10:21:36 +02:00
Carsten "Tomcat" Book
78caaa94c3 Backed out changeset 355e895f7ae9 (bug 1014466) 2014-06-06 10:21:00 +02:00
Carsten "Tomcat" Book
2908c60343 Backed out changeset 87ed776cbacd (bug 1014466) 2014-06-06 10:20:58 +02:00
Shian-Yow Wu
4eeb27960d Bug 1008126 - Part 1: Always transfer array buffers when cloning. r=bent 2014-06-06 13:34:29 +08:00
Shian-Yow Wu
8af2a89eb7 Bug 1014466 - Part 3: Test case for async XHR reuse. r=khuey 2014-06-06 12:17:55 +08:00
Shian-Yow Wu
e4122a6965 Bug 1014466 - Part 2: Allow setting responseType after abort() or new open(). r=khuey 2014-06-06 12:17:54 +08:00
Shian-Yow Wu
af0f6e9452 Bug 1014466 - Part 1: Only send readystatechange event when state changed. r=khuey 2014-06-06 12:17:53 +08:00
Nikhil Marathe
c765536110 Bug 1020226 - Fix unhandled Promise rejection handling in workers. r=khuey
* * *
Bug 1020226 - Test case to crash browser when using Promises on workers. r=khuey
2014-06-05 12:21:56 -07:00
Kyle Huey
081cb57b98 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Kyle Huey
937895df76 Back out bug 1019248 due to test failures. 2014-06-02 20:18:17 -07:00
Kyle Huey
70244d48b8 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-02 19:02:37 -07:00
Nikhil Marathe
d9c1700987 Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Brian Hackett
9225ba9f81 Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm. 2014-05-29 13:06:23 -06:00
Ryan VanderMeulen
2ac86591ca Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts. 2014-05-29 15:02:41 -04:00
Nikhil Marathe
e93bcbcac5 Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Nikhil Marathe
b2949dbebd Bug 1008338 - Add WorkerScriptExecutedSuccessfully(). r=bent 2014-05-29 09:33:04 -07:00
Nikhil Marathe
46913d3906 Bug 982749 - RuntimeService::CreateServiceWorker and associated. 2014-05-29 09:19:00 -07:00
Kyle Huey
085314c510 Bug 965309: Shut down the sync loop, if any, when we shut down the XHR. r=bent 2014-05-28 22:07:38 -07:00
Shian-Yow Wu
d5da409df9 Bug 1010784: Null out sync loop target to avoid assertions when reusing sync XHR. r=khuey 2014-05-28 22:07:02 -07:00
Birunthan Mohanathas
2779282281 Bug 869836 - Part 12: Use Assign('c') instead of AssignLiteral("c"). r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Andrea Marchesini
4aac3b4893 Bug 1014855 - "Reenable test_url.html in workers". r=khuey 2014-05-23 00:32:00 +02:00
Shihua Zheng
db3efa4299 Bug 1013657: Fix incorrect handling of ErrorEvents in worker unit tests. r=khuey 2014-05-23 12:53:20 -07:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Tim Taubert
77aebbb2bc Backed out changeset 67652107c498 (bug 965309) 2014-05-23 08:03:19 +02:00
Tim Taubert
0cacd480c8 Backed out changeset 97e18fbba4b6 (bug 965309) 2014-05-23 08:03:18 +02:00
Kyle Huey
e7b356d3a9 Bug 965309 - Test that terminating a sync XHR at loadstart doesn't hang r=test-only 2014-05-23 06:58:49 +02:00
Tim Taubert
e018840e95 Bug 965309 - Stop the SyncLoop of a running sync XHR if the proxy was released before the LoadStartDetectionRunnable could run r=khuey 2014-05-09 12:53:12 +02:00
Birunthan Mohanathas
016d46e5f3 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Nikhil Marathe
9beee79ee3 Bug 1009569 - Promise then() must be called on a clean stack. r=bz 2014-05-20 14:21:13 -07:00
Ben Turner
9ff1484eba Bug 999274 - Wait for the last runnable before calling ShutdownScriptLoader. r=sicking 2014-05-20 08:34:25 -04:00
xKhorasan
8ca164cae9 Bug 998076 - implement responseURL attribute for XMLHttpRequest. r=smaug 2014-05-17 09:24:37 +09:00
Brian Hackett
2930263fe1 Bug 976446 - Add port of irregexp regexp engine, and use by default, r=jandem. 2014-05-15 16:48:21 -07:00
Nikhil Marathe
b97792d01a Bug 967264 - Patch 2: InstallPhaseEvent and InstallEvent. r=ehsan r=jst
--HG--
extra : amend_source : 06855fd6ba0c0b06f087f98f51fe9b3a314ed7ca
2014-05-13 14:49:36 -07:00
Nikhil Marathe
a54b04b9cb Bug 967264 - Patch 1: ServiceWorkerGlobalScope stub. r=khuey sr=jst 2014-05-13 14:28:01 -07:00
Nikhil Marathe
cd31585bba Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : ac9bc321c679cbf7045c9d32d1001c5d87d68c69
2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
77bee3be18 Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
32f33872cd Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : 291219bb284967790bdbbc1f456b88d5f6baacc1
2013-11-19 15:14:07 -08:00
Peter Van der Beken
36aecd43e6 Bug 1005978 - Add infrastructure to create main-thread WebIDL globals with XPConnect. r=bz.
--HG--
extra : rebase_source : 08c6f04e050bdd801a15883bb57d21ff93626024
2014-04-08 20:48:37 +02:00
Nikhil Marathe
41d605d968 Bug 975799 - WorkerTypeServiceWorker. r=bent
--HG--
extra : amend_source : f5baf0af33f762264a2e5bc2b1c3f20c63595147
2014-05-12 09:11:15 -07:00
Chris Peterson
ed406b4edb Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Benoit Jacob
472e4472e0 Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Gene Lian
4f2f26d264 Bug 1006562 - WorkerDataStoreCursor.store should be equal to the WorkerDataStore which owns the cursor (part 2, WorkerDataStoreCursor.store == WorkerDataStore). r=baku 2014-05-07 19:55:23 +08:00
Gene Lian
5fa5b44211 Bug 1006562 - WorkerDataStoreCursor.store should be equal to the WorkerDataStore which owns the cursor (part 1, minor code clean-up). r=baku 2014-05-07 14:21:28 +08:00
Bobby Holley
fb9b110bf9 Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:02 -07:00
Ehsan Akhgari
b5c2c1f637 Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00