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

Unified Diff: webkit/data/plugins/hidden_plugin_iframe.html

Issue 106008: Fix Flash window in Analytics being incorrectly visible.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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
« no previous file with comments | « webkit/data/plugins/hidden_plugin.html ('k') | webkit/glue/plugins/test/npapi_test_plugin.vcproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/data/plugins/hidden_plugin_iframe.html
===================================================================
--- webkit/data/plugins/hidden_plugin_iframe.html (revision 0)
+++ webkit/data/plugins/hidden_plugin_iframe.html (revision 0)
@@ -0,0 +1,14 @@
+<script>
+var gotVisible = false;
+function windowHidden() {
+ if (!gotVisible)
+ parent.document.getElementById('result').innerHTML = 'DONE';
+}
+
+function windowVisible() {
+ gotVisible = true;
+ parent.document.getElementById('result').innerHTML = 'FAIL';
+}
+
+</script>
+<embed style="visibility:hidden" id='1' type='application/vnd.npapi-test' src='foo' name='hidden_plugin'>
« no previous file with comments | « webkit/data/plugins/hidden_plugin.html ('k') | webkit/glue/plugins/test/npapi_test_plugin.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698