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

Unified Diff: content/test/data/browser_plugin_focus.html

Issue 281833003: BrowserPluginHostTest: Rewrite 3 focus related tests and 1 visibility test to browser_tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase @tott, fix conflict Created 6 years, 7 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: content/test/data/browser_plugin_focus.html
diff --git a/content/test/data/browser_plugin_focus.html b/content/test/data/browser_plugin_focus.html
deleted file mode 100644
index 697213ac3c74e60cf041d9b090000a77fdfe0730..0000000000000000000000000000000000000000
--- a/content/test/data/browser_plugin_focus.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<head>
-<script type="text/javascript">
- function SetSrc(src) {
- plugin = document.getElementById('plugin');
- plugin.src = src;
- }
-</script>
-</head>
-
-<body>
- <button id="before" tabindex="0">Before</button>
- <object id="plugin"
- tabindex="0"
- type="application/browser-plugin"
- width="640"
- height="480"
- border="0px"></object>
- <button id="after" tabindex="0">After</button>
-<script type="text/javascript">
-var plugin = document.getElementById('plugin');
-plugin.addEventListener('-internal-instanceid-allocated', function(e) {
- var detail = e.detail ? JSON.parse(e.detail) : {};
- plugin['-internal-attach'](detail.windowId, {});
-});
-</script>
-</body>
-</html>
« no previous file with comments | « content/browser/browser_plugin/test_browser_plugin_guest.cc ('k') | content/test/data/browser_plugin_focus_child.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698