frame "frameContext" - has 1 onunload handler(s)
Description

This test validates the ordering of the window.performance.timing attributes.

This page should be loaded with a yellow background frame below which contains an unload event handler.

After the page loads, the frame is navigated to a new blank page with a green background. At this point, the navigation timeline is verified

This test passes if all of the checks to the frame.window.performance.timing attributes are correct throughout the navigation scenario and the frame below ends with a green background. Otherwise, this test fails.

Setup




PASS window.performance is defined 
PASS window.performance.timing is defined 
PASS window.performance.navigation is defined 
PASS window.performance.navigation.type == TYPE_NAVIGATE 
PASS window.performance.timing.navigationStart > 0 
PASS window.performance.timing.redirectStart == 0 
PASS window.performance.timing.redirectEnd == 0 
PASS window.performance.timing.fetchStart > 0 
PASS window.performance.timing.fetchStart >= window.performance.timing.navigationStart 
PASS window.performance.timing.domainLookupStart > 0 
PASS window.performance.timing.domainLookupStart >= window.performance.timing.fetchStart 
PASS window.performance.timing.domainLookupEnd > 0 
PASS window.performance.timing.domainLookupEnd >= window.performance.timing.domainLookupStart 
PASS window.performance.timing.connectStart > 0 
PASS window.performance.timing.connectStart >= window.performance.timing.domainLookupEnd 
PASS window.performance.timing.connectEnd > 0 
PASS window.performance.timing.connectEnd >= window.performance.timing.connectStart 
PASS window.performance.timing.requestStart > 0 
PASS window.performance.timing.requestStart >= window.performance.timing.connectEnd 
PASS window.performance.timing.responseStart > 0 
PASS window.performance.timing.responseStart >= window.performance.timing.requestStart 
PASS window.performance.timing.responseEnd > 0 
PASS window.performance.timing.responseEnd >= window.performance.timing.responseStart 
PASS window.performance.timing.domLoading > 0 
PASS window.performance.timing.domLoading >= window.performance.timing.fetchStart 
PASS window.performance.timing.domInteractive > 0 
PASS window.performance.timing.domInteractive >= window.performance.timing.responseEnd 
PASS window.performance.timing.domContentLoadedEventStart > 0 
PASS window.performance.timing.domContentLoadedEventStart >= window.performance.timing.domInteractive 
PASS window.performance.timing.domContentLoadedEventEnd > 0 
PASS window.performance.timing.domContentLoadedEventEnd >= window.performance.timing.domContentLoadedEventStart 
PASS window.performance.timing.domComplete > 0 
PASS window.performance.timing.domComplete >= window.performance.timing.domContentLoadedEventEnd 
PASS window.performance.timing.loadEventStart > 0 
PASS window.performance.timing.loadEventStart >= window.performance.timing.domContentLoadedEventEnd 
PASS window.performance.timing.loadEventEnd > 0 
PASS window.performance.timing.loadEventEnd >= window.performance.timing.loadEventStart 
PASS window.performance.timing.unloadEventStart > 0 
PASS window.performance.timing.unloadEventStart >= window.performance.timing.navigationStart 
PASS window.performance.timing.unloadEventEnd > 0 
PASS window.performance.timing.unloadEventEnd >= window.performance.timing.unloadEventStart 

