Changeset 218700 in webkit


Ignore:
Timestamp:
Jun 22, 2017 8:32:51 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

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

Patch by Frederic Wang <fwang@igalia.com> 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:
Location:
trunk/LayoutTests/imported/w3c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r218644 r218700  
     12017-06-22  Frederic Wang  <fwang@igalia.com>
     2
     3        Remove testRunner.overridePreference from WPT tests
     4        https://bugs.webkit.org/show_bug.cgi?id=173713
     5
     6        Reviewed by Youenn Fablet.
     7
     8        We update two W3C tests to remove the setting of the Chromium-specific preference
     9        WebKitAllowDisplayingInsecureContent. This update also fixes the link to the
     10        get-host-info.sub.js resource.
     11
     12        * web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html:
     13        * web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html:
     14
    1152017-06-21  Sam Weinig  <sam@webkit.org>
    216
  • trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-inscope.https.html

    r202471 r218700  
    44<script src="/resources/testharness.js"></script>
    55<script src="/resources/testharnessreport.js"></script>
    6 <script src="resources/get-host-info.sub.js"></script>
     6<script src="/common/get-host-info.sub.js"></script>
    77<script src="resources/test-helpers.sub.js?pipe=sub"></script>
    88<body></body>
    99<script>
    10 if (window.testRunner) {
    11   // In Chromium we need to change the setting to disallow displaying insecure
    12   // contents.
    13   testRunner.overridePreference('WebKitAllowDisplayingInsecureContent', false);
    14 }
    15 
    1610async_test(function(t) {
    1711    var host_info = get_host_info();
  • trunk/LayoutTests/imported/w3c/web-platform-tests/service-workers/service-worker/fetch-mixed-content-to-outscope.https.html

    r202471 r218700  
    44<script src="/resources/testharness.js"></script>
    55<script src="/resources/testharnessreport.js"></script>
    6 <script src="resources/get-host-info.sub.js"></script>
     6<script src="/common/get-host-info.sub.js"></script>
    77<script src="resources/test-helpers.sub.js?pipe=sub"></script>
    88<body></body>
    99<script>
    10 if (window.testRunner) {
    11   // In Chromium we need to change the setting to disallow displaying insecure
    12   // contents.
    13   testRunner.overridePreference('WebKitAllowDisplayingInsecureContent', false);
    14 }
    15 
    1610async_test(function(t) {
    1711    var host_info = get_host_info();
Note: See TracChangeset for help on using the changeset viewer.