⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243353 in webkit


Ignore:
Timestamp:
Mar 21, 2019, 6:58:13 PM (7 years ago)
Author:
Chris Dumez
Message:

[ Mac WK2 ] Layout Test http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=194350
<rdar://problem/47937466>

Reviewed by Alex Christensen.

Bypass the HTMLPreloadScanner in the test or compass.jpg resource may end up getting loaded twice and log extra
lines in the test output.

  • http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
  • http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php:
  • platform/mac-wk2/TestExpectations:
  • platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r243350 r243353  
     12019-03-21  Chris Dumez  <cdumez@apple.com>
     2
     3        [ Mac WK2 ] Layout Test http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html is a flaky failure
     4        https://bugs.webkit.org/show_bug.cgi?id=194350
     5        <rdar://problem/47937466>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Bypass the HTMLPreloadScanner in the test or compass.jpg resource may end up getting loaded twice and log extra
     10        lines in the test output.
     11
     12        * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
     13        * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php:
     14        * platform/mac-wk2/TestExpectations:
     15        * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt:
     16
    1172019-03-21  Simon Fraser  <simon.fraser@apple.com>
    218
  • trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt

    r231450 r243353  
    2424effectiveDirective: block-all-mixed-content
    2525originalPolicy: block-all-mixed-content
    26 sourceFile:
    27 lineNumber: 0
    28 columnNumber: 0
     26sourceFile: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php
     27lineNumber: 9
     28columnNumber: 15
    2929statusCode: 0
    3030
  • trunk/LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php

    r209577 r243353  
    99</head>
    1010<body>
    11 <img src="http://127.0.0.1:8000/security/resources/compass.jpg">
     11<script>
     12// Use document.write() to bypass the HTMLPreloadScanner and address flakiness.
     13document.write('<img src="http://127.0.0.1:8000/security/resources/compass.jpg">');
     14</script>
    1215</body>
    1316</html>
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r243339 r243353  
    919919webkit.org/b/194253 scrollingcoordinator/scrolling-tree/fixed-inside-frame.html [ Pass Failure ]
    920920
    921 webkit.org/b/194350 http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html [ Pass Failure ]
    922 
    923921webkit.org/b/194916 fast/mediastream/MediaStream-video-element.html [ Pass Failure ]
  • trunk/LayoutTests/platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt

    r231450 r243353  
    2424effectiveDirective: block-all-mixed-content
    2525originalPolicy: block-all-mixed-content
    26 sourceFile:
    27 lineNumber: 0
    28 columnNumber: 0
     26sourceFile: https://127.0.0.1:8443/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php
     27lineNumber: 9
     28columnNumber: 15
    2929statusCode: 0
    3030
Note: See TracChangeset for help on using the changeset viewer.