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

Unified Diff: LayoutTests/plugins/geturl-replace-query.html

Issue 1319473007: Delete a bunch of NPAPI layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 3 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/geturl-replace-query.html
diff --git a/LayoutTests/plugins/geturl-replace-query.html b/LayoutTests/plugins/geturl-replace-query.html
deleted file mode 100644
index 04fe6b2d7ad09054f8eb4b47fef349b63d20f845..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/geturl-replace-query.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<body>
-<embed name="plg" type="application/x-webkit-test-netscape"></embed>
-<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=7656">bug 7656<a/>:
-Query string always appended to Flash URLs, instead of being replaced</p>
-<script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- try {
-
- loc = window.location.href;
-
- if (loc.indexOf('?') == -1) {
- window.location.href = loc + "?1";
- } else {
-
- if (loc.substring(loc.indexOf('?'), loc.length) == "?1") {
- plg.getURL("?2", "_self");
- } else {
- query = loc.substring(loc.indexOf('?'), loc.length);
- document.write(query == "?2" ?
- "SUCCESS" : "FAILURE: " + query);
-
- if (window.testRunner)
- testRunner.notifyDone();
- }
- }
- } catch (ex) {
- alert("Exception: " + ex.description);
- }
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698