Commit Graph

1229 Commits

Author SHA1 Message Date
Boris Zbarsky
78f080efdd Bug 1017988 part 10. Disallow Pref annotations on things that are exposed in workers. r=khuey 2014-08-04 22:20:35 -04:00
Boris Zbarsky
5c1de8f9d4 Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey 2014-08-04 22:20:34 -04:00
Ms2ger
c120fbc019 Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst 2014-08-01 22:47:47 +02:00
Wes Kocher
bae887a097 Backed out changeset a668ab2d8dd3 (bug 1043853) for bustage 2014-08-01 14:25:10 -07:00
Ms2ger
f1e52a81b4 Bug 1043853 - Share the code for structured cloning of ImageData objects across main-thread and workers implementations; r=jst 2014-08-01 22:47:47 +02:00
Andrea Marchesini
042b7cf53f Bug 1047398 - ServiceWorker should use WeakRef instead nsTWeakRef, r=smaug 2014-08-01 17:42:19 +01:00
Ben Kelly
233e0de412 Bug 1045756 Test DOM interfaces exposed on worker global. r=bz 2014-07-31 21:54:44 -04:00
Bobby Holley
944d92b89b Bug 940321 - Eliminate ambient noScriptRval, and make it live exclusively on CompileOptions. r=jandem 2014-07-31 09:55:20 -07:00
Sean Lin
a0abec6ac4 Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst 2014-07-17 11:53:23 +08:00
Bobby Holley
41287f115d Bug 940305 - Move extraWarnings to RuntimeOptions with a per-compartment override. r=jandem,r=khuey 2014-07-29 21:00:37 -07:00
Ehsan Akhgari
38ec6af068 Bug 1045436 - Fix more bad implicit constructors in XPCOM; r=froydnj 2014-07-29 20:43:56 -04:00
Ben Kelly
03e77dbb2f Bug 1045561 Use a WebIDL Func attribute to conditionally enable Fetch Headers. r=ehsan r=bz 2014-07-29 17:24:22 -04:00
Andrew McCreight
ab57157ec3 Bug 1037510, part 2 - Reduce GGC nursery size to 1MB on workers. r=khuey 2014-07-29 15:38:14 -07:00
Andrew McCreight
532e925036 Bug 1037510, part 1 - Add nursery size as a parameter of CycleCollectedJSRuntime. r=khuey 2014-07-29 15:38:14 -07:00
Ben Kelly
9a3c97f159 Bug 1037294 Move empty queue assert to ScheduleDeletion() as its no longer always valid in ClearMainEventQueue(). r=bent 2014-07-29 09:25:29 -04:00
Ben Kelly
5c896f43ef Bug 1029620 P6 Implement Fetch Headers DOM object. r=ehsan r=jst 2014-07-28 15:28:20 -04:00
Ben Kelly
adfd86b42b Bug 1029620 P5 Create dom.fetch.enabled pref, defaulted to false. r=ehsan 2014-07-28 15:28:20 -04:00
Ehsan Akhgari
13b9d95037 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Ehsan Akhgari
29e9acc005 Bug 1044598 - Part 2: Make ServiceWorkerManager::GetServiceWorkerRegistration honor XPCOM rules; r=smaug 2014-07-28 09:57:31 -04:00
Ryan VanderMeulen
7fd54e73a0 Backed out changesets c6691cff88a4 and 43a7db7bf902 (bug 1044598) for bustage.
CLOSED TREE
2014-07-28 11:08:12 -04:00
Ehsan Akhgari
15881d17fe Bug 1044598 - Part 2: Make ServiceWorkerManager::GetServiceWorkerRegistration honor XPCOM rules; r=smaug
--HG--
extra : rebase_source : 6fcd656cae5db25b99c70a6d2c901409fb751755
2014-07-28 09:57:31 -04:00
Ms2ger
e99bd12a4b Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Nikhil Marathe
a0036c576d Bug 1002570 - Return valid ServiceWorker instances for .installing, .waiting, .active and .controller. r=ehsan
--HG--
extra : transplant_source : %B2%1D%A4%8D%04%E9%BE%D9%C1%CC%C89%F0%07%07%15%B1Df%F1
2014-07-23 14:05:08 -07:00
Nikhil Marathe
144f4ed277 Bug 984048: Part 8 - Activate algorithm. r=ehsan,bent
--HG--
extra : rebase_source : 366eabae6bbd60f3223725da31c7175e6b3603db
2014-07-11 13:07:59 -07:00
Nikhil Marathe
3690161f9c Bug 984048 - Temporarily disable serviceworker updatefound test. r=test-only
The updatefound test uses some bits that haven't landed yet, namely the ability to access running ServiceWorker instances using navigator.serviceWorker.controller.

--HG--
extra : rebase_source : dfacd3352d6d09c68ae1debcc0ce5f81127161e7
2014-07-23 13:23:32 -07:00
Nikhil Marathe
5046cd6a14 Bug 984048 - Add non-null installing worker check to FinishInstall. r=ehsan
--HG--
extra : rebase_source : bb459bc5bddca875099584446c65b2909f92b343
2014-07-22 18:18:48 -07:00
Alexandre Poirot
5a3800bc64 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
efbbf73c27 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot
c044256760 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Nikhil Marathe
5f5ae44de2 Bug 984048 - Part 7 - Documents register themselves with corresponding ServiceWorkerInfo. r=bz
--HG--
extra : transplant_source : %FD%9BD%8C%E4a%A9%CB9%17L%EE%E38%11%A1t%8A%3Bs
2014-07-20 23:25:44 -07:00
Nikhil Marathe
86f5bb969b Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz
--HG--
extra : transplant_source : %F5%A9%DER%BA%11%E3%2C%E3R%C8%40%F3%5E%D5%C3%A6%FE%9D%90
2014-07-18 18:13:47 -07:00
Ryan VanderMeulen
379f8a7ad4 Backed out changeset 38bfa2af2bd8 (bug 1023547) for making test_promise.html perma-fail. 2014-07-20 15:39:04 -04:00
Nikhil Marathe
c0b86de32d Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz 2014-07-18 18:13:47 -07:00
Boris Zbarsky
c03ab46f93 Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley. 2014-07-18 21:31:11 -04:00
Ryan VanderMeulen
116ac21c5d Bug 1040924 - Disable serviceworker tests on all platforms except Windows. 2014-07-18 15:38:43 -04:00
Ahmed Kachkach
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
Jon Coppeard
0cd5bbd52c Bug 1017141 - Add prefs for setting min/max empty chunk counts r=bent 2014-07-16 10:01:20 +01:00
Nikhil Marathe
3d3aa2f19f Bug 983497 - Patch 2: Fire updatefound on ServiceWorkerContainers. r=ehsan
--HG--
extra : transplant_source : %98%1B%D73y%CF%A9%3Fb%DAR%DC%25%A9S%15%22%CF%C4%1B
2014-07-11 16:00:52 -07:00
Nikhil Marathe
6fdc708536 Bug 983497 - Patch 1: Infrastructure to fire events on ServiceWorkerContainers. r=ehsan,smaug
--HG--
extra : transplant_source : S1z%F3%86%E5%CF%D6%3BWW%8E%1A%90%A3%94%7E%FE%E3z
2014-07-14 14:15:23 -07:00
Nikhil Marathe
437b5b1da0 Bug 1023547 - Fix intermittent dom/workers/test/test_promise.html failure. r=bz
--HG--
extra : transplant_source : %91%24G%DA%8F%B6%95%CEY%3Ff1%B4%3B%CA%23%DB5%ED%88
2014-07-11 20:21:54 -07:00
Boris Zbarsky
3b932952dd Bug 832014 part 4. Make the URLUtils APIs able to throw, since Location needs to be able to do that so far. r=peterv 2014-07-11 19:30:27 -04:00
Nikhil Marathe
1c5af4824d Bug 984048 - Patch 6 - Scope ordering and utility functions. r=ehsan,khuey
Added r=khuey via IRC to validate webidl DOM peer check.

--HG--
extra : rebase_source : 0aa1a6bcdc0f2ec8c5cd8af44d39afb62b1d4abf
2014-07-11 11:52:19 -07:00
Bobby Holley
3b3c803c5f Bug 940316 - Move werror to RuntimeOptions. r=jandem 2014-07-11 08:30:47 -07:00
Carsten "Tomcat" Book
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Nathan Yee
da5b38f868 Bug 1006671 - Remove unnecessary JSContext argument to nsContentUtils::GetContentSecurityPolicy. r=bholley 2014-07-10 19:25:00 +02:00
Ben Kelly
e6c5c8808f Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher
5325f9ea14 Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Benoit Jacob
57ed0c585c Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Ben Kelly
c765ce3a6e Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Benoit Jacob
49fdae91d7 Bug 1028588 - Fix more, recently introduced dangerous public destructors - r=ehsan 2014-07-05 16:35:35 -04:00
Jan de Mooij
3c7459b21a 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
0f927ebd64 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
d0ce16a691 Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783) 2014-07-04 00:31:59 -04:00
Ryan VanderMeulen
9441187b50 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
37c5d788b2 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
4d7bfd252f 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
828e5a160f 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
4435260145 Bug 1030707 - Part 8: Replace AutoCxPusher in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-07-02 11:26:49 +01:00
Bob Owen
4f6ac30ae6 Bug 1030707 - Part 7: Replace AutoPushJSContext in WorkerPrivateParent<Derived>::DispatchMessageEventToMessagePort. r=bholley 2014-06-30 20:39:15 +01:00
Bob Owen
3209951196 Bug 1030707 - Part 6: Replace AutoPushJSContext in RuntimeService::ResumeWorkersForWindow. r=bholley 2014-06-30 20:37:25 +01:00
Bob Owen
95e7d08113 Bug 1030707 - Part 5: Replace AutoPushJSContext in SynchronizeAndResumeRunnable::Run. r=bholley 2014-07-01 11:25:27 +01:00
Bob Owen
0e03ff41f5 Bug 1030707 - Part 4: Replace AutoPushJSContext in RuntimeService::SuspendWorkersForWindow. r=bholley 2014-06-30 20:17:09 +01:00
Bob Owen
6c7bce274e Bug 1030707 - Part 3: Replace AutoPushJSContext in RuntimeService::CancelWorkersForWindow. r=bholley 2014-06-30 16:21:27 +01:00
Bob Owen
49c5751685 Bug 1030707 - Part 2: Replace AutoPushJSContext in DataStoreAddRunnable::MainThreadRun. r=bholley 2014-06-30 16:05:22 +01:00
Bob Owen
c4576d7b02 Bug 1030707 - Part 1: Replace AutoPushJSContext in DataStorePutRunnable::MainThreadRun. r=bholley 2014-06-26 13:47:52 +01:00
Wes Kocher
bbc09af3cc 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
3d69f76ee1 Bug 965644 - Fix intermittent oranges on promise tests. r=bz 2014-07-01 17:33:00 -07:00
Nikhil Marathe
b41666bc6b Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey 2014-07-01 16:43:22 -07:00
Nikhil Marathe
8ece823137 Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey 2014-07-01 16:43:13 -07:00
Steve Fink
36ca527ad7 Bug 1022773 - Return value rooting for workers, r=bent
--HG--
extra : rebase_source : 5793c693fb00a71f203202beed491de8ef492093
2014-06-25 15:35:36 -07:00
Ryan VanderMeulen
6b74ec8899 Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes. 2014-06-30 17:22:47 -04:00
Nikhil Marathe
88457821f1 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
40400978a6 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
e4dd591b98 Bug 1013571 Support PBackground on workers. r=bent 2014-06-27 13:36:25 -07:00
Andrea Marchesini
16e973c66d Bug 1002702 - SharedWorker should always close MessagePort, r=khuey 2014-06-27 10:24:56 -07:00
Boris Zbarsky
3a1146cf35 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
e46c443d0c Bug 998474 - SharedWorker should allow MessagePort to be opened asynchronously, r=khuey 2014-06-27 10:04:45 -07:00
Nikhil Marathe
ce740561d8 Bug 984048: Part 3 - Update algorithm. r=ehsan,khuey
--HG--
extra : rebase_source : 5e80b118faeea419cfebbc2d1060cd2a1a61bcba
2014-06-11 09:12:56 -07:00
Andrea Marchesini
138ca3d57f Bug 827823 - patch 1 - CC in DOMFile class, r=ehsan 2014-06-26 20:46:34 -07:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Sid Stamm
ed2555fe27 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
7da5fd8ae0 Bug 1029866 - Rename InitUsingWin(...) to Init(...), r=bobowencode
--HG--
extra : rebase_source : e04aac99fe64270f283cf49ed52b8f7512a2fa3b
2014-06-25 13:17:17 +03:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Bob Owen
d5b1972d3b Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
3b95f18dbd Bug 1027251 - Fix or whitelist dangerous public destructors in dom/ - r=smaug 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
39f29c384a 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
d42d16462c Backed out changeset 0a3b00521c3b (bug 965644) for turning test_promise.html nearly permafail 2014-06-17 17:34:36 -07:00
Nikhil Marathe
63a593f6cb Bug 965644 - Fix intermittent oranges on promise tests. r=bz 2014-06-17 15:52:21 -07:00
Nikhil Marathe
0b7bf13a5f Bug 984048 - Register should ignore scope fragment. r=ehsan 2014-06-17 13:03:11 -07:00
Nikhil Marathe
22eb6b83af Bug 1025082 - ServiceWorker related WebIDL changes. r=ehsan,jst
--HG--
extra : amend_source : c8d89097ddfb423ba2eb39beb469c48b69944a89
2014-06-17 11:01:28 -07:00
Ben Kelly
fa96ef9593 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
d96ec8b401 Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz 2014-06-16 14:08:00 -04:00
Bobby Holley
0e6ae186a7 Bug 990090 - Use AutoJSAPI for BroadcastErrorToSharedWorkers. r=khuey 2014-06-12 10:02:33 -07:00
Boris Zbarsky
c9eabf9d78 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
2bb59ed300 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Shian-Yow Wu
a692e2e20f Bug 1022607 - Only cache the response when the readyState is DONE. r=bent 2014-06-11 11:37:47 +08:00
Chris Pearce
3c3777d2de 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
6a4c2b4160 Bug 1008126 - Part 1: Always transfer array buffers when cloning. r=bent 2014-06-06 12:17:57 +01:00
Shian-Yow Wu
6e0a08a0b6 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
7891d7a979 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
044ce5faab Bug 1014466 - Part 1: Only send readystatechange event when state changed. r=khuey 2014-06-06 12:12:12 +01:00
Carsten "Tomcat" Book
d0c8e8ddfe 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
3f2faa7461 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
1bff0214f7 Backed out changeset 355e895f7ae9 (bug 1014466) 2014-06-06 10:21:00 +02:00
Carsten "Tomcat" Book
5031905f24 Backed out changeset 87ed776cbacd (bug 1014466) 2014-06-06 10:20:58 +02:00
Shian-Yow Wu
efbf0f85e4 Bug 1008126 - Part 1: Always transfer array buffers when cloning. r=bent 2014-06-06 13:34:29 +08:00
Shian-Yow Wu
0e83486db9 Bug 1014466 - Part 3: Test case for async XHR reuse. r=khuey 2014-06-06 12:17:55 +08:00
Shian-Yow Wu
04a13e40b5 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
7eb4b53e72 Bug 1014466 - Part 1: Only send readystatechange event when state changed. r=khuey 2014-06-06 12:17:53 +08:00
Nikhil Marathe
abe25b169a 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
a87647dfb2 Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-03 15:52:36 -07:00
Kyle Huey
34957a3bed Back out bug 1019248 due to test failures. 2014-06-02 20:18:17 -07:00
Kyle Huey
4aab93126e Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug 2014-06-02 19:02:37 -07:00
Nikhil Marathe
54617d96df Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Brian Hackett
6fe0a1d95d Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm. 2014-05-29 13:06:23 -06:00
Ryan VanderMeulen
4511841a1f Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts. 2014-05-29 15:02:41 -04:00
Nikhil Marathe
ac310b5cde Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Nikhil Marathe
dd81eb5969 Bug 1008338 - Add WorkerScriptExecutedSuccessfully(). r=bent 2014-05-29 09:33:04 -07:00
Nikhil Marathe
370a76211e Bug 982749 - RuntimeService::CreateServiceWorker and associated. 2014-05-29 09:19:00 -07:00
Kyle Huey
d4fb9d502a 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
7070951543 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
562904c002 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
005147cdf4 Bug 1014855 - "Reenable test_url.html in workers". r=khuey 2014-05-23 00:32:00 +02:00
Shihua Zheng
f8fd5b5e2e Bug 1013657: Fix incorrect handling of ErrorEvents in worker unit tests. r=khuey 2014-05-23 12:53:20 -07:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Tim Taubert
1b70826363 Backed out changeset 67652107c498 (bug 965309) 2014-05-23 08:03:19 +02:00
Tim Taubert
216eaf5379 Backed out changeset 97e18fbba4b6 (bug 965309) 2014-05-23 08:03:18 +02:00
Kyle Huey
6dc62fbe35 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
c4a1f380d9 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
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Nikhil Marathe
7f1cb23bae Bug 1009569 - Promise then() must be called on a clean stack. r=bz 2014-05-20 14:21:13 -07:00
Ben Turner
313ebd014c Bug 999274 - Wait for the last runnable before calling ShutdownScriptLoader. r=sicking 2014-05-20 08:34:25 -04:00
xKhorasan
296d2d3e28 Bug 998076 - implement responseURL attribute for XMLHttpRequest. r=smaug 2014-05-17 09:24:37 +09:00
Brian Hackett
f08c286b61 Bug 976446 - Add port of irregexp regexp engine, and use by default, r=jandem. 2014-05-15 16:48:21 -07:00
Nikhil Marathe
7c6b812e3a 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
afe35a1fab Bug 967264 - Patch 1: ServiceWorkerGlobalScope stub. r=khuey sr=jst 2014-05-13 14:28:01 -07:00
Nikhil Marathe
62b18de392 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
bee2490325 Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
1bd5845efa 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
8119bfc066 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
785949a08f Bug 975799 - WorkerTypeServiceWorker. r=bent
--HG--
extra : amend_source : f5baf0af33f762264a2e5bc2b1c3f20c63595147
2014-05-12 09:11:15 -07:00
Chris Peterson
47a58d1945 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in dom. r=smaug 2014-04-20 00:36:40 -07:00
Benoit Jacob
2e1ef0025a 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
4559123a82 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
a482b43702 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
0f2e4665cd Bug 997987 - Remove nsIScriptSecurityManager::GetCxSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:02 -07:00
Ehsan Akhgari
6f56f93285 Backed out changeset 70946e64e8f8 (bug 1005704) because it caused bug 1006541 2014-05-06 16:39:39 -04:00
Andrea Marchesini
185b175bd0 Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00
Ehsan Akhgari
b7cf2d4a14 Bug 1005704 - Enable installing files dist files without preprocessing; r=mshal 2014-05-05 21:26:11 -04:00
Nikhil Marathe
dc62b81e60 Bug 1005156: Remove unused scope from WorkerScopes WrapGlobalObject(). rs=jst
--HG--
extra : rebase_source : e6f0716b2ac6886a5f52ef94a26849e6ab8304d5
2014-05-02 10:16:49 -07:00
Ben Turner
a5e9fb70f9 Bug 1003766, StopSyncLoopRunnable::Cancel should call base class Cancel. r=mrbkap. 2014-04-30 13:44:03 -07:00
Ryan VanderMeulen
ec6bde3d28 Backed out changeset cf35c8eac882 (bug 1003766) for Werror bustage.
CLOSED TREE
2014-05-01 14:09:54 -04:00
Ben Turner
531cf5b6bf Bug 1003766, StopSyncLoopRunnable::Cancel should call base class Cancel. r=mrbkap. 2014-04-30 13:44:03 -07:00
Gene Lian
3fd6848951 Bug 981984 - OwningStringOrUnsignedLong union value cannot be set if the type is not matched. r=bz 2014-04-30 17:52:05 +08:00
Gene Lian
8104a60a1a Bug 949325 - C++ wrapper to support DataStore API on the worker (part 3-1, fix tests to support navigator.getDataStores on worker). r=khuey 2014-02-24 21:57:42 +08:00
Gene Lian
31b98a27a7 Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-5, a proxy to dispatch the change event on workers). r=khuey 2014-02-24 21:57:34 +08:00
Gene Lian
c9cca07e6c Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-3, dispatch tasks on the worker to the main thread). r=baku,khuey f=nsm 2014-02-24 21:57:15 +08:00
Gene Lian
15a1f1a7d6 Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-2, refactor out the common SyncWorkerRunnable from workers/URL.cpp). r=baku,khuey 2014-02-24 21:57:03 +08:00
Nicholas Nethercote
e505c20ed9 Bug 952650 (part 17) - Remove JSVAL_IS_UNIVERSAL. r=till.
--HG--
extra : rebase_source : 40b7d3ded42fac02abe2423d9aa39a4e7750cedb
2014-04-28 16:41:16 -07:00
Nicholas Nethercote
3717458071 Bug 952650 (part 14) - Remove JSVAL_IS_GCTHING. r=till.
--HG--
extra : rebase_source : 469430d481f5fdb14d49609d8460f9fcbc90927f
2014-04-28 16:01:30 -07:00
Nicholas Nethercote
c79e0f8f0d Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
--HG--
extra : rebase_source : 60dcaa2b778d3cf6eb7dc1a4949aab010ed8c130
2014-04-27 19:58:52 -07:00
Rodrigo Rodriguez Jr.
ce08f289ef Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
--HG--
extra : rebase_source : 0ae81cd69dc13d944927de906abc656536b4d425
2014-04-27 19:32:05 -07:00
Rodrigo Rodriguez Jr.
5b7e66980d Bug 952650 (part 1) - Remove JSVAL_IS_NULL. r=terrence.
--HG--
extra : rebase_source : 83d1cdaf71260fd99b688c23303ceb2de7b00031
2014-04-27 19:30:51 -07:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Jason Orendorff
b4e94a9f46 Bug 547140, part 4 - Remove flags argument from resolve hooks. r=Waldo. 2014-04-25 16:11:02 -05:00
Ben Kelly
81fd22b9dd Bug 987556 Part 9 Use JS::SourceBufferHolder in worker ScriptLoader. r=bz 2014-04-25 10:11:57 -04:00
Aryeh Gregor
e7ba181551 Bug 990725 - Rename ErrorEvent.column to .colno to match spec change; r=smaug 2014-04-23 14:55:58 +03:00
Henri Sivonen
1a97e800b4 Bug 999349 - Add "DO NOT USE" annotation to nsIPlatformCharset. r=emk 2014-04-22 12:35:44 +03:00
Bobby Holley
0e90eb6de0 Bug 990353 - Flag for discarding where appropriate. r=bent 2014-04-22 14:08:28 -07:00
ISHIKAWA, Chiaki
96b27b982d Bug 998706 - Use proper namespace qualification of MessagePort within NS_IMPL_ADDREF_INHERITED. r=bent 2014-04-21 09:34:36 -04:00
Boris Zbarsky
3738611b99 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Steve Fink
03f42f68f4 Bug 912456 - transferable MessagePorts, r=jorendorff
--HG--
extra : rebase_source : 5b8a2a9b261c53f0ff5a860e1dc2e7ede711105f
2013-11-14 20:42:34 -08:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Daniel Holbert
d7bc9bd2fc Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug 2014-04-02 09:21:03 -07:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Jon Coppeard
bb2e7cbea1 Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz 2014-04-01 11:34:39 +01:00
Masayuki Nakano
54d409dfca Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Terrence Cole
ee6744d6f0 Bug 987666 - Follow to remove a SkipRoot that leaked into the browser; r=bustage ON A CLOSED TREE 2014-03-28 12:01:50 -04:00
Tom Schuster
75ecb45f05 Bug 355430 - Add the thrown error object to the dom error event. r=bz 2014-01-03 01:04:15 +00:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Birunthan Mohanathas
fdd8ac908b Bug 984112 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc in dom/. r=bz 2014-03-19 13:05:04 -04:00
Andrea Marchesini
ef4f22b8fd Bug 985432 - URLSearchParams is not nullable, r=bz 2014-03-19 15:36:46 +00:00
Brian Hackett
ecdbf6f6c8 Bug 972817 - Enable type inference unconditionally, r=jandem. 2014-03-18 09:05:16 -06:00
Andrea Marchesini
2ce402673a Bug 984629 - Remove dom/workers/Console.cpp, r=khuey 2014-03-18 09:16:57 +00:00
Masayuki Nakano
abfbab58dd Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
ef5a7c0e92 Bug 983049 part.2 Rename nsEventChainPreVisitor to mozilla::EventChainPreVisitor r=smaug 2014-03-18 13:48:19 +09:00
Peter Van der Beken
7ddc350148 Bug 983620 - Remove the unused aScope argument from WrapGlobalObject. r=bz. 2014-02-05 22:09:18 +01:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00