OLD | NEW |
1 frame "frameContext" - has 1 onunload handler(s) | 1 frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s) |
2 frame "frameContext" - has 1 onunload handler(s) | 2 frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s) |
3 frame "frameContext" - has 1 onunload handler(s) | 3 frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s) |
4 frame "frameContext" - has 1 onunload handler(s) | 4 frame "<!--framePath //<!--frame0-->-->" - has 1 onunload handler(s) |
5 Description | 5 Description |
6 | 6 |
7 This test validates the value of window.performance.navigation.type with a forwa
rd and back navigation. | 7 This test validates the value of window.performance.navigation.type with a forwa
rd and back navigation. |
8 | 8 |
9 This page should be loaded with a yellow background frame below. It should turn
green for a starting navigation, back to yellow for a back navigation and then b
ack to green again for a forward navigation. | 9 This page should be loaded with a yellow background frame below. It should turn
green for a starting navigation, back to yellow for a back navigation and then b
ack to green again for a forward navigation. |
10 | 10 |
11 Along the navigation timeline the frame.window.performance.type is checked for T
YPE_BACK_FORWARD. | 11 Along the navigation timeline the frame.window.performance.type is checked for T
YPE_BACK_FORWARD. |
12 | 12 |
13 This test passes if all of the checks to the navigation.type are correct through
out the navigation scenario and the frame below ends with a green background. Ot
herwise, this test fails. | 13 This test passes if all of the checks to the navigation.type are correct through
out the navigation scenario and the frame below ends with a green background. Ot
herwise, this test fails. |
14 | 14 |
15 | 15 |
16 | 16 |
17 | 17 |
18 PASS window.performance is defined | 18 PASS window.performance is defined |
19 PASS window.performance.navigation is defined | 19 PASS window.performance.navigation is defined |
20 PASS window.performance.navigation.type == TYPE_NAVIGATE | 20 PASS window.performance.navigation.type == TYPE_NAVIGATE |
21 PASS window.performance.navigation.type == TYPE_BACK_FORWARD after history.back(
) | 21 PASS window.performance.navigation.type == TYPE_BACK_FORWARD after history.back(
) |
22 PASS window.performance.navigation.type == TYPE_BACK_FORWARD after history.forwa
rd() | 22 PASS window.performance.navigation.type == TYPE_BACK_FORWARD after history.forwa
rd() |
23 | 23 |
OLD | NEW |