Title: [228255] trunk/LayoutTests
- Revision
- 228255
- Author
- [email protected]
- Date
- 2018-02-07 18:29:57 -0800 (Wed, 07 Feb 2018)
Log Message
Remove www1/www2 URLs from service worker tests
https://bugs.webkit.org/show_bug.cgi?id=182548
Patch by Youenn Fablet <[email protected]> on 2018-02-07
Reviewed by Chris Dumez.
LayoutTests/imported/w3c:
* web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https-expected.txt:
* web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html:
* web-platform-tests/service-workers/service-worker/update-bytecheck.https.html:
LayoutTests:
* TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (228254 => 228255)
--- trunk/LayoutTests/ChangeLog 2018-02-08 02:25:37 UTC (rev 228254)
+++ trunk/LayoutTests/ChangeLog 2018-02-08 02:29:57 UTC (rev 228255)
@@ -1,3 +1,12 @@
+2018-02-07 Youenn Fablet <[email protected]>
+
+ Remove www1/www2 URLs from service worker tests
+ https://bugs.webkit.org/show_bug.cgi?id=182548
+
+ Reviewed by Chris Dumez.
+
+ * TestExpectations:
+
2018-02-07 John Wilander <[email protected]>
Switch testRunner.installStatisticsDidModifyDataRecordsCallback() to testRunner.installStatisticsDidScanDataRecordsCallback() in two tests
Modified: trunk/LayoutTests/TestExpectations (228254 => 228255)
--- trunk/LayoutTests/TestExpectations 2018-02-08 02:25:37 UTC (rev 228254)
+++ trunk/LayoutTests/TestExpectations 2018-02-08 02:29:57 UTC (rev 228255)
@@ -153,7 +153,6 @@
# Skip service worker tests that are timing out.
imported/w3c/web-platform-tests/fetch/api/abort/general-serviceworker.https.html [ Skip ]
-imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html [ Skip ]
imported/w3c/web-platform-tests/service-workers/service-worker/performance-timeline.https.html [ Skip ]
imported/w3c/web-platform-tests/service-workers/service-worker/postmessage.https.html [ Skip ]
imported/w3c/web-platform-tests/service-workers/service-worker/respond-with-body-accessed-response.https.html [ Skip ]
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (228254 => 228255)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2018-02-08 02:25:37 UTC (rev 228254)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2018-02-08 02:29:57 UTC (rev 228255)
@@ -1,3 +1,14 @@
+2018-02-07 Youenn Fablet <[email protected]>
+
+ Remove www1/www2 URLs from service worker tests
+ https://bugs.webkit.org/show_bug.cgi?id=182548
+
+ Reviewed by Chris Dumez.
+
+ * web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https-expected.txt:
+ * web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html:
+ * web-platform-tests/service-workers/service-worker/update-bytecheck.https.html:
+
2018-02-07 Chris Dumez <[email protected]>
IndexedDB in service workers is using a memory backed store
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https-expected.txt (228254 => 228255)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https-expected.txt 2018-02-08 02:25:37 UTC (rev 228254)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https-expected.txt 2018-02-08 02:29:57 UTC (rev 228255)
@@ -1,7 +1,4 @@
-Blocked access to external URL http://www2.localhost:8800/service-workers/service-worker/resources/redirect.py?Redirect=https%3A%2F%2Flocalhost%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fhttp-to-https-redirect-and-register-iframe.html
-Harness Error (TIMEOUT), message = null
+PASS register on a secure page after redirect from an non-secure url
+FAIL register on a non-secure page after redirect from an non-secure url assert_equals: expected "FAIL: SecurityError" but got "OK"
-TIMEOUT register on a secure page after redirect from an non-secure url Test timed out
-NOTRUN register on a non-secure page after redirect from an non-secure url
-
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html (228254 => 228255)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html 2018-02-08 02:25:37 UTC (rev 228254)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/http-to-https-redirect-and-register.https.html 2018-02-08 02:29:57 UTC (rev 228255)
@@ -8,11 +8,13 @@
<script>
'use strict';
+var host_info = get_host_info();
+
// Loads a non-secure url in a new window, which redirects to |target_url|.
// That page then registers a service worker, and messages back with the result.
// Returns a promise that resolves with the result.
function redirect_and_register(target_url) {
- var redirect_url = get_host_info()['UNAUTHENTICATED_ORIGIN'] + base_path() +
+ var redirect_url = host_info.HTTP_REMOTE_ORIGIN + base_path() +
'resources/redirect.py?Redirect=';
var child = window.open(redirect_url + encodeURIComponent(target_url));
return new Promise(resolve => {
@@ -35,7 +37,7 @@
}, 'register on a secure page after redirect from an non-secure url');
promise_test(function(t) {
- var target_url = get_host_info()['UNAUTHENTICATED_ORIGIN'] + base_path() +
+ var target_url = host_info.HTTP_REMOTE_ORIGIN + base_path() +
'resources/http-to-https-redirect-and-register-iframe.html';
return redirect_and_register(target_url)
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https.html (228254 => 228255)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https.html 2018-02-08 02:25:37 UTC (rev 228254)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/update-bytecheck.https.html 2018-02-08 02:29:57 UTC (rev 228255)
@@ -5,6 +5,7 @@
<script src=""
<script src=""
<script src=""
+<script src=""
<script>
/*
@@ -26,11 +27,12 @@
{cors: true, main: 'time', imported: 'default'},
{cors: true, main: 'time', imported: 'time' }];
+const host_info = get_host_info();
settings.reduce((p, s) => {
return p.then(promise_test(function(t) {
var path = !s.cors ? ''
- : 'https://www1.web-platform.test:8443/' +
- 'service-workers/service-worker/resources/';
+ : host_info.HTTPS_REMOTE_ORIGIN +
+ '/service-workers/service-worker/resources/';
var script = 'resources/bytecheck-worker.py' +
'?main=' + s.main +
'&imported=' + s.imported +
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes