Andrea Marchesini
4fd7346fa1
Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
...
--HG--
rename : dom/base/nsFormData.cpp => dom/base/FormData.cpp
rename : dom/base/nsFormData.h => dom/base/FormData.h
2016-01-07 19:30:36 +00:00
Andrea Marchesini
1e9d936689
Bug 1228456 - add 'override' to the Cancel() method of a nsICancelableRunnable, rs=me
2016-01-07 18:45:09 +00:00
Andrea Marchesini
7ac7825383
Bug 1228456 - SharedWorker should close the MessagePort in case the connecting runnable is not dispatched, r=smaug
2016-01-07 18:01:56 +00:00
Eddy Bruel
4a221d8be9
Bug 1211903
- WorkerDebugger should live on the main thread;r=khuey
2016-01-07 13:35:31 +01:00
Carsten "Tomcat" Book
c3c9e7c565
merge mozilla-inbound to mozilla-central a=merge
2016-01-07 11:50:57 +01:00
Yoshi Huang
bd65e48e3f
Bug 1233644 - use pattern matching when listening clear-origin-data. r=baku
2015-12-18 18:58:41 +08:00
Jonathan Griffin
59f626fe96
Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only
2016-01-05 12:02:47 -08:00
Ehsan Akhgari
40c82fa10c
Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm
2016-01-05 15:04:41 -05:00
Terrence Cole
bb224242a8
Bug 1235598 - Part 2: Use TraceEdge exclusively in Gecko; r=smaug
...
--HG--
extra : rebase_source : 27afd7eecd5a13f8d28b888b64d5e44b3c4a74a5
2015-12-30 08:52:14 -08:00
Lars T Hansen
68ea3c1b16
Bug 1231333 - part 2, DOM: only allow futexWait in workers. r=khuey
...
--HG--
extra : rebase_source : d5019bc4ec839427bc9d86f58542f107adc97988
2015-12-23 13:44:00 +01:00
Kit Cambridge
8f689a5c00
Bug 1234054 - Enable Push and service worker notifications on Desktop release builds. r=ehsan
...
--HG--
extra : commitid : 6vRoS2CYj3v
extra : rebase_source : a2d776215cfbc97b583afeb83141c7878b014d34
2016-01-04 14:32:33 -07:00
Ehsan Akhgari
d7bfbd4a1d
Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
603bdd57fd
Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
...
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
ba3d9b7d66
Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
...
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests. Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 16:30:02 -05:00
Ehsan Akhgari
5b3ebf89d1
Bug 1226384 - Reject the promise returned from ServiceWorkerRegistration.update() if the registration is being uninstalled; r=bkelly
2016-01-04 14:50:57 -05:00
Ehsan Akhgari
46b8636a0e
Bug 1235896
- Make it possible to run browser_download.js with --run-until-failure; r=bkelly
2016-01-04 14:50:57 -05:00
Wes Kocher
dbbade6e75
Backed out 10 changesets (bug 1214305) for leaks on linux debug m-e10s(bc7)
...
Backed out changeset 1f482566235a (bug 1214305)
Backed out changeset 001b31489756 (bug 1214305)
Backed out changeset 4e94d2088219 (bug 1214305)
Backed out changeset fba4a5bcea41 (bug 1214305)
Backed out changeset 100f8e249007 (bug 1214305)
Backed out changeset a59c453192dc (bug 1214305)
Backed out changeset 2daa86fc1fb9 (bug 1214305)
Backed out changeset c04efb57b0ed (bug 1214305)
Backed out changeset 52046e843c60 (bug 1214305)
Backed out changeset ac4fd6615828 (bug 1214305)
--HG--
extra : commitid : ILmaVumvmvH
2016-01-04 10:34:24 -08:00
Ehsan Akhgari
5740e920d4
Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm
2016-01-04 09:52:49 -05:00
Ehsan Akhgari
0c4cdf6c16
Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
...
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2016-01-04 09:52:44 -05:00
Ehsan Akhgari
a4a75435f0
Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
...
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests. Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2016-01-04 09:52:42 -05:00
Kyle Huey
1ab13f2322
Bug 1059469: Part 2 - When rescheduling the interval timer, cancel it first, and refactor things so that actually does something. r=bent
...
RunExpiredTimeouts has "fudging" code to always ensure that we execute at least one timeout. This is intended to cover cases where an nsITimer fires slightly early, but it means we must be careful not to fire a timer more times than we intend to or we'll execute a timeout prematurely.
Consider a sequences of setTimeout calls alternating in delay between 0ms and 1000ms. When the 1000ms timeout fires, it schedules a 0ms timeout. The setTimeout call itself calls RescheduleTimeoutTimer, which schedules the timer for a 0 ms delay. And once we unwind the 1000ms timeout RunExpiredTimeouts will also schedule the timer for a 0 ms delay. If the timer has fired (remember, it's processed on a completely different thread) in the meantime, we ultimately will get two callbacks from nsITimer for our 0 ms timeout. The first will run the 0 ms timeout and schedule a 1000 ms timeout, and the second will run the 1000 ms timeout (remember, RunExpiredTimeouts always runs at least one timeout!) ~999 ms ahead of schedule.
The solution is to cancel the timer in RescheduleTimeoutTimer, so that when we call it the second time it will cause any pending events from the first scheduling to be canceled. But this actually doesn't work at all, because of how we use nsITimer. Before worker threads were capable of accepting arbitrary runnables we created TimerThreadEventTarget, which translates the timer firing to the special worker event queue when the timer thread attempts to *dispatch* a runnable to the worker. We still need this for some of the other types of timers (which use control runnables that interrupt JS, and not the regular event queue). But setTimeout can simply run like a normal nsITimer callback now. We need that here, or calling nsITimer::Cancel won't actually do anything, because the timer's event was ignored and TimerThreadEventTarget created its own event.
2016-01-06 13:18:29 -08:00
Kyle Huey
d878b5bb2d
Bug 1059469: Part 1 - Add a log module for dump() calls. r=bent
2016-01-06 13:18:29 -08:00
Kyle Huey
449fd40516
Bug 1153636: Don't assert with addEventListener("") on workers. r=smaug
2016-01-06 13:18:29 -08:00
Jeff Walden
5be7be38a1
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
...
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Andrea Marchesini
ec574f7448
Bug 1235629 - Remove dead code in WorkerFeature.h, r=smaug
2015-12-29 20:35:21 +00:00
Ben Kelly
b6740878e7
Bug 1220681 P6 Use clients.claim() in browser_download.js to avoid worker unregister race. r=jdm
2015-12-23 12:20:53 -08:00
Ben Kelly
14c2c5cced
Bug 1220681 P2 Test synthetic responses that trigger downloads. r=ehsan
2015-12-23 12:20:53 -08:00
Carsten "Tomcat" Book
1b186ddd18
Backed out changeset 9441286007c4 (bug 1211903
) for assertion failures/crashes
2015-12-22 14:11:27 +01:00
Eddy Bruel
681fe21ff9
Bug 1211903
- WorkerDebugger should live on the main thread;r=khuey
2015-12-22 12:46:57 +01:00
Ben Kelly
c0b2a6dda8
Bug 1232444 Only store service worker registrations after install is successful. r=baku
2015-12-18 11:04:40 -05:00
Ben Kelly
113be0f30a
Bug 1231974 P6 Abort update-triggered install jobs if the service worker script has changed. r=baku
2015-12-18 11:04:40 -05:00
Ben Kelly
13e36422ab
Bug 1231974 P4 Lazy load registration and verify it does not change in service worker jobs. r=baku
2015-12-18 11:04:40 -05:00
Ben Kelly
9af4ff4976
Bug 1231974 P3 Store the principal on the ServiceWorkerJobBase. r=baku
2015-12-18 11:04:39 -05:00
Ben Kelly
8eab0e72f8
Bug 1231974 P2 Store scope on ServiceWorkerJobBase. r=baku
2015-12-18 11:04:39 -05:00
Ben Kelly
5b56c0c091
Bug 1231974 P1 Remove unneeded ServiceWorkerScriptJobBase abstract class. r=baku
2015-12-18 11:04:39 -05:00
Andrea Marchesini
f2f6c3be20
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-18 08:44:00 +00:00
Morris Tseng
da5886e568
Bug 1172796 - Part 8: Add ImageBitmapRenderingContext to test_intefaces.html r=smaug
...
--HG--
extra : commitid : 9Q4m80HbYPZ
2015-12-18 14:52:17 +08:00
Ben Kelly
1d9e5fddae
Bug 1233171 Cancel channel when ScriptLoader is aborted during service worker script load. r=khuey
2015-12-17 10:11:26 -05:00
Sebastian Hengst
fe800f661e
Backed out changeset 30839ee209e8 (bug 901097) for mochitest failures on Android and Mulet. r=backout
2015-12-17 14:13:59 +01:00
Andrea Marchesini
35ff8e160c
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-17 12:00:35 +00:00
Wes Kocher
e23593462a
Backed out changeset 84c8783b8518 (bug 901097) for test_fileReader.html crashes CLOSED TREE
...
--HG--
extra : commitid : crWlUUwg6J
2015-12-16 09:43:42 -08:00
Andrea Marchesini
7a681c85f9
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-16 12:37:31 +00:00
Carsten "Tomcat" Book
af9ca82bf2
Backed out changeset d74d1e794421 (bug 901097) for bustage on a CLOSED TREE
2015-12-16 11:48:40 +01:00
Andrea Marchesini
97ccffac37
Bug 901097 - FileReader API in workers, r=sicking, r=nfroyd
...
--HG--
rename : dom/base/test/fileapi_chromeScript.js => dom/workers/test/fileapi_chromeScript.js
2015-12-16 10:15:03 +00:00
Wes Kocher
c1452c8c24
Merge inbound to central, a=merge
...
--HG--
extra : commitid : Ebqzc9n0mUJ
2015-12-15 15:47:20 -08:00
Ben Kelly
056852f555
Backout ae46539dbbc9 (bug 1232444) for bustage. r=me
2015-12-15 10:07:26 -05:00
Ben Kelly
fcd1d099bd
Bug 1232444 Only store service worker registrations after install is successful. r=baku
2015-12-15 09:50:02 -05:00
Alexandre Poirot
da5ef790fb
Bug 1228382 - Expose an API to relate nsIWorkerDebugger to its nsIServiceWorkerInfo instance. r=ejpbruel
2015-12-15 03:10:53 -08:00
Fernando Jimenez
a3d950d1bd
Bug 1225121 - [B2G] All the rest of content processes crash if user tries to run app that uses Service Workers after restart. r=baku
2015-11-24 19:38:48 +01:00
Ben Kelly
252fa2e981
Bug 1226443 P6 Ignore update() called during top level service worker script evaluation. r=ehsan
2015-12-11 14:53:11 -05:00