Title: [218700] trunk/LayoutTests/imported/w3c
Revision
218700
Author
[email protected]
Date
2017-06-22 08:32:51 -0700 (Thu, 22 Jun 2017)

Log Message

Remove testRunner.overridePreference from WPT tests
https://bugs.webkit.org/show_bug.cgi?id=173713

Patch by Frederic Wang <[email protected]> on 2017-06-22
Reviewed by Youenn Fablet.

We update two W3C tests to remove the setting of the Chromium-specific preference
WebKitAllowDisplayingInsecureContent. This update also fixes the link to the
get-host-info.sub.js resource.

* web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html:
* web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (218699 => 218700)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2017-06-22 15:29:14 UTC (rev 218699)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2017-06-22 15:32:51 UTC (rev 218700)
@@ -1,3 +1,17 @@
+2017-06-22  Frederic Wang  <[email protected]>
+
+        Remove testRunner.overridePreference from WPT tests
+        https://bugs.webkit.org/show_bug.cgi?id=173713
+
+        Reviewed by Youenn Fablet.
+
+        We update two W3C tests to remove the setting of the Chromium-specific preference
+        WebKitAllowDisplayingInsecureContent. This update also fixes the link to the
+        get-host-info.sub.js resource.
+
+        * web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html:
+        * web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html:
+
 2017-06-21  Sam Weinig  <[email protected]>
 
         Add support for structured serialization of CSS Geometry types

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html (218699 => 218700)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html	2017-06-22 15:29:14 UTC (rev 218699)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html	2017-06-22 15:32:51 UTC (rev 218700)
@@ -3,16 +3,10 @@
 <meta name=timeout content=long>
 <script src=""
 <script src=""
-<script src=""
+<script src=""
 <script src=""
 <body></body>
 <script>
-if (window.testRunner) {
-  // In Chromium we need to change the setting to disallow displaying insecure
-  // contents.
-  testRunner.overridePreference('WebKitAllowDisplayingInsecureContent', false);
-}
-
 async_test(function(t) {
     var host_info = get_host_info();
     window.addEventListener('message', t.step_func(on_message), false);

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html (218699 => 218700)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html	2017-06-22 15:29:14 UTC (rev 218699)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html	2017-06-22 15:32:51 UTC (rev 218700)
@@ -3,16 +3,10 @@
 <meta name=timeout content=long>
 <script src=""
 <script src=""
-<script src=""
+<script src=""
 <script src=""
 <body></body>
 <script>
-if (window.testRunner) {
-  // In Chromium we need to change the setting to disallow displaying insecure
-  // contents.
-  testRunner.overridePreference('WebKitAllowDisplayingInsecureContent', false);
-}
-
 async_test(function(t) {
     var host_info = get_host_info();
     window.addEventListener('message', t.step_func(on_message), false);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to