Commit Graph
492 Commits
Author SHA1 Message Date
Nigel Babu 723df0b91a Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage. 2015-09-09 09:12:28 +05:30
Ehsan Akhgari 9ead1adb32 Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-08 20:08:32 -04:00
Nikhil Marathe d2dcb114a4 Bug 1181036 - Fix waiting/active expectations. r=bkelly
Update web-platform-tests expected data
2015-08-31 16:59:38 -07:00
James Graham d3dca39f81 Bug 1201822 - Update web-platform-tests expected data to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly 2015-09-04 10:39:27 +01:00
James Graham 5e5a452cde Bug 1201822 - Update to latest wptrunner, a=testonly 2015-09-04 10:39:26 +01:00
James Graham 33971f56d8 Bug 1201822 - Update web-platform-tests to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly 2015-09-04 10:39:26 +01:00
Nikhil Marathe 1e11c8d898 Bug 1186832 - Fix multiple-register.https.html test. r=bkelly,jgraham
Standard scope comparison stuff for the most part. Added <body> tag so
document.body.appendChild() in with_iframe() works. I had to add a simple 404
script because <iframe> apparently only fires the onload event if the
content-type was text/plain or text/html but our test harness delivers JSON by
default leading to timeouts.

Update web-platform-tests expected data
2015-08-28 17:06:00 -07:00
Kyle Huey d8f60bb4f7 Bug 1200884: Make postmessage-to-client.https.html pass. r=jdm 2015-09-02 17:17:09 -07:00
Kyle Huey 1de3fe01cd Bug 1200843: Make fetch-mixed-content tests pass. r=jdm 2015-09-02 17:17:01 -07:00
Nikhil Marathe 557459a544 Bug 1180737 - Add update-test.py and update test to latest version. r=bkelly.
Added update-test.py which is a conversion of Blink update-test.php to deliver workers with different mime types.
Updated test file to latest version to check for SecurityError.
Dealt with the usual waiting/active issue.
Update web-platform-tests expected data
2015-08-31 18:56:21 -07:00
Ben Kelly c299ffc9c2 Bug 1184967 P2 Update fetch-frame-resource.https.html CORS checks to expect pass. r=jgraham 2015-09-01 07:58:34 -07:00
James Graham 219a61aff5 Bug 1197365 - Enable e10s for web-platform-tests, r=ahal,Ms2ger 2015-09-01 14:10:17 +01:00
Ben Kelly 312c84ef3a Bug 1184607 P9 Add wpt tests to verify service worker redirect logic. r=nsm 2015-08-31 14:26:30 -07:00
Ryan VanderMeulen 29cfb8cdb3 Bug 1199846 - Mark uncontrolled-page.https.html as passing.
CLOSED TREE
2015-08-30 16:02:11 -04:00
Ryan VanderMeulen fd4daa67bf Bug 1198982 - Mark WorkerGlobalScope_importScripts_NetworkErr.htm as passing now. 2015-08-30 16:00:10 -04:00
Kyle Huey 26b1c33c42 Bug 1199846: Make uncontrolled-page.https.html pass. r=jdm 2015-08-30 10:33:41 -07:00
Kyle Huey 65de05ca0f Bug 1199831: Fix a bunch of mixed-content violations in imported ServiceWorker WPTs. r=jdm 2015-08-28 16:53:43 -07:00
Josh Matthews 637143e3ad Bug 1189582 - Fix test-response-xhr.https.html and expectation data. r=nsm 2015-07-30 21:27:34 -04:00
Nikhil Marathe 5539309134 Bug 1176988 - Patch 3 - Tests. r=jdm
Update web-platform-tests expected data
2015-08-26 08:59:04 -07:00
James Graham 1b1fb7387f Bug 1199127 - Update web-platform-tests expected data to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:22 +01:00
James Graham cbf1b466b3 Bug 1199127 - Update to latest wptrunner, a=testonly 2015-08-27 09:41:21 +01:00
James Graham fb182c2756 Bug 1199127 - Update web-platform-tests to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:20 +01:00
Emilio Cobos Álvarez 06967b1521 Bug 1195820 - Request constructor should throw TypeError if URL has credentials or parse fails. r=bkelly 2015-08-24 22:54:52 +02:00
James Graham f855de5943 Bug 1184351 - Disable unstable CSP test on Linux debug builds, a=testonly 2015-08-26 12:37:59 +01:00
James Graham f3fa6f36f5 Bug 1193349 - Disable unstable image mutations test on Windows, a=testonly 2015-08-26 12:36:59 +01:00
Nikhil Marathe 4d4496194c 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
Kyle Huey b70b9d5bda Bug 1164834: MessageEvents coming from postMessage should not be cancelable. r=Ms2ger 2015-08-25 13:30:19 -07:00
Nikhil Marathe 4616e83467 Bug 1189678 - check if worker is already active. r=bkelly
Similar to other tests, the registration process allows workers to activate right after install.

Update web-platform-tests expected data
2015-08-21 17:55:50 -07:00
Nikhil Marathe b4171a40d2 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 a893799921 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
Nikhil Marathe f7c1507139 Bug 1189661 - either of active or waiting can be valid. r=bkelly
Update wpt expectation data.
2015-08-24 14:43:16 -07:00
Wei-Cheng Pan 3e70ba118b Bug 1050749 - Expose BatteryManager via getBattery() returning a Promise. r=bz, r=baku, r=jgraham 2015-08-21 18:29:25 +08:00
Ryan VanderMeulen 3bae12ba59 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 37d639c32e Bug 1189661 - Update wpt expectation data. a=bustage.
CLOSED TREE
2015-08-24 13:59:46 -07:00
Nikhil Marathe d84b300c05 Bug 1189678 - check if worker is already active. r=bkelly
Similar to other tests, the registration process allows workers to activate right after install.

Update web-platform-tests expected data
2015-08-21 17:55:50 -07:00
Nikhil Marathe 0e0500319f 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 557b58d3a9 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-21 16:13:54 -07:00
Nikhil Marathe 503724559d Bug 1189661 - either of active or waiting can be valid. r=bkelly 2015-08-21 14:25:46 -07:00
Jean-Yves Avenard 6bdb029cba Bug 1188806: [MSE] Disable tests timing out intermittently. r=karlt
MSE with MP4 isn't enabled on linux, so those tests should always be failing.
2015-08-24 23:13:52 +10:00
Jean-Yves Avenard e1b7821dde Bug 1195073: [MSE] P9. Update webref meta files. r=karlt
Remove unecessary files.
2015-08-24 23:13:51 +10:00
Jean-Yves Avenard 3b5d99020f Bug 1195073: [MSE] P8. Update webref results. r=karlt 2015-08-24 23:13:51 +10:00
Sebastian Hengst c3d6d5e487 Backed out changeset aed2e9e74697 (bug 1195073) because it will now pass unexpected due to the previous backout. r=backout 2015-08-21 11:26:39 +02:00
Jean-Yves Avenard 08649218b0 Bug 1195073: [MSE] P7. Disable invalid webm test. a=test-only 2015-08-21 17:53:30 +10:00
Nikhil Marathe 1927b0c1a1 Bug 1181056 - waitUntil() should throw if called when event is not dispatching. r=smaug 2015-08-18 16:28:04 -07:00
Nikhil Marathe cffa658fc5 Bug 1181039 - ServiceWorkerRegistration must be compared by scope. r=bkelly
The spec for getRegistration() and getRegistrations() states:

    "Resolve promise with a ServiceWorkerRegistration object, setting its
    service worker client to service worker client, which represents
    registration."

indicating a new ServiceWorkerRegistration is created per call. The existing
Blink test depends on Blink's implementation detail which caches the
registration.
2015-08-19 08:55:01 -07:00
Nikhil Marathe 40088881fa Bug 1181037 - Use entry settings object's base URL. r=ehsan
The second test, which checks for NetworkError is incorrect.
[[Update]] step 12 states:
"If response is a network error or response's status is not in the range 200 to 299, then:
  1. Reject p with a TypeError."

which specifically converts the NetworkError (due to 404) to a TypeError.

Also fixes controller-on-reload.https.html

Update web-platform-tests expected data
2015-08-20 13:56:37 -07:00
Jan Gerber 5bbd2fec3d Bug 1194632 - Add bug link to mediasource-is-type-supported failures. r=Ms2ger 2015-08-14 03:27:00 -04:00
William Chen 24793a0aee Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku 2015-08-18 14:55:21 -07:00
Catalin Badea a31f198045 Bug 1193133 - Disable broken service worker wpt tests. r=bkelly 2015-08-17 10:38:34 -07:00
Catalin Badea c8a9f03c72 Bug 1193133 - Throw when calling postMessage from a Service Worker dom object with no global. r=bkelly 2015-08-17 10:38:34 -07:00