diff options
Diffstat (limited to 'ppapi/tests')
-rw-r--r-- | ppapi/tests/test_case.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/tests/test_case.html b/ppapi/tests/test_case.html index 9da9c7c..1552ae2 100644 --- a/ppapi/tests/test_case.html +++ b/ppapi/tests/test_case.html @@ -13,7 +13,7 @@ function AdjustHeight(frameWin) { // passed, or information about the failure if the test(s) did not pass. function DidExecuteTests(result) { var plugin = document.getElementById("plugin"); - if (plugin.removePlugin) { + if (plugin.parentNode.removePlugin) { plugin.parentNode.removeChild(plugin); plugin = undefined; } @@ -127,7 +127,7 @@ function LogHTML(html) { } function RemovePluginWhenFinished() { - window.document.getElementById("plugin").removePlugin = true; + window.document.getElementById("container").removePlugin = true; } function sendAutomationMessage(msg) { |