Commit Graph

81 Commits

Author SHA1 Message Date
Nikhil Marathe
4b3d721ca7 Bug 1184798 - Update web-platform-tests expected data. a=testonly
--HG--
extra : commitid : 5leI52ZNA6Z
extra : rebase_source : 2fbac06440b248d26049c4a23c77851157e9f7e7
2015-09-21 23:20:57 -07:00
Nikhil Marathe
6f31e1cab7 Bug 1184798 - same origin, cors and no-cors load tests. r=bkelly
--HG--
extra : commitid : 8GodYVLHw9r
extra : rebase_source : 661a5eee4de989ba552a335c897c4da6f6e714ce
2015-09-17 12:57:50 -07:00
Nikhil Marathe
48d53f38df Bug 1184798 - Ensure workers loads are treated as non-subresource fetches. r=jdm
--HG--
extra : commitid : KSrA2sDx3MI
extra : rebase_source : c28988811316aa40e38752669a928d27750001b6
2015-09-17 11:56:41 -07:00
Nikhil Marathe
7ca77d3083 Bug 1189671 - Fix getregistrations test. r=jgraham
Moves the test to .https so it actually works.

Switches to using promise_test like the current blink test since sequential promise is not implemented and not needed.

compares registrations by scope since getRegistrations() produces new objects every time.

Change the with_iframe() call for the remote frame registration to actually
wait till the remote register() finishes so there is a valid registration to
unregister() when the frame receives a message.

--HG--
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/getregistrations.https.html
extra : commitid : COWgSA2yLxV
extra : rebase_source : e50bae30d93459c78223b99bb540a0503a75a59f
2015-09-14 12:58:09 -07:00
Bobby Holley
15e1767e1c Bug 1189668 - Check CSP before completing channel interception. r=ehsan 2015-09-20 00:32:14 -07:00
Nikhil Marathe
ea511956c4 Bug 1186857 - Update web-platform-tests expected data. r=jgraham
Comparing scopes for now, added a note to Bug 1201127 to fix this.

--HG--
extra : commitid : DSVnlHJ05qW
extra : rebase_source : 73bb517f418509b0200c8932ff3672dd7743dc4c
2015-09-08 16:45:42 -07:00
Nikhil Marathe
e917102de7 Bug 1181038 - Add performance timing worker. r=jgraham
This adds the file and fixes the path to make the test run. We do not support
performance timing on workers yet. I filed Bug 1203749 for that.

Update web-platform-tests expected data

--HG--
extra : commitid : HEwSN1cDr9v
extra : rebase_source : 37253f7492393990c83e103d27f9edf0d5e92cc3
2015-09-10 15:33:44 -07:00
James Graham
4d0fe31fbc Bug 1105760 - Increase timeout for unstable Media Source test, rs=Ms2ger 2015-09-18 13:25:06 +01:00
James Graham
f6fc85a3cd Bug 1197365 - Update metadata for web-platform-tests-e10s a=testonly 2015-09-18 10:04:43 +01:00
Wes Kocher
40cee6104d Backed out changeset 156b6847bbb4 (bug 1186857) for w(4) bustage CLOSED TREE 2015-09-17 11:41:27 -07:00
Wes Kocher
4612e85891 Backed out changeset 4c9d2dab60f3 (bug 1181038) for w(4) failures CLOSED TREE 2015-09-17 11:40:19 -07:00
Nikhil Marathe
02200bf09b Bug 1186857 - Update web-platform-tests expected data. r=jgraham
Comparing scopes for now, added a note to Bug 1201127 to fix this.

--HG--
extra : transplant_source : s%BBQ%7FA%85%09%B0%20%0C%892%FF6r%DDwC%DCL
2015-09-08 16:45:42 -07:00
Nikhil Marathe
df85d62529 Bug 1181038 - Add performance timing worker. r=jgraham
This adds the file and fixes the path to make the test run. We do not support
performance timing on workers yet. I filed Bug 1203749 for that.

Update web-platform-tests expected data

--HG--
extra : transplant_source : %08%15%F7%AA%BA%92%1B%8E%7B%83-%ED%5C%B7M%E2%ADW%10%D2
2015-09-10 15:33:44 -07:00
Nikhil Marathe
87b10b0dd5 Bug 1186833 - register-same-scope-different-script-url.https.html fixes. r=bkelly
Update web-platform-tests expected data

--HG--
extra : commitid : 9yd5tNcT5rG
extra : rebase_source : 8478afbeae962f7decac7ab55fa5ea8f39eb4878
2015-09-08 12:56:40 -07:00
Nikhil Marathe
27dc5baf98 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

--HG--
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.https.html
extra : commitid : C4Q8TfxbzfH
extra : rebase_source : 83a82df0f4f70978da5d8f2a4b19f692c1dedf8f
2015-08-31 17:52:52 -07:00
Nikhil Marathe
c68bfd1bc3 Bug 1189656 - Fix fetch-request-fallback test paths. r=bkelly
Update web-platform-tests expected data

--HG--
extra : commitid : 66I37Isc5zz
extra : rebase_source : dbef1623c5f8f3c0304c7f6eca0deef28ccb6604
2015-09-10 16:45:54 -07:00
Nikhil Marathe
907cf30575 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

--HG--
extra : commitid : 5wxfXcf5ezO
extra : rebase_source : 99876b20fe9fcb7b30f35aa16a4f08edfb1351f9
2015-09-10 16:05:41 -07:00
Nikhil Marathe
9f70e83ae6 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

--HG--
extra : commitid : Cd1cCh2KEx8
extra : rebase_source : 7f9ff12bac62c426d4949b99840728cac439c864
2015-09-10 16:24:43 -07:00
James Graham
2aef7bd856 Bug 1204461 - Update web-platform-tests expected data to revision 3f82dd41c8e3697bfe5fa5c57321c842b65ba2aa, a=testonly
--HG--
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/extensions-to-element-interface/methods/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/extensions-to-element-interface/methods/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/extensions-to-event-interface/event-path-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/extensions-to-event-interface/event-path-001.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/extensions-to-event-interface/event-path-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/extensions-to-event-interface/event-path-002.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/activeElement-confirm-return-null.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/activeElement-confirm-return-null.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/test-007.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-attributes/test-007.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-004.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-004.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-006.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-006.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-007.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-007.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-content-html-element/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-content-html-element/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-content-html-element/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-content-html-element/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-content-html-element/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-content-html-element/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-content-html-element/test-005.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-content-html-element/test-005.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-shadow-html-element/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-shadow-html-element/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-shadow-html-element/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-shadow-html-element/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/elements-and-dom-objects/the-shadow-html-element/test-004.html.ini => testing/web-platform/meta/shadow-dom/untriaged/elements-and-dom-objects/the-shadow-html-element/test-004.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-005.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-005.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-007.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-007.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-008.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-008.html.ini
rename : testing/web-platform/meta/shadow-dom/events/events-that-are-always-stopped/test-009.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/events-that-are-always-stopped/test-009.html.ini
rename : testing/web-platform/meta/shadow-dom/events/retargeting-focus-events/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/retargeting-focus-events/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/events/retargeting-focus-events/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/retargeting-focus-events/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/events/retargeting-relatedtarget/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/retargeting-relatedtarget/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/events/retargeting-relatedtarget/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/retargeting-relatedtarget/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/events/retargeting-relatedtarget/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/retargeting-relatedtarget/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/events/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/events/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/html-elements-and-their-shadow-trees/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/html-elements-and-their-shadow-trees/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/html-elements-and-their-shadow-trees/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/html-elements-and-their-shadow-trees/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/html-elements-in-shadow-trees/html-forms/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/html-elements-in-shadow-trees/html-forms/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/composition/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/composition/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/content-pseudo-element/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/content-pseudo-element/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/content-pseudo-element/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/content-pseudo-element/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/custom-pseudo-elements/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/custom-pseudo-elements/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/lower-boundary-encapsulation/test-004.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/lower-boundary-encapsulation/test-004.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/rendering-shadow-trees/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/rendering-shadow-trees/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/upper-boundary-encapsulation/test-005.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-005.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/upper-boundary-encapsulation/test-007.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-007.html.ini
rename : testing/web-platform/meta/shadow-dom/shadow-trees/upper-boundary-encapsulation/test-009.html.ini => testing/web-platform/meta/shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-009.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/css-variables/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/css-variables/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/deep-combinator/deep-combinator-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/deep-combinator/deep-combinator-001.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/shadow-pseudoelement/shadow-pseudoelement-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/shadow-pseudoelement/shadow-pseudoelement-001.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/test-005.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/test-005.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/test-007.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/test-007.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/test-008.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/test-008.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/test-009.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/test-009.html.ini
rename : testing/web-platform/meta/shadow-dom/styles/test-010.html.ini => testing/web-platform/meta/shadow-dom/untriaged/styles/test-010.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/active-element/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/active-element/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/active-element/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/active-element/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/focus-navigation/test-001.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/focus-navigation/test-001.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/focus-navigation/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/focus-navigation/test-002.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/focus-navigation/test-003.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/focus-navigation/test-003.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/focus-navigation/test-004.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/focus-navigation/test-004.html.ini
rename : testing/web-platform/meta/shadow-dom/user-interaction/ranges-and-selections/test-002.html.ini => testing/web-platform/meta/shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html.ini
2015-09-14 12:19:09 +01:00
James Graham
f2060ce042 Bug 1203906 - Disable some unstable wpt tests when running with e10s enabled, a=testonly 2015-09-14 12:19:09 +01:00
Michael Layzell
4c43f6c3b5 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
Carsten "Tomcat" Book
5a39b1f570 Backed out 1 changesets (bug 1198636) for causing w4 test failures on a CLOSED TREE
Backed out changeset 0f7315aa8f6b (bug 1198636)

--HG--
extra : rebase_source : fbd4cf5c1983e5a57618b1d00d0d75fad71e9f5b
2015-09-10 11:36:43 +02:00
Nigel Babu
425d7f3817 Backed out changeset 6f01338ecce9 (bug 1186833) for web platform test bustage 2015-09-10 14:09:51 +05:30
Nigel Babu
d7fb218516 Backed out changeset 1dbf68298734 (bug 1180754) for web platform test failures ON A CLOSED TREE
--HG--
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.https.html => testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.sub.html
extra : amend_source : 20669cf5d43541582bd51c27341334e40e5bc33a
2015-09-10 13:10:30 +05:30
Nikhil Marathe
34d95d44bf 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

--HG--
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.https.html
extra : commitid : FdkKoMW3YAD
extra : rebase_source : bbece1fa3fd431ef8102b5edd154387416e4eef6
extra : source : dd3fd15e5522ce319fe4f6387934e8664b14a0be
2015-08-31 17:52:52 -07:00
Nikhil Marathe
310a2420da Bug 1198636 - Remove incorrect ini file. r=bkelly
Bug 1189678 forgot to remove the ini file itself though the expectation data was updated.

--HG--
extra : commitid : BZjQyf7fuwo
extra : rebase_source : 57e2e305628b3f9624a548b83e54055e803cbcfb
extra : source : 97d3c0679108798e847e630cc8d07ea20f583e32
2015-09-08 16:57:03 -07:00
Nikhil Marathe
232a5892cb Bug 1186833 - register-same-scope-different-script-url.https.html fixes. r=bkelly
Update web-platform-tests expected data

--HG--
extra : commitid : 1r6fVuNoGBQ
extra : rebase_source : 88c59299e8bf31c4e5cade023fd33e2dba25890c
extra : source : abf8bb1b538a7d1172a732677b6b194bc10470b8
2015-09-08 12:56:40 -07:00
Nikhil Marathe
cd9d0eb7ab Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data

--HG--
extra : commitid : 4dM6kivKeAc
extra : rebase_source : 64e40258a98b79064d5073422811fb8e1f688735
2015-09-04 12:00:24 -07:00
Nikhil Marathe
6bca486f91 Bug 1181036 - Fix waiting/active expectations. r=bkelly
Update web-platform-tests expected data

--HG--
extra : rebase_source : 83a57e62ecba169f71eb60684d343123c1fd778a
2015-08-31 16:59:38 -07:00
Nikhil Marathe
36bcd145f3 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

--HG--
extra : commitid : xsUJKRuR7r
extra : rebase_source : 1ffd68028b15304fde30d82207db168e78837a17
extra : amend_source : c06d0ab87f241904401efe88064190ce940fceb9
2015-08-28 17:06:00 -07:00
Kyle Huey
f9c94d4c04 Bug 1200884: Make postmessage-to-client.https.html pass. r=jdm 2015-09-02 17:17:09 -07:00
Kyle Huey
f26125be1a Bug 1200843: Make fetch-mixed-content tests pass. r=jdm 2015-09-02 17:17:01 -07:00
Nikhil Marathe
43be510baf 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

--HG--
extra : commitid : 9XzorHqlWDi
extra : rebase_source : a02d66beb08f4eee83f27c21a6fee1178aeea71e
2015-08-31 18:56:21 -07:00
Ben Kelly
cd37a8aa61 Bug 1184967 P2 Update fetch-frame-resource.https.html CORS checks to expect pass. r=jgraham 2015-09-01 07:58:34 -07:00
Ben Kelly
3209deabd0 Bug 1184607 P9 Add wpt tests to verify service worker redirect logic. r=nsm 2015-08-31 14:26:30 -07:00
Ryan VanderMeulen
71d14cf3e9 Bug 1199846 - Mark uncontrolled-page.https.html as passing.
CLOSED TREE

--HG--
extra : rebase_source : 6b6a30a51e2279cb34e13952dd01822a1950b600
2015-08-30 16:02:11 -04:00
Kyle Huey
60161c1627 Bug 1199846: Make uncontrolled-page.https.html pass. r=jdm 2015-08-30 10:33:41 -07:00
Kyle Huey
8ccb0c0968 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
d59ba9f2b0 Bug 1189582 - Fix test-response-xhr.https.html and expectation data. r=nsm
--HG--
extra : commitid : ITggF54pMVp
extra : rebase_source : d4f555523ee89afd53d7d1cbbb578f9c37da6453
2015-07-30 21:27:34 -04:00
James Graham
5cceca4bb9 Bug 1199127 - Update web-platform-tests expected data to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly 2015-08-27 09:41:22 +01:00
Nikhil Marathe
fe819ad8d7 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.

--HG--
extra : commitid : IxWo2IVUweU
extra : rebase_source : c3c1ead153027bf84e7f239fd7125224fe25c3c0
2015-08-19 16:21:25 -07:00
Nikhil Marathe
4c9e7f769a 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

--HG--
extra : commitid : EnJ0U5Ns3cn
extra : rebase_source : 17b002ca8e1d2e166c8b09cf01f6e8b2fd98d152
2015-08-21 17:55:50 -07:00
Nikhil Marathe
c04b01b1ed Bug 1189675 - Make all ServiceWorker events non cancelable. r=catalinb
Update web-platform-tests expected data

--HG--
extra : commitid : 5HEP46MV77P
extra : rebase_source : 5234b551a4e9cf2bf014f4ee0396d9dcdd9f6dac
2015-08-21 17:38:18 -07:00
Nikhil Marathe
b540329bb9 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

--HG--
extra : commitid : IawOgxEfc79
extra : rebase_source : e6fcc47c873fd9f71f51a67303a6566bf0c0dd21
extra : amend_source : 787990406129722a3c58ff78782d778823daf2bf
2015-08-24 14:42:14 -07:00
Nikhil Marathe
57a800ee54 Bug 1189661 - either of active or waiting can be valid. r=bkelly
Update wpt expectation data.

--HG--
extra : commitid : 7J4o18ypDL6
extra : rebase_source : 3395d0a21d9001bc4d31a8dc264e9f5ba58b757f
2015-08-24 14:43:16 -07:00
Ryan VanderMeulen
ad4abd6428 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
0c396f1ea8 Bug 1189661 - Update wpt expectation data. a=bustage.
CLOSED TREE

--HG--
extra : commitid : 7POVxDnFGS0
2015-08-24 13:59:46 -07:00
Nikhil Marathe
27810d579d 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

--HG--
extra : commitid : DpfHRFtmiSz
extra : rebase_source : 4189ef3867c15d9962628a2fa0059a354d234c3e
2015-08-21 17:55:50 -07:00
Nikhil Marathe
d812469212 Bug 1189675 - Make all ServiceWorker events non cancelable. r=catalinb
Update web-platform-tests expected data

--HG--
extra : commitid : 61GwTtITUOa
extra : rebase_source : e5b0dfe482d4104cdab97c511e09c4b346f0eacd
2015-08-21 17:38:18 -07:00
Nikhil Marathe
0a089b35b0 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

--HG--
extra : commitid : 1jnUWlyw4zQ
extra : rebase_source : 3e2ac14a2f1ebc6fbfc322bb1914feb47f261349
2015-08-21 16:13:54 -07:00