Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html
diff --git a/LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html b/LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html
deleted file mode 100644
index cbce1cb2536355084a0ed4e11fa18699dbc8879f..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/crash-restoring-plugin-page-from-page-cache.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<head>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
- testRunner.overridePreference("WebKitPageCacheSupportsPluginsPreferenceKey", 1);
-}
-
-function pageShown() {
- if (event.persisted)
- setTimeout("testComplete()", 0);
- else
- setTimeout("startTest()", 0);
-}
-
-function testComplete() {
- alert("Made it back!");
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-function startTest() {
- document.getElementById("ExamplePlugin").setAttribute("style", "display:none");
- window.location.href = 'resources/go-back.html';
-}
-
-</script>
-
-<style>
- object { border-color: red; border-width: 2px; border-style:solid; }
-</style>
-</head>
-
-<body onpageshow="pageShown();">
-
-This test - assuming it will pass - does the following:<br>
-1 - Has nested plugin elements<br>
-2 - Leaves the page, and the page enters the page cache<br>
-3 - Returns, pulling the page from the page cache<br>
-4 - Doesn't crash<br>
-<br>
-If you're not running under DRT, you'll need to leave the page then return to it yourself.
-<br>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-<object>
-
-<object type="application/x-shockwave-flash" width="500" height="375" id="ExamplePlugin">
- <img src="resources/apple.gif">
-</object>
-
-Some fallback text to force a renderer.
-
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object>
-</object><br><br>
-
-(Yes, the extreme number of object elements are necessary to more reliably reproduce the crash. Leave them.)
-</body>

Powered by Google App Engine
This is Rietveld 408576698