Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html

Issue 1532463003: ServiceWorker: Reject SecurityError instead of NotSupportedError. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html
index 50dff5507d2edc763b4dcaebd08d40612f872dba..5a498c958ba70a1946d847a7a4bd48e8d220a29f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/http-to-https-redirect-and-register.html
@@ -42,7 +42,7 @@ promise_test(function(t) {
'/serviceworker/resources/register.html';
return redirect_and_register(target_url)
- .then(result => {assert_equals(result, 'FAIL: NotSupportedError');});
+ .then(result => {assert_equals(result, 'FAIL: SecurityError');});
}, 'register on a non-secure page after redirect from an non-secure url');
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698