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

Unified Diff: third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Patch Set: rebase; fix expectations for plugin-initiate-popup-window-expected Created 4 years, 9 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: third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html
diff --git a/third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html b/third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html
index e86af51bd150e557721d2fcd44cc68d44075e371..0479132b5bea46639eb2ce56d8edaccb454fa74e 100644
--- a/third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html
+++ b/third_party/WebKit/LayoutTests/plugins/embed-attributes-setting.html
@@ -48,7 +48,7 @@ function test()
shouldBe("embed.getAttribute('width')", 1);
shouldBe("embed.getAttribute('type')", 1);
shouldBe("embed.getAttribute('src')", 1);
- shouldBe("typeof embed.testCallback", "function");
+ shouldBe("typeof embed.postMessage", "function");
print("----------");
@@ -56,9 +56,9 @@ function test()
print("[Embed is dynamically created element with only type specified]");
embed.style.visibility = "hidden";
- embed.type = "application/x-webkit-test-netscape";
+ embed.type = "application/x-blink-test-plugin";
document.body.appendChild(embed);
- shouldBe("typeof embed.testCallback", "function");
+ shouldBe("typeof embed.postMessage", "function");
print("----------");
@@ -66,9 +66,9 @@ function test()
print("[Embed is dynamically created element with only src specified]");
embed.style.visibility = "hidden";
- embed.src = "resources/test.testnetscape";
+ embed.src = "resources/test.blinktestplugin";
document.body.appendChild(embed);
- shouldBe("typeof embed.testCallback", "function");
+ shouldBe("typeof embed.postMessage", "function");
}
</script>
</head>
@@ -78,7 +78,7 @@ function test()
<hr>
<div id='console'></div>
-<embed style="visibility: hidden" type="application/x-webkit-test-netscape" id='embed'></embed>
+<embed style="visibility: hidden" type="application/x-blink-test-plugin" id='embed'></embed>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698