Commit Graph

516 Commits

Author SHA1 Message Date
Lee Salzman
d87f44929e Bug 655328 - remove failure meta-data for WPT for 2dcontext/drawing-images-to-the-canvas/drawimage_canvas_8.html. r=jmuizelaar 2015-09-11 10:13:11 -04:00
Lee Salzman
c506c912c6 Bug 1074733 - Part 3 - remove failure meta-data for WPT tests with canvas drawImage with negative rects. r=james 2015-09-10 13:01:18 -04:00
Nikhil Marathe
1ceb8ce252 Bug 1189656 - Fix fetch-request-fallback test paths. r=bkelly
Update web-platform-tests expected data
2015-09-10 16:45:54 -07:00
Nikhil Marathe
b74da019db Bug 1189686 - Disable unsupported sections. r=catalinb
This makes sure the test does not timeout. Due to the way the test is written,
failures are reported on the console rather than immediately failing the test,
which was leading to the timeouts. I have commented in Bug 1130685 to re-enable
these.

Update web-platform-tests expected data
2015-09-10 16:05:41 -07:00
Nikhil Marathe
01b54b8d03 Bug 1189653 - Wait for frame to be loaded and test to finish. r=bkelly
This test seems to work on central but fails due to a timing issue where the
channel may receive the message before the with_iframe() call resolves the next
promise to set the global variable `frame`.  This patch tweaks the test to
resolve a promise instead when the test is done and then wait on the
with_iframe() promise and the test promise.

Update web-platform-tests expected data
2015-09-10 16:24:43 -07:00
James Graham
6340cb0e80 Bug 1204461 - Update web-platform-tests expected data to revision 3f82dd41c8e3697bfe5fa5c57321c842b65ba2aa, a=testonly 2015-09-14 12:19:09 +01:00
James Graham
c4e64d62f0 Bug 1203906 - Disable some unstable wpt tests when running with e10s enabled, a=testonly 2015-09-14 12:19:09 +01:00
James Graham
68941f8054 Bug 1204461 - Update web-platform-tests to revision 3f82dd41c8e3697bfe5fa5c57321c842b65ba2aa, a=testonly 2015-09-14 12:19:08 +01:00
Michael Layzell
6e510adb74 Bug 1200337 - Part 2: Add a Web Platform Test to check the visibility of default headers during interception, r=bkelly 2015-09-12 12:46:10 -04:00
Michael Layzell
fb1ec1ec20 Bug 1188932 - Allow the User-Agent header to be explicitly set by requests, r=bkelly, r=jgraham 2015-09-12 12:46:09 -04:00
Henri Sivonen
22f651359b Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk. 2015-09-03 15:21:57 +03:00
Lee Salzman
ad580888ec Bug 1201272 followup, remove failure meta-data from WPT shadow tests, r=jgraham
CLOSED TREE
2015-09-10 12:35:28 -04:00
Phil Ringnalda
5d40ecf75a Back out 2 changesets (bug 912470) for static analysis bustage
CLOSED TREE

Backed out changeset 8ecf2f65d4f0 (bug 912470)
Backed out changeset 19af08a9c288 (bug 912470)
2015-09-10 09:37:51 -07:00
Henri Sivonen
60d9d8a2f0 Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk. 2015-09-03 15:21:57 +03:00
Carsten "Tomcat" Book
e4f665a26d Backed out 1 changesets (bug 1198636) for causing w4 test failures on a CLOSED TREE
Backed out changeset 0f7315aa8f6b (bug 1198636)
2015-09-10 11:36:43 +02:00
Nigel Babu
80feeb041e Backed out changeset c1f58ad695a3 (bug 1201632) for web platform test bustage ON A CLOSED TREE 2015-09-10 14:10:03 +05:30
Nigel Babu
df9476380b Backed out changeset 6f01338ecce9 (bug 1186833) for web platform test bustage 2015-09-10 14:09:51 +05:30
Nigel Babu
d421b78a08 Backed out changeset 1dbf68298734 (bug 1180754) for web platform test failures ON A CLOSED TREE 2015-09-10 13:10:30 +05:30
Nikhil Marathe
2f098f3bcf Bug 1180754 - Get serviceworkerobject-scripturl test passing. r=bkelly
This commit does several things:
1. Change to https so the test does not fail due to security exceptions.
2. Change function service_worker_unregister to get around the "getRegistration() matches most specific registration" issue by matching exact scope.
3. Uses the URL object for the "absolute" test instead of relying on server substitution since it achieves the same thing.
4. Allows fragments in the scriptURL since I cannot find anything in the spec preventing this. I have filed https://github.com/slightlyoff/ServiceWorker/issues/742 to resolve this.

Update web-platform-tests expected data
2015-08-31 17:52:52 -07:00
Nikhil Marathe
9c5c6b1cc4 Bug 1198636 - Remove incorrect ini file. r=bkelly
Bug 1189678 forgot to remove the ini file itself though the expectation data was updated.
2015-09-08 16:57:03 -07:00
Nikhil Marathe
40bf141a0d Bug 1186833 - register-same-scope-different-script-url.https.html fixes. r=bkelly
Update web-platform-tests expected data
2015-09-08 12:56:40 -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
Nikhil Marathe
41d10b9764 Bug 1201632 - wptserve.py should send JSON failure message with correct mime type. r=jgraham
According to the JSON RFC [1] the official mime type is "application/json". If
we do not send this, Gecko will not fire the onload event for a frame trying to
load such a URL but will instead load an error page.

Several service worker tests rely on loading 'fake' iframes that 404 but
contribute to the progress of the test by watching for the onload event.
These tests are fixed by this patch.

[1]: http://www.ietf.org/rfc/rfc4627.txt
2015-09-08 16:05:43 -07:00
Ehsan Akhgari
2b52b18a64 Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-09 07:54:33 -04:00
Nigel Babu
61855501b5 Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage. 2015-09-09 09:12:28 +05:30
Ehsan Akhgari
26ff686dbd Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-08 20:08:32 -04:00
Nikhil Marathe
7a785f28ec Bug 1181036 - Fix waiting/active expectations. r=bkelly
Update web-platform-tests expected data
2015-08-31 16:59:38 -07:00
James Graham
ca73fce3f0 Bug 1201822 - Update web-platform-tests expected data to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly 2015-09-04 10:39:27 +01:00
James Graham
07c8de4f02 Bug 1201822 - Update to latest wptrunner, a=testonly 2015-09-04 10:39:26 +01:00
James Graham
9b37007ee3 Bug 1201822 - Update web-platform-tests to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly 2015-09-04 10:39:26 +01:00
Nikhil Marathe
41c68c7aa3 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
bce4c195ad Bug 1200884: Make postmessage-to-client.https.html pass. r=jdm 2015-09-02 17:17:09 -07:00
Kyle Huey
a30211dfde Bug 1200843: Make fetch-mixed-content tests pass. r=jdm 2015-09-02 17:17:01 -07:00
Nikhil Marathe
2eb4206a08 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
d10b0673ca 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
4f5f79290f Bug 1197365 - Enable e10s for web-platform-tests, r=ahal,Ms2ger 2015-09-01 14:10:17 +01:00
Ben Kelly
76c12346b3 Bug 1184607 P9 Add wpt tests to verify service worker redirect logic. r=nsm 2015-08-31 14:26:30 -07:00
Ryan VanderMeulen
ee8e70a066 Bug 1199846 - Mark uncontrolled-page.https.html as passing.
CLOSED TREE
2015-08-30 16:02:11 -04:00
Ryan VanderMeulen
5f6b2ba059 Bug 1198982 - Mark WorkerGlobalScope_importScripts_NetworkErr.htm as passing now. 2015-08-30 16:00:10 -04:00
Kyle Huey
7bc668ecad Bug 1199846: Make uncontrolled-page.https.html pass. r=jdm 2015-08-30 10:33:41 -07:00
Kyle Huey
da52f1b0dc 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
94cf58081f Bug 1189582 - Fix test-response-xhr.https.html and expectation data. r=nsm 2015-07-30 21:27:34 -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
James Graham
3f3a9ad244 Bug 1199127 - Update web-platform-tests expected data to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:22 +01:00
James Graham
856912927d Bug 1199127 - Update to latest wptrunner, a=testonly 2015-08-27 09:41:21 +01:00
James Graham
a5b4bb0777 Bug 1199127 - Update web-platform-tests to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:20 +01:00
Emilio Cobos Álvarez
ae9dfd524f 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
47022afeee Bug 1184351 - Disable unstable CSP test on Linux debug builds, a=testonly 2015-08-26 12:37:59 +01:00
James Graham
6588a68f34 Bug 1193349 - Disable unstable image mutations test on Windows, a=testonly 2015-08-26 12:36:59 +01: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