Changeset 223445 in webkit


Ignore:
Timestamp:
Oct 16, 2017 4:10:00 PM (7 years ago)
Author:
achristensen@apple.com
Message:

De-flakify http/tests/loading/basic-credentials-sent-automatically.html
https://bugs.webkit.org/show_bug.cgi?id=178365

Reviewed by Andy Estes.

  • http/tests/loading/basic-credentials-sent-automatically-expected.txt:
  • http/tests/loading/basic-credentials-sent-automatically.html:
  • platform/ios-wk2/TestExpectations:
  • platform/mac-wk2/TestExpectations:
  • platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt:
Location:
trunk/LayoutTests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r223440 r223445  
     12017-10-16  Alex Christensen  <achristensen@webkit.org>
     2
     3        De-flakify http/tests/loading/basic-credentials-sent-automatically.html
     4        https://bugs.webkit.org/show_bug.cgi?id=178365
     5
     6        Reviewed by Andy Estes.
     7
     8        * http/tests/loading/basic-credentials-sent-automatically-expected.txt:
     9        * http/tests/loading/basic-credentials-sent-automatically.html:
     10        * platform/ios-wk2/TestExpectations:
     11        * platform/mac-wk2/TestExpectations:
     12        * platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt:
     13
    1142017-10-15  Ryosuke Niwa  <rniwa@webkit.org>
    215
  • trunk/LayoutTests/http/tests/loading/basic-credentials-sent-automatically-expected.txt

    r189164 r223445  
    11main frame - didStartProvisionalLoadForFrame
    22main frame - didCommitLoadForFrame
     3main frame - didFinishDocumentLoadForFrame
    34frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
    4 main frame - didFinishDocumentLoadForFrame
     5main frame - didHandleOnloadEventsForFrame
    56http://127.0.0.1:8000/loading/resources/subresources/protected-resource.php - didReceiveAuthenticationChallenge - Responding with first:first-pw
    67frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
     
    2324frame "<!--framePath //<!--frame3-->-->" - didFinishDocumentLoadForFrame
    2425frame "<!--framePath //<!--frame3-->-->" - didHandleOnloadEventsForFrame
    25 main frame - didHandleOnloadEventsForFrame
    2626frame "<!--framePath //<!--frame3-->-->" - didFinishLoadForFrame
    2727main frame - didFinishLoadForFrame
     
    3535The fourth frame's path is /loading/resources/othersubresources/protected-resource.php, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.
    3636It will be authorized with second/second-pw.
    37  
     37
    3838
    3939--------
  • trunk/LayoutTests/http/tests/loading/basic-credentials-sent-automatically.html

    r120167 r223445  
    5353}
    5454
     55function makeIFrame() {
     56    var iframe = document.createElement("iframe");
     57    iframe.onload=firstFrameLoaded;
     58    iframe.src="resources/subresources/protected-resource.php";
     59    document.body.appendChild(iframe);
     60}
     61
    5562</script>
    5663</head>
    57 <body>
     64<body onload="makeIFrame()">
    5865This test makes sure that once an HTTP Basic Auth. protected path is authenticated once, urls that emanate from that path automatically have their credentials sent without a challenge.<br>
    5966The first frame's path is /loading/resources/subresources/protected-resource.php, and we should get a challenge for it.<br>
     
    6572The fourth frame's path is /loading/resources/othersubresources/protected-resource.php, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.<br>
    6673It will be authorized with second/second-pw.<br>
    67 <iframe src="resources/subresources/protected-resource.php" onload="firstFrameLoaded();"></iframe>
    6874</body>
    6975</html>
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r223413 r223445  
    18611861webkit.org/b/159881 [ Release ] fast/shapes/shape-outside-floats/shape-outside-big-box-border-radius-002.html [ Pass ImageOnlyFailure ]
    18621862
    1863 webkit.org/b/159427 http/tests/loading/basic-credentials-sent-automatically.html [ Pass Failure ]
    1864 
    18651863webkit.org/b/160368 http/tests/xmlhttprequest/workers/methods-async.html [ Pass Timeout ]
    18661864
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r223408 r223445  
    626626webkit.org/b/160042 accessibility/mac/value-change/value-change-user-info-contenteditable.html [ Pass Failure ]
    627627
    628 webkit.org/b/159427 http/tests/loading/basic-credentials-sent-automatically.html [ Pass Failure ]
    629 
    630628webkit.org/b/160309 fast/dom/Window/child-window-focus.html [ Pass Failure ]
    631629
  • trunk/LayoutTests/platform/wk2/http/tests/loading/basic-credentials-sent-automatically-expected.txt

    r189164 r223445  
    11main frame - didStartProvisionalLoadForFrame
    22main frame - didCommitLoadForFrame
     3main frame - didFinishDocumentLoadForFrame
    34frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
    4 main frame - didFinishDocumentLoadForFrame
     5main frame - didHandleOnloadEventsForFrame
    56127.0.0.1:8000 - didReceiveAuthenticationChallenge - Responding with first:first-pw
    67frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
     
    2324frame "<!--framePath //<!--frame3-->-->" - didFinishDocumentLoadForFrame
    2425frame "<!--framePath //<!--frame3-->-->" - didHandleOnloadEventsForFrame
    25 main frame - didHandleOnloadEventsForFrame
    2626frame "<!--framePath //<!--frame3-->-->" - didFinishLoadForFrame
    2727main frame - didFinishLoadForFrame
     
    3535The fourth frame's path is /loading/resources/othersubresources/protected-resource.php, and we should *not* get a challenge for it, because it has a common subpath with the previously authorized second and third frames.
    3636It will be authorized with second/second-pw.
    37  
     37
    3838
    3939--------
Note: See TracChangeset for help on using the changeset viewer.