Index: third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html |
diff --git a/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html b/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html |
index ddd1b07077ba7d6d8846b12c62ea969bec6f1027..2da034ee9e1d9d65542024d2d76fde3a80498dc0 100644 |
--- a/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html |
+++ b/third_party/WebKit/LayoutTests/plugins/plugin-remove-subframe.html |
@@ -1,14 +1,10 @@ |
<head> |
<script> |
-function MyCallback() { |
- |
-} |
- |
function test() { |
try { |
var plugin = window.frames["subframe"].document.plugins[0]; |
- plugin.getURL('javascript:parent.document.getElementById("d").innerHTML = "";', '_self'); |
+ plugin.testExecuteScript('parent.document.getElementById("d").innerHTML = "";'); |
} catch (ex) { |
alert(ex); |