Closed Bug 860394 Opened 12 years ago Closed 12 years ago

[test] Add test for tabs#pageshow event that includes persistence

Categories

(Add-on SDK Graveyard :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jsantell, Assigned: jsantell)

Details

For the addition of pageshow event, which is called shortly after `load` each time a page is loaded (regardless of if its cached or not), tests were added that wait on a page after loaded for the page to be cached, navigates to a new page, and then history.back() called. If the initial wait was long enough, the page is cached and is indicated by the pageshow event's `persisted` boolean. We need to find a way to test for persistence that doesn't rely on timers, as this sometimes fails, and the persistence test was backed out (and replaced with a general pageshow event test) in bug 858965.
The previous tests were backed out in bug 858935, not the one previously mentioned
Previous fix from Alex in bug 858935 resolved this
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.