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

Unified Diff: webkit/data/layout_tests/chrome/plugins/get-url-with-iframe-target.html

Issue 504079: Remove tests that have been upstreamed:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add test_expectations.txt mods Created 11 years 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: webkit/data/layout_tests/chrome/plugins/get-url-with-iframe-target.html
===================================================================
--- webkit/data/layout_tests/chrome/plugins/get-url-with-iframe-target.html (revision 35112)
+++ webkit/data/layout_tests/chrome/plugins/get-url-with-iframe-target.html (working copy)
@@ -1,33 +0,0 @@
-<html>
-<script>
-var NPERR_NO_ERROR = 0;
-var NPERR_GENERIC_ERROR = 1;
-
-function callback(result) {
- var d = document.getElementById('result');
-
- if (result == NPERR_NO_ERROR)
- d.innerHTML = "SUCCESS"
- else
- d.innerHTML = "FAILED - got error code " + result
-
- layoutTestController.notifyDone();
-}
-
-function runtest() {
- if (window.layoutTestController) {
- layoutTestController.dumpAsText();
- layoutTestController.waitUntilDone();
- plg.getURLNotify("data:,hello world", "frame", "callback");
- } else {
- document.write("Cannot run interactively");
- }
-}
-</script>
-<body onload="runtest()">
-<embed id="plg" type="application/x-webkit-test-netscape"></embed>
-This tests that the plugin properly receives NPP_URLNotify for subframe loads.
-<div id="result">FAILED</div>
-<iframe id="frame"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698