Inconsistencies in main resource load delegates when loading from history
[WebKit-https.git] / LayoutTests / loader / go-back-cached-main-resource-expected.txt
1 resources/first-page.html - willSendRequest <NSURLRequest URL resources/first-page.html, main document URL resources/first-page.html, http method GET> redirectResponse (null)
2 go-back-cached-main-resource.html - didFinishLoading
3 resources/first-page.html - didReceiveResponse <NSURLResponse resources/first-page.html, http status code 0>
4 resources/first-page.html - didFinishLoading
5 resources/other-page.html - willSendRequest <NSURLRequest URL resources/other-page.html, main document URL resources/other-page.html, http method GET> redirectResponse (null)
6 resources/other-page.html - didReceiveResponse <NSURLResponse resources/other-page.html, http status code 0>
7 resources/other-page.html - didFinishLoading
8 resources/first-page.html - willSendRequest <NSURLRequest URL resources/first-page.html, main document URL resources/first-page.html, http method GET> redirectResponse (null)
9 resources/first-page.html - didReceiveResponse <NSURLResponse resources/first-page.html, http status code 0>
10 resources/first-page.html - didFinishLoading
11 resources/other-page.html - willSendRequest <NSURLRequest URL resources/other-page.html, main document URL resources/other-page.html, http method GET> redirectResponse (null)
12 resources/other-page.html - didReceiveResponse <NSURLResponse resources/other-page.html, http status code 0>
13 resources/other-page.html - didFinishLoading
14 resources/first-page.html - willSendRequest <NSURLRequest URL resources/first-page.html, main document URL resources/first-page.html, http method GET> redirectResponse (null)
15 resources/first-page.html - didReceiveResponse <NSURLResponse resources/first-page.html, http status code 0>
16 resources/first-page.html - didFinishLoading
17 This test check the following situation:
18
19 First you navigate to a page (first-page.html).
20 Then you go to another page (other-page.html).
21 You repeat previous steps again (going to first-page.html and then to other-page.html).
22 Finally you click back.
23 The problem was that the resource load callbacks when going back to the cached main resource were not being called.
24
25 See bug #112418.