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

Unified Diff: third_party/WebKit/LayoutTests/plugins/plugin-cancel-sync-xhr.html

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad rebase. Created 4 years, 9 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: third_party/WebKit/LayoutTests/plugins/plugin-cancel-sync-xhr.html
diff --git a/third_party/WebKit/LayoutTests/plugins/plugin-cancel-sync-xhr.html b/third_party/WebKit/LayoutTests/plugins/plugin-cancel-sync-xhr.html
deleted file mode 100644
index cac3b8712db65f0b6ef8f86a29344a69b918fa74..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/plugins/plugin-cancel-sync-xhr.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/js-test.js"></script>
-<embed id="testPlugin" logfirstsetwindow="true" type="application/x-webkit-test-netscape">
-<script>
-description("Verify that sync XHRs cancelled by sync NPN message does not crash.");
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function runTest()
-{
- var plugin = document.getElementById("testPlugin");
- var x = new XMLHttpRequest();
- x.open('GET', '/resources/not-there', false);
- // Injecting a call to Evaluate() here will cause the message
- // corresponding to logfirstsetwindow's "testRunner.notifyDone()",
- // to be synchronously handled during the sync XHR. Which in turn
- // triggers the cancellation of the load.
- plugin.testEvaluate("1+2;");
- x.send(null);
-}
-setTimeout(runTest, 1);
-</script>

Powered by Google App Engine
This is Rietveld 408576698