Changeset 153903 in webkit


Ignore:
Timestamp:
Aug 9, 2013 11:40:48 AM (11 years ago)
Author:
ap@apple.com
Message:

<unknown> is often dumped instead of path in test output
https://bugs.webkit.org/show_bug.cgi?id=119590

Reviewed by Anders Carlsson.

Tools:

There were two reasons for <unknown>:

  1. When delegate logging is enabled via a testRunner call, that obviously happens

after main resource load starts, so we don't record its URL.

  1. Authentication delegate logging relied on URL recording, but it's only turned on

when enabling resource loading delegate logging, not auth one.

URL recording was made conditional in <http://trac.webkit.org/r19316>, which was
landed without posted rationale and unreviewed. Just undoing that change now.

  • DumpRenderTree/mac/ResourceLoadDelegate.mm:

(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):

  • WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:

(WTR::InjectedBundlePage::didInitiateLoadForResource):

LayoutTests:

Updating test results.

  • fast/loader/file-protocol-fragment-expected.txt:
  • fast/loader/main-document-url-for-non-http-loads-expected.txt:
  • http/tests/cache/iframe-304-crash-expected.txt:
  • http/tests/cache/willsendrequest-returns-null-for-memory-cache-load-expected.txt:
  • http/tests/loading/307-after-303-after-post-expected.txt:
  • http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
  • http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
  • http/tests/loading/basic-credentials-sent-automatically-expected.txt:
  • http/tests/loading/redirect-methods-expected.txt:
  • http/tests/misc/401-alternative-content-expected.txt:
  • http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
  • http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
  • http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
  • http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
  • http/tests/misc/link-rel-icon-beforeload-expected.txt:
  • http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt:
  • http/tests/misc/window-dot-stop-expected.txt:
  • http/tests/security/401-logout/401-logout-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt:
  • http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
  • http/tests/xmlhttprequest/failed-auth-expected.txt:
  • http/tests/xmlhttprequest/remember-bad-password-expected.txt:
  • loader/go-back-cached-main-resource-expected.txt:
  • platform/efl-wk2/loader/go-back-cached-main-resource-expected.txt:
  • platform/mac/fast/images/support-broken-image-delegate-expected.txt:
  • platform/mac/security/block-test-expected.txt:
  • platform/mac/security/block-test-no-port-expected.txt:
  • platform/mac/webarchive/loading/cache-expired-subresource-expected.txt:
  • webarchive/loading/test-loading-archive-expected.txt:
  • webarchive/loading/test-loading-archive-subresource-null-mimetype-expected.txt:
Location:
trunk
Files:
44 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r153902 r153903  
     12013-08-09  Alexey Proskuryakov  <ap@apple.com>
     2
     3        <unknown> is often dumped instead of path in test output
     4        https://bugs.webkit.org/show_bug.cgi?id=119590
     5
     6        Reviewed by Anders Carlsson.
     7
     8        Updating test results.
     9
     10        * fast/loader/file-protocol-fragment-expected.txt:
     11        * fast/loader/main-document-url-for-non-http-loads-expected.txt:
     12        * http/tests/cache/iframe-304-crash-expected.txt:
     13        * http/tests/cache/willsendrequest-returns-null-for-memory-cache-load-expected.txt:
     14        * http/tests/loading/307-after-303-after-post-expected.txt:
     15        * http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
     16        * http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt:
     17        * http/tests/loading/basic-credentials-sent-automatically-expected.txt:
     18        * http/tests/loading/redirect-methods-expected.txt:
     19        * http/tests/misc/401-alternative-content-expected.txt:
     20        * http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt:
     21        * http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt:
     22        * http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt:
     23        * http/tests/misc/favicon-loads-with-images-disabled-expected.txt:
     24        * http/tests/misc/link-rel-icon-beforeload-expected.txt:
     25        * http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt:
     26        * http/tests/misc/window-dot-stop-expected.txt:
     27        * http/tests/security/401-logout/401-logout-expected.txt:
     28        * http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt:
     29        * http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
     30        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
     31        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
     32        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt:
     33        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
     34        * http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt:
     35        * http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt:
     36        * http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt:
     37        * http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt:
     38        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt:
     39        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
     40        * http/tests/xmlhttprequest/failed-auth-expected.txt:
     41        * http/tests/xmlhttprequest/remember-bad-password-expected.txt:
     42        * loader/go-back-cached-main-resource-expected.txt:
     43        * platform/efl-wk2/loader/go-back-cached-main-resource-expected.txt:
     44        * platform/mac/fast/images/support-broken-image-delegate-expected.txt:
     45        * platform/mac/security/block-test-expected.txt:
     46        * platform/mac/security/block-test-no-port-expected.txt:
     47        * platform/mac/webarchive/loading/cache-expired-subresource-expected.txt:
     48        * webarchive/loading/test-loading-archive-expected.txt:
     49        * webarchive/loading/test-loading-archive-subresource-null-mimetype-expected.txt:
     50
    1512013-08-09  Mihai Tica  <mitica@adobe.com>
    252
  • trunk/LayoutTests/fast/loader/file-protocol-fragment-expected.txt

    r100311 r153903  
    11resources/stylesheet.css - willSendRequest <NSURLRequest URL resources/stylesheet.css, main document URL file-protocol-fragment.html, http method GET> redirectResponse (null)
    22resources/stylesheet.css - willSendRequest <NSURLRequest URL resources/stylesheet.css, main document URL file-protocol-fragment.html, http method GET> redirectResponse (null)
    3 <unknown> - didFinishLoading
     3file-protocol-fragment.html - didFinishLoading
    44resources/stylesheet.css - didReceiveResponse <NSURLResponse resources/stylesheet.css, http status code 0>
    55resources/stylesheet.css - didFinishLoading
  • trunk/LayoutTests/fast/loader/main-document-url-for-non-http-loads-expected.txt

    r46455 r153903  
    11resources/subframe-notify-done.html - willSendRequest <NSURLRequest URL resources/subframe-notify-done.html, main document URL main-document-url-for-non-http-loads.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2main-document-url-for-non-http-loads.html - didFinishLoading
    33resources/subframe-notify-done.html - didReceiveResponse <NSURLResponse resources/subframe-notify-done.html, http status code 0>
    44Radar 6616664 - Non-HTTP/HTTPS loads need to have their main document URL set.
  • trunk/LayoutTests/http/tests/cache/iframe-304-crash-expected.txt

    r141615 r153903  
    11http://127.0.0.1:8000/cache/resources/iframe304.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/cache/resources/iframe304.php, main document URL http://127.0.0.1:8000/cache/iframe-304-crash.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/cache/iframe-304-crash.html - didFinishLoading
    33http://127.0.0.1:8000/cache/resources/iframe304.php - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/cache/resources/iframe304.php, http status code 200>
    44http://127.0.0.1:8000/cache/resources/iframe304.php - didFinishLoading
  • trunk/LayoutTests/http/tests/cache/willsendrequest-returns-null-for-memory-cache-load-expected.txt

    r150169 r153903  
    22http://127.0.0.1:8000/misc/resources/compass.jpg - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/compass.jpg, http status code 200>
    33http://127.0.0.1:8000/misc/resources/compass.jpg - didFinishLoading
    4 <unknown> - didFinishLoading
     4http://127.0.0.1:8000/cache/willsendrequest-returns-null-for-memory-cache-load.html - didFinishLoading
    55http://127.0.0.1:8000/cache/resources/cached-image.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/cache/resources/cached-image.html, main document URL http://127.0.0.1:8000/cache/willsendrequest-returns-null-for-memory-cache-load.html, http method GET> redirectResponse (null)
    66http://127.0.0.1:8000/cache/resources/cached-image.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/cache/resources/cached-image.html, http status code 200>
  • trunk/LayoutTests/http/tests/loading/307-after-303-after-post-expected.txt

    r95189 r153903  
    55main frame - didHandleOnloadEventsForFrame
    66main frame - didFinishLoadForFrame
    7 <unknown> - didFinishLoading
     7http://127.0.0.1:8000/loading/307-after-303-after-post.html - didFinishLoading
    88main frame - didStartProvisionalLoadForFrame
    99http://127.0.0.1:8000/loading/resources/post-to-303-target.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/loading/resources/post-to-303-target.php, main document URL http://127.0.0.1:8000/loading/resources/post-to-303-target.php, http method POST> redirectResponse (null)
  • trunk/LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt

    r106982 r153903  
    44main frame - didFinishDocumentLoadForFrame
    55frame "<!--framePath //<!--frame0-->-->" - didReceiveServerRedirectForProvisionalLoadForFrame
    6 <unknown> - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword
     6http://localhost:8000/loading/authentication-after-redirect-stores-wrong-credentials/resources/wrong-credential-1-redirect-to-auth.php - didReceiveAuthenticationChallenge - Responding with httpUsername:httpPassword
    77frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
    88frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
  • trunk/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials-expected.txt

    r48363 r153903  
    33frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
    44main frame - didFinishDocumentLoadForFrame
    5 <unknown> - didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword
     5http://127.0.0.1:8000/loading/resources/test2/protected-resource.php - didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword
    66frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
    77frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
     
    1010frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame
    1111frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame
    12 <unknown> - didReceiveAuthenticationChallenge - Responding with correctusername:correctpassword
     12http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.php?username=correctusername&password=correctpassword - didReceiveAuthenticationChallenge - Responding with correctusername:correctpassword
    1313frame "<!--framePath //<!--frame1-->-->" - didCommitLoadForFrame
    1414frame "<!--framePath //<!--frame1-->-->" - didFinishDocumentLoadForFrame
  • trunk/LayoutTests/http/tests/loading/basic-credentials-sent-automatically-expected.txt

    r48363 r153903  
    33frame "<!--framePath //<!--frame0-->-->" - didStartProvisionalLoadForFrame
    44main frame - didFinishDocumentLoadForFrame
    5 <unknown> - didReceiveAuthenticationChallenge - Responding with first:first-pw
     5http://127.0.0.1:8000/loading/resources/subresources/protected-resource.php - didReceiveAuthenticationChallenge - Responding with first:first-pw
    66frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
    77frame "<!--framePath //<!--frame0-->-->" - didFinishDocumentLoadForFrame
     
    1010frame "<!--framePath //<!--frame0-->-->" - didHandleOnloadEventsForFrame
    1111frame "<!--framePath //<!--frame0-->-->" - didFinishLoadForFrame
    12 <unknown> - didReceiveAuthenticationChallenge - Responding with second:second-pw
     12http://127.0.0.1:8000/loading/resources/protected-resource.php - didReceiveAuthenticationChallenge - Responding with second:second-pw
    1313frame "<!--framePath //<!--frame1-->-->" - didCommitLoadForFrame
    1414frame "<!--framePath //<!--frame1-->-->" - didFinishDocumentLoadForFrame
  • trunk/LayoutTests/http/tests/loading/redirect-methods-expected.txt

    r141136 r153903  
    44main frame - didHandleOnloadEventsForFrame
    55main frame - didFinishLoadForFrame
    6 <unknown> - didFinishLoading
     6http://127.0.0.1:8000/loading/redirect-methods.html - didFinishLoading
    77frame "0" - didStartProvisionalLoadForFrame
    88frame "0" - didCommitLoadForFrame
  • trunk/LayoutTests/http/tests/misc/401-alternative-content-expected.txt

    r63681 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     1http://127.0.0.1:8000/misc/401-alternative-content.php - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    22PASS
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin-expected.txt

    r93247 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://localhost:8000/misc/authentication-redirect-1/resources/auth-then-redirect.php?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=40138
    33You should load this page at 127.0.0.1:8000 so localhost:8000 is considered a different security origin.
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-2/authentication-sent-to-redirect-same-origin-expected.txt

    r93247 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://127.0.0.1:8000/misc/authentication-redirect-2/resources/auth-then-redirect.php?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=66354
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url-expected.txt

    r139062 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
     1http://127.0.0.1:8000/misc/authentication-redirect-4/resources/auth-then-redirect.php?redirect - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    22https://bugs.webkit.org/show_bug.cgi?id=105190
    33You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
  • trunk/LayoutTests/http/tests/misc/favicon-loads-with-images-disabled-expected.txt

    r142707 r153903  
    1 <unknown> - didFinishLoading
     1http://127.0.0.1:8000/misc/favicon-loads-with-images-disabled.html - didFinishLoading
    22http://127.0.0.1:8000/misc/favicon-loads-with-images-disabled.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/favicon-loads-with-images-disabled.html, main document URL http://127.0.0.1:8000/misc/favicon-loads-with-images-disabled.html, http method GET> redirectResponse (null)
    33http://127.0.0.1:8000/misc/favicon-loads-with-images-disabled.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/misc/favicon-loads-with-images-disabled.html, http status code 200>
  • trunk/LayoutTests/http/tests/misc/link-rel-icon-beforeload-expected.txt

    r142707 r153903  
    1 <unknown> - didFinishLoading
     1http://127.0.0.1:8000/misc/link-rel-icon-beforeload.html - didFinishLoading
    22http://127.0.0.1:8000/misc/link-rel-icon-beforeload.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/link-rel-icon-beforeload.html, main document URL http://127.0.0.1:8000/misc/link-rel-icon-beforeload.html, http method GET> redirectResponse (null)
    33http://127.0.0.1:8000/misc/link-rel-icon-beforeload.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/misc/link-rel-icon-beforeload.html, http status code 200>
  • trunk/LayoutTests/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt

    r137607 r153903  
    11http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html - didFinishLoading
    33http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php - willSendRequest <NSURLRequest URL http://www.example.com/, main document URL http://127.0.0.1:8000/misc/will-send-request-returns-null-on-redirect.html, http method GET> redirectResponse <NSURLResponse http://127.0.0.1:8000/misc/resources/redirect-to-http-url.php, http status code 302>
    44Returning null for this redirect
  • trunk/LayoutTests/http/tests/misc/window-dot-stop-expected.txt

    r46455 r153903  
    11http://127.0.0.1:8000/incremental/slow-utf8-text.pl - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/incremental/slow-utf8-text.pl, main document URL http://127.0.0.1:8000/misc/window-dot-stop.html, http method GET> redirectResponse (null)
    22http://127.0.0.1:8000/incremental/slow-utf8-text.pl - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/incremental/slow-utf8-text.pl">
    3 <unknown> - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/misc/window-dot-stop.html">
     3http://127.0.0.1:8000/misc/window-dot-stop.html - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/misc/window-dot-stop.html">
    44This tests for the successful use of window.stop()
    55
  • trunk/LayoutTests/http/tests/security/401-logout/401-logout-expected.txt

    r63834 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Responding with username:password
    2 <unknown> - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     1http://127.0.0.1:8000/security/401-logout/401-logout.php?uid=username - didReceiveAuthenticationChallenge - Responding with username:password
     2http://127.0.0.1:8000/security/401-logout/401-logout.php?uid=username&logout=1 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    33PASS
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt

    r144105 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-allowall.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-allowall.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-allowall.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-allowall.html - didFinishLoading
    33http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-allowall.cgi - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-allowall.cgi, http status code 200>
    44The frame below should load, and 'ALLOWALL' should be accepted as a valid header.
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt

    r147530 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny.html - didFinishLoading
    33CONSOLE MESSAGE: Refused to display 'http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi' in a frame because it set 'X-Frame-Options' to 'deny'.
    44CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1:8000" from accessing a frame at "null".  The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt

    r147530 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag.html - didFinishLoading
    33http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html, http status code 200>
    44http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html">
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt

    r147530 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html - didFinishLoading
    33http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html, http status code 200>
    44http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html">
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt

    r147164 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-allow.html - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-allow.html, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html - didFinishLoading
    33http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-allow.html - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-allow.html, http status code 200>
    44ALERT: PASS: onload fired.
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt

    r147530 r153903  
    11http://localhost:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html - willSendRequest <NSURLRequest URL http://localhost:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html - didFinishLoading
    33http://localhost:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html - didReceiveResponse <NSURLResponse http://localhost:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html, http status code 200>
    44http://localhost:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -999, failing URL "http://localhost:8000/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html">
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt

    r133868 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-invalid.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-invalid.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-invalid.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-invalid.html - didFinishLoading
    33CONSOLE MESSAGE: Invalid 'X-Frame-Options' header encountered when loading 'http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-invalid.cgi': 'INVALID INVALID INVALID' is not a recognized directive. The header will be ignored.
    44http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-invalid.cgi - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-invalid.cgi, http status code 200>
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt

    r147086 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-conflict.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-conflict.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-multiple-headers-conflict.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-multiple-headers-conflict.html - didFinishLoading
    33CONSOLE MESSAGE: Multiple 'X-Frame-Options' headers with conflicting values ('ALLOWALL, DENY') encountered when loading 'http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-conflict.cgi'. Falling back to 'DENY'.
    44CONSOLE MESSAGE: Refused to display 'http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-conflict.cgi' in a frame because it set 'X-Frame-Options' to 'ALLOWALL, DENY'.
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt

    r147086 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow.html - didFinishLoading
    33http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi, http status code 200>
    44The frame below should load, proving that 'sameorigin, sameorigin' === 'sameorigin'.
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt

    r147530 r153903  
    11http://localhost:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi - willSendRequest <NSURLRequest URL http://localhost:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny.html - didFinishLoading
    33CONSOLE MESSAGE: Refused to display 'http://localhost:8000/security/XFrameOptions/resources/x-frame-options-multiple-headers-sameorigin.cgi' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN, SAMEORIGIN'.
    44CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1:8000" from accessing a frame at "null".  The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt

    r46455 r153903  
    11http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi - willSendRequest <NSURLRequest URL http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html - didFinishLoading
    33http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi - didReceiveResponse <NSURLResponse http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi, http status code 200>
    44There should be content in the iframe below
  • trunk/LayoutTests/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt

    r147530 r153903  
    11http://localhost:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi - willSendRequest <NSURLRequest URL http://localhost:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi, main document URL http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2http://127.0.0.1:8000/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html - didFinishLoading
    33CONSOLE MESSAGE: Refused to display 'http://localhost:8000/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
    44CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1:8000" from accessing a frame at "null".  The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.
  • trunk/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt

    r63681 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    2 <unknown> - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     1http://127.0.0.1:8000/xmlhttprequest/resources/basic-auth/basic-auth.php?uid=login3 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     2http://badname:passpw@127.0.0.1:8000/xmlhttprequest/resources/basic-auth/basic-auth.php?uid=login4 - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    33Test for bug 13075: XMLHttpRequest with failed authentication should set status to 401.
    44
  • trunk/LayoutTests/http/tests/xmlhttprequest/remember-bad-password-expected.txt

    r63834 r153903  
    1 <unknown> - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    2 <unknown> - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     1http://foo:bar@127.0.0.1:8000/xmlhttprequest/resources/remember-bad-password/count-failures.php - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
     2http://127.0.0.1:8000/xmlhttprequest/resources/remember-bad-password/count-failures.php - didReceiveAuthenticationChallenge - Simulating cancelled authentication sheet
    33rdar://problem/7062824 A wrong password entered for site or proxy auth remains in WebCore credential storage, and is sent with subsequent requests.
    44
  • trunk/LayoutTests/loader/go-back-cached-main-resource-expected.txt

    r148182 r153903  
    11resources/first-page.html - willSendRequest <NSURLRequest URL resources/first-page.html, main document URL resources/first-page.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2go-back-cached-main-resource.html - didFinishLoading
    33resources/first-page.html - didReceiveResponse <NSURLResponse resources/first-page.html, http status code 0>
    44resources/first-page.html - didFinishLoading
  • trunk/LayoutTests/platform/efl-wk2/loader/go-back-cached-main-resource-expected.txt

    r148889 r153903  
    11resources/first-page.html - willSendRequest <NSURLRequest URL resources/first-page.html, main document URL first-page.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2go-back-cached-main-resource.html - didFinishLoading
    33resources/first-page.html - didReceiveResponse <NSURLResponse resources/first-page.html, http status code 0>
    44resources/first-page.html - didFinishLoading
  • trunk/LayoutTests/platform/mac/fast/images/support-broken-image-delegate-expected.txt

    r100311 r153903  
    11resources/broken-image-with-invalid-format.png - willSendRequest <NSURLRequest URL resources/broken-image-with-invalid-format.png, main document URL support-broken-image-delegate.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2support-broken-image-delegate.html - didFinishLoading
    33resources/broken-image-with-invalid-format.png - didReceiveResponse <NSURLResponse resources/broken-image-with-invalid-format.png, http status code 0>
    44resources/broken-image-with-invalid-format.png - shouldPaintBrokenImage: NO
  • trunk/LayoutTests/platform/mac/security/block-test-expected.txt

    r114976 r153903  
    11http://255.255.255.255:1/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:1/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2block-test.html - didFinishLoading
    33http://255.255.255.255:1/test.jpg - didFailLoadingWithError: <NSError domain WebKitErrorDomain, code 103, failing URL "http://255.255.255.255:1/test.jpg">
    44http://255.255.255.255:7/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255:7/test.jpg, main document URL block-test.html, http method GET> redirectResponse (null)
  • trunk/LayoutTests/platform/mac/security/block-test-no-port-expected.txt

    r46455 r153903  
    11http://255.255.255.255/test.jpg - willSendRequest <NSURLRequest URL http://255.255.255.255/test.jpg, main document URL block-test-no-port.html, http method GET> redirectResponse (null)
    2 <unknown> - didFinishLoading
     2block-test-no-port.html - didFinishLoading
    33http://255.255.255.255/test.jpg - didFailLoadingWithError: <NSError domain NSURLErrorDomain, code -1004, failing URL "http://255.255.255.255/test.jpg">
    44This test attempts to change the src of an IMG tag to a blocked IP with no port to confirm that WebKit returns the correct error for it - blocked instead of cannot find. Due to the nature of this test, the results can only be processed automatically via DumpRenderTree. In addition, on some systems the results may depend on the behavior of the proxy.
  • trunk/LayoutTests/platform/mac/webarchive/loading/cache-expired-subresource-expected.txt

    r100311 r153903  
    44resources/cache-expired-subresource.webarchive - willSendRequest <NSURLRequest URL resources/cache-expired-subresource.webarchive, main document URL cache-expired-subresource.html, http method GET> redirectResponse (null)
    55main frame - didFinishDocumentLoadForFrame
    6 <unknown> - didFinishLoading
     6cache-expired-subresource.html - didFinishLoading
    77resources/cache-expired-subresource.webarchive - didReceiveResponse <NSURLResponse resources/cache-expired-subresource.webarchive, http status code 0>
    88frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
  • trunk/LayoutTests/webarchive/loading/test-loading-archive-expected.txt

    r46455 r153903  
    44resources/helloworld.webarchive - willSendRequest <NSURLRequest URL resources/helloworld.webarchive, main document URL test-loading-archive.html, http method GET> redirectResponse (null)
    55main frame - didFinishDocumentLoadForFrame
    6 <unknown> - didFinishLoading
     6test-loading-archive.html - didFinishLoading
    77resources/helloworld.webarchive - didReceiveResponse <NSURLResponse resources/helloworld.webarchive, http status code 0>
    88frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
  • trunk/LayoutTests/webarchive/loading/test-loading-archive-subresource-null-mimetype-expected.txt

    r153852 r153903  
    44resources/subresource-null-mimetype.webarchive - willSendRequest <NSURLRequest URL resources/subresource-null-mimetype.webarchive, main document URL test-loading-archive-subresource-null-mimetype.html, http method GET> redirectResponse (null)
    55main frame - didFinishDocumentLoadForFrame
    6 <unknown> - didFinishLoading
     6test-loading-archive-subresource-null-mimetype.html - didFinishLoading
    77resources/subresource-null-mimetype.webarchive - didReceiveResponse <NSURLResponse resources/subresource-null-mimetype.webarchive, http status code 0>
    88frame "<!--framePath //<!--frame0-->-->" - didCommitLoadForFrame
  • trunk/Tools/ChangeLog

    r153859 r153903  
     12013-08-09  Alexey Proskuryakov  <ap@apple.com>
     2
     3        <unknown> is often dumped instead of path in test output
     4        https://bugs.webkit.org/show_bug.cgi?id=119590
     5
     6        Reviewed by Anders Carlsson.
     7
     8        There were two reasons for <unknown>:
     9        1. When delegate logging is enabled via a testRunner call, that obviously happens
     10        after main resource load starts, so we don't record its URL.
     11        2. Authentication delegate logging relied on URL recording, but it's only turned on
     12        when enabling resource loading delegate logging, not auth one.
     13
     14        URL recording was made conditional in <http://trac.webkit.org/r19316>, which was
     15        landed without posted rationale and unreviewed. Just undoing that change now.
     16
     17        * DumpRenderTree/mac/ResourceLoadDelegate.mm:
     18        (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
     19        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
     20        (WTR::InjectedBundlePage::didInitiateLoadForResource):
     21
    1222013-08-08  Alex Christensen  <achristensen@apple.com>
    223
  • trunk/Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm

    r153852 r153903  
    122122    ASSERT([[dataSource webFrame] dataSource] || [[dataSource webFrame] provisionalDataSource]);
    123123
    124     if (!done && gTestRunner->dumpResourceLoadCallbacks())
     124    if (!done)
    125125        return [[request URL] _drt_descriptionSuitableForTestResult];
    126126
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp

    r153852 r153903  
    10511051        return;
    10521052
    1053     if (!InjectedBundle::shared().testRunner()->shouldDumpResourceLoadCallbacks())
    1054         return;
    1055 
    10561053    WKRetainPtr<WKURLRef> url = adoptWK(WKURLRequestCopyURL(request));
    10571054    assignedUrlsCache.add(identifier, pathSuitableForTestResult(url.get()));
Note: See TracChangeset for help on using the changeset viewer.