Commit Graph

2078 Commits

Author SHA1 Message Date
Wes Kocher
85630f2326 Backed out 9 changesets (bug 1203680) for mochitest bustage CLOSED TREE
Backed out changeset e4733b9eb53c (bug 1203680)
Backed out changeset fb33eb2a55b0
Backed out changeset eb42e21bbb96 (bug 1203680)
Backed out changeset 86642d84e604 (bug 1203680)
Backed out changeset 1026da4b02fb (bug 1203680)
Backed out changeset 311f9810e0b3 (bug 1203680)
Backed out changeset 6fedc85dc0d9 (bug 1203680)
Backed out changeset b25230c0a193 (bug 1093357)
Backed out changeset 2369d63ef14a (bug 1203680)
2015-09-14 14:27:57 -07:00
Wes Kocher
e82fed5ab9 Backed out 2 changesets (bug 1204397) for serviceworkers bustage
CLOSED TREE?

Backed out changeset 01cf8bf2f3d7 (bug 1204397)
Backed out changeset 6abdb99b2b30 (bug 1204397)
2015-09-14 12:46:57 -07:00
Ben Kelly
21dfbd1ab0 Bug 1203680 P5 Make ServiceWorkerManager ensure channel upload stream is cloneable. r=nsm 2015-09-14 12:04:56 -07:00
Ben Kelly
6bdc03723f Bug 1203680 P1 Test file blob uploads with service worker interception. r=nsm 2015-09-14 12:04:56 -07:00
Ehsan Akhgari
8de3d79600 Bug 1204397 - Part 2: Recover from a double negative trap, r=me 2015-09-14 14:22:49 -04:00
Nikhil Marathe
2425638ccf Bug 1197012 - Fix ThrowTypeError in Notification. r=mccr8 2015-08-20 22:18:49 -07:00
Ehsan Akhgari
081602b787 Bug 1204397 - Fix the test expectations to expect service workers to be enabled only on Nightly for Fennec; r=baku 2015-09-14 12:26:51 -04:00
Josh Matthews
3ec4478d82 Bug 1198544 - Prevent FetchDriver from creating multiple responses if OnStopRequest yields a failing status code. r=nsm 2015-09-14 11:05:35 -04:00
Michael Layzell
6261581c48 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Michael Layzell
02543db9de Bug 1200337 - Part 1: Don't expose standard HTTP headers during interception in non-e10s mode, r=mcmanus 2015-09-12 12:46:09 -04:00
Botond Ballo
66fa665828 Bug 1198451 - Disambiguate mozilla::dom::Function from mozilla::Function. r=froydnj 2015-09-11 17:25:23 -04:00
Wes Kocher
35e586a335 Backed out changeset 132aa442af95 (bug 1198544) for browser_ManifestObtainer_obtain.js failures CLOSED TREE 2015-09-11 11:53:52 -07:00
Josh Matthews
8ac6e064a3 Bug 1198544 - Prevent FetchDriver from creating multiple responses if OnStopRequest yields a failing status code. r=nsm 2015-09-11 13:23:29 -04:00
Nicholas Nethercote
6b322647d6 Bug 1203357 - Fix MSVC warning in dom/workers/test/gtest/TestReadWrite.cpp. r=baku.
The particular warning here was complaining about an unsafe comparison between
a uint32_t and a bool.

Also, remove ALLOW_COMPILER_WARNINGS=True for this directory.
2015-09-10 08:02:30 -07:00
Nikhil Marathe
33d00f662c Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data
2015-09-04 12:00:24 -07:00
Ehsan Akhgari
3c37a03157 Bug 1203160 - Part 2: Fix the interfaces tests to allow SW interfaces for non-release Fennec; r=baku 2015-09-10 01:05:17 -04:00
Ehsan Akhgari
2b52b18a64 Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-09 07:54:33 -04:00
Ehsan Akhgari
ff4ef425c4 Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm 2015-09-09 07:53:50 -04:00
Nigel Babu
6f50c367d7 Backed out changeset 3555d4b1ab1e (bug 815299) for M4 bustage. 2015-09-09 09:12:31 +05:30
Nigel Babu
61855501b5 Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage. 2015-09-09 09:12:28 +05:30
Nigel Babu
d0d408866b Backed out changeset 9f3adfd2ca52 (bug 815299) for M4 bustage. 2015-09-09 09:12:24 +05:30
Ehsan Akhgari
c78500337b Bug 815299 - Part 4: Address jdm's review comments 2015-09-08 20:38:33 -04:00
Ehsan Akhgari
26ff686dbd Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-08 20:08:32 -04:00
Ehsan Akhgari
a385224dc2 Bug 815299 - Part 2: Accept empty HTTP headers in fetch; r=jdm 2015-09-08 20:08:31 -04:00
Andrea Marchesini
c42b9f54b5 Bug 1198814 - Use StructuredCloneHelper in PromiseWorkerProxy, r=smaug 2015-09-05 12:22:13 +03:00
Nikhil Marathe
53a8491d88 Bug 1197421 - Fix promise worker proxy cleanup and update callers. r=catalinb
Get rid of having users dispatch control runnables. It was error prone and
required too much reasoning. It was also possible to end up in a state where
callers would dispatch a WorkerRunnable, which would succeed, so they would not
dispatch a WorkerControlRunnable. Then the worker would stop Running,
canceling and releasing the runnable leading to releasing the proxy in an
unclean state. Instead, we AddRef() and add the feature and remove the feature
and Release() on Notify(). If callers successfully run a WorkerRunnable they
clean the proxy. If not, the proxy stays alive until the worker switches to
Canceling state.
2015-09-02 10:07:26 -07:00
Andrea Marchesini
8d4eb66ee6 Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
Ben Kelly
2a73d6f504 Bug 1184967 P3 Switch mochitest redirect tests back to returning a CORS Response. r=nsm 2015-09-01 07:58:34 -07:00
Ben Kelly
d6d91b04a2 Bug 1184967 P1 Set RequestMode based on LoadInfo securityMode and client request content policy. r=nsm 2015-09-01 07:58:34 -07:00
Ben Kelly
f5ec11ad6a Bug 1184607 P8 Fix mochitests to store opaqueredirect responses in Cache for navigation URLs. r=nsm 2015-08-31 14:26:30 -07:00
Ben Kelly
0fbb3b30fe Bug 1184607 P4 Handle the RequestRedirect mode during service worker interception. r=nsm
* * *
Bug 1184607 P4 interdiff 001 fix manual redirect assertion for navigations r=nsm
* * *
Bug 1184607 P4 interdiff 002 dom/worker nits
2015-08-31 14:26:29 -07:00
Ehsan Akhgari
17438b994c Bug 1199693 - Test CORS preflight interception with and without an internal redirect; r=jdm 2015-08-31 08:45:56 -04:00
Nicholas Nethercote
10d95cca57 Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Kyle Huey
88de6ba6e6 Bug 1198982: Test fixups. r=me 2015-08-30 11:42:28 -07:00
Kyle Huey
64fab8b2a4 Bug 1198982: Don't fail the SW load for an importScripts failure. r=bkelly 2015-08-30 10:31:52 -07:00
Michael Layzell
5fd427a324 Bug 1147821 - Update IndexedDB to use common StorageAllowedForWindow logic, r=khuey 2015-08-28 10:10:30 -04:00
Nikhil Marathe
03f2de8e31 Bug 1176988 - Patch 3 - Tests. r=jdm
Update web-platform-tests expected data
2015-08-26 08:59:04 -07:00
Andrea Marchesini
48a12252da Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 17:19:13 +01:00
Nigel Babu
435b7c53e4 Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE 2015-08-27 15:04:25 +05:30
Andrea Marchesini
1c24ffbc3b Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug 2015-08-27 09:06:09 +01:00
Phil Ringnalda
0dc46f2604 Back out f9edb5fe8fb9 (bug 1198982) for webplatform registration.https.html failures
CLOSED TREE
2015-08-26 21:36:40 -07:00
Kyle Huey
40b5c130fa Bug 1198982: Don't fail the SW load for an importScripts failure. r=bkelly 2015-08-26 19:21:03 -07:00
Nikhil Marathe
f2e8d79180 Bug 1180861 - Various ServiceWorker registration fixes to get test passing. r=bkelly,jgraham.
This commit implements the following changes to get registration.https.html working.
1) Fail with NS_ERROR_DOM_SECURITY_ERR where the spec requires it.
2) Propagate JSExnType to ServiceWorkerManager::HandleError() so that a JS
   exception object with the correct .name can be created.
3) Fail with security error on redirect failure.
4) Check fetched script's mimetype.
5) Add missing python server files for web-platform-tests.
6) Update web-platform-tests expected data.
7) Several tests have been changed to use TypeError or more appropriate JS
   errors based on my reading of the spec.
2015-08-19 16:21:25 -07:00
Andrea Marchesini
83f9396279 Bug 1185640 - serviceworker register() should not accept escaped slashes. r=bkelly 2015-08-19 13:23:58 -07:00
Kyle Huey
0106bdbc32 Bug 1164834: MessageEvents coming from postMessage should not be cancelable. r=Ms2ger 2015-08-25 13:30:19 -07:00
Nikhil Marathe
7e8f8a2320 Bug 1189675 - Make all ServiceWorker events non cancelable. r=catalinb
Update web-platform-tests expected data
2015-08-21 17:38:18 -07:00
Nikhil Marathe
31c44b01f4 Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb
waitUntil() has been updated to accept multiple calls and concatenate them into Promise.all().
activation does not fail any more even if the promise(s) passed to waitUntil() reject.

Update web-platform-tests expected data
2015-08-24 14:42:14 -07:00
Ryan VanderMeulen
3da35b0f50 Backed out 7 changesets (bug 1189678, bug 1193128, bug 1189661, bug 1189644, bug 1189675) for various serviceworker mochitest and wpt failures.
Backed out changeset 696463139720 (bug 1189661)
Backed out changeset 7babb5b9d74a (bug 1189644)
Backed out changeset d4fa5cfc4b86 (bug 1189678)
Backed out changeset a7c27770b861 (bug 1189675)
Backed out changeset 471a45b97ce2 (bug 1189644)
Backed out changeset 4d96f2d48077 (bug 1193128)
Backed out changeset a9d5366288ff (bug 1189661)

CLOSED TREE
2015-08-24 18:09:47 -04:00
Nikhil Marathe
ee46fc30c8 Bug 1189644 - Follow up to fix test. a=bustage
CLOSED TREE
2015-08-24 13:54:25 -07:00
Jose Antonio Olivera Ortega
dc8799ee26 Bug 1182103 - Test EventSource scenarios with fetch interception. r=bkelly 2015-08-24 06:32:00 -04:00