Commit Graph

504 Commits

Author SHA1 Message Date
Phil Ringnalda
354efcb7fe 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
bb0b66e366 Bug 912470 part 2 - Implement Encoding Standard-compliant big5 encoder. r=emk.
--HG--
rename : intl/uconv/ucvtw/nsBIG5DecoderData.h => intl/uconv/ucvtw/nsBIG5Data.cpp
rename : testing/web-platform/tests/encoding/gbk-encoder.html => testing/web-platform/tests/encoding/big5-encoder.html
2015-09-03 15:21:57 +03: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
8e23eae397 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
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
04bf053d91 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

--HG--
extra : commitid : 1sHk7zvboJq
extra : rebase_source : 40b4891a3ba1d485e4cb82bca9a0d0cb507b8744
extra : source : 03f74eacbc7569bc6e425f0d4fd7dceaa0e3f3b3
2015-09-08 16:05:43 -07:00
Ehsan Akhgari
06394a9a8b Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-09 07:54:33 -04:00
Nigel Babu
ee4f599e0f Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage. 2015-09-09 09:12:28 +05:30
Ehsan Akhgari
617067e78e Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-08 20:08:32 -04: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
James Graham
ac80d2a45f Bug 1201822 - Update web-platform-tests expected data to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly
--HG--
rename : testing/web-platform/meta/quirks-mode/font-element-text-decoration-color/001-a.html.ini => testing/web-platform/meta/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a.html.ini
rename : testing/web-platform/meta/quirks-mode/font-element-text-decoration-color/001-q.html.ini => testing/web-platform/meta/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-q.html.ini
rename : testing/web-platform/meta/quirks-mode/font-element-text-decoration-color/001-s.html.ini => testing/web-platform/meta/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-s.html.ini
rename : testing/web-platform/meta/quirks-mode/font-element-text-decoration-color/001-x.xhtml.ini => testing/web-platform/meta/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-x.xhtml.ini
2015-09-04 10:39:27 +01:00
James Graham
0cacc30a87 Bug 1201822 - Update to latest wptrunner, a=testonly 2015-09-04 10:39:26 +01:00
James Graham
1ddbbd48c5 Bug 1201822 - Update web-platform-tests to revision d0571e01e1a2e4b8c5f696af2f81cbc1be9a5842, a=testonly
--HG--
rename : testing/web-platform/tests/content-security-policy/blink-contrib/combine-multiple-policies.sub.html.sub.headers => testing/web-platform/tests/content-security-policy/blink-contrib/combine-header-and-meta-policies.sub.html.sub.headers
rename : testing/web-platform/tests/content-security-policy/blink-contrib/resources/shared-worker-make-xhr-blocked.js.sub.headers => testing/web-platform/tests/content-security-policy/blink-contrib/resources/shared-worker-make-xhr-blocked.sub.js.sub.headers
rename : testing/web-platform/tests/content-security-policy/blink-contrib/resources/worker-make-xhr-blocked.js.sub.headers => testing/web-platform/tests/content-security-policy/blink-contrib/resources/worker-make-xhr-blocked.sub.js.sub.headers
rename : testing/web-platform/tests/quirks-mode/font-element-text-decoration-color/001-a.html => testing/web-platform/tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a.html
rename : testing/web-platform/tests/quirks-mode/font-element-text-decoration-color/001-q.html => testing/web-platform/tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-q.html
rename : testing/web-platform/tests/quirks-mode/font-element-text-decoration-color/001-ref.html => testing/web-platform/tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-ref.html
rename : testing/web-platform/tests/quirks-mode/font-element-text-decoration-color/001-s.html => testing/web-platform/tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-s.html
rename : testing/web-platform/tests/quirks-mode/font-element-text-decoration-color/001-x.xhtml => testing/web-platform/tests/html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-x.xhtml
2015-09-04 10:39:26 +01: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
James Graham
95ed9487e0 Bug 1197365 - Enable e10s for web-platform-tests, r=ahal,Ms2ger 2015-09-01 14:10:17 +01: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
Ryan VanderMeulen
0e85e4d32d Bug 1198982 - Mark WorkerGlobalScope_importScripts_NetworkErr.htm as passing now.
--HG--
extra : rebase_source : 6a1f3ad2bd85357acf21e91b2082965c767831ff
2015-08-30 16:00:10 -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
Nikhil Marathe
1c97261710 Bug 1176988 - Patch 3 - Tests. r=jdm
Update web-platform-tests expected data

--HG--
extra : commitid : KmmRlr87yvj
extra : rebase_source : 7e7ba00d6f0da2c0dfdfe98c50675d4721a6f2a2
2015-08-26 08:59:04 -07: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
James Graham
43f2a4b368 Bug 1199127 - Update to latest wptrunner, a=testonly 2015-08-27 09:41:21 +01:00
James Graham
6c88ac5bca Bug 1199127 - Update web-platform-tests to revision 4600b7dbae996754fe52f48bc9c225834f11a686, a=testonly
--HG--
rename : testing/web-platform/tests/animation-timing/callback-invoked.html => testing/web-platform/tests/html/webappapis/animation-frames/callback-invoked.html
rename : testing/web-platform/tests/animation-timing/cancel-invoked.html => testing/web-platform/tests/html/webappapis/animation-frames/cancel-invoked.html
rename : testing/web-platform/tests/animation-timing/idlharness.html => testing/web-platform/tests/html/webappapis/animation-frames/idlharness.html
rename : testing/web-platform/tests/animation-timing/same-dispatch-time.html => testing/web-platform/tests/html/webappapis/animation-frames/same-dispatch-time.html
rename : testing/web-platform/tests/selection/dir.manual.html => testing/web-platform/tests/selection/dir-manual.html
2015-08-27 09:41:20 +01:00
Emilio Cobos Álvarez
aa45c6c3e7 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
1be2821e02 Bug 1184351 - Disable unstable CSP test on Linux debug builds, a=testonly 2015-08-26 12:37:59 +01:00
James Graham
9c925d97c1 Bug 1193349 - Disable unstable image mutations test on Windows, a=testonly 2015-08-26 12:36:59 +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
Kyle Huey
0b8e80b981 Bug 1164834: MessageEvents coming from postMessage should not be cancelable. r=Ms2ger 2015-08-25 13:30:19 -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
Wei-Cheng Pan
78ad28ee88 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
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
Nikhil Marathe
3ca68b86d2 Bug 1189661 - either of active or waiting can be valid. r=bkelly
--HG--
extra : commitid : 6RVtR0dit7U
extra : rebase_source : f088ebc886d984a13bd3fc30ae38e151e629cf13
2015-08-21 14:25:46 -07:00