upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / plugins / netscape-plugin-page-cache-works-expected.txt
1 This tests that pages with plugins behave properly with the page cache. This includes:
2 -The plugin being destroyed upon navigation away from the page.
3 -The plugin being recreated upon restoring the page from the page cache.
4 -Plugin script objects accessed the first time the plugin was created are appropriately invalidated after the page has been restored from the page cache.
5
6 Unfortunately there is no reliable way to get affirmative confirmation that the plugin was destroyed upon navigation away from the page. For now we'll assume recreation means it had successfully been destroyed.
7
8 Initial load: Page loaded
9 Initial load: Page shown
10 Initial load: Plugin created
11 Initial load: Accessing testObject.property
12 Initial load: Accessed testObject.property without exception
13 Initial load: Assigning to testObject.property
14 Initial load: Assigned to testObject.property without exception
15 Initial load: Page hidden
16 Restored from page cache: Page shown
17 Restored from page cache: Plugin created
18 Restored from page cache: Accessing testObject.property
19 Restored from page cache: While accessing testObject.property: ReferenceError: Trying to access object from destroyed plug-in.
20 Restored from page cache: Assigning to testObject.property
21 Restored from page cache: While assigning to testObject.property: ReferenceError: Trying to access object from destroyed plug-in.
22