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

Unified Diff: ppapi/tests/blink_deprecated_test_plugin.cc

Issue 1848193002: Remove last 3 layout tests that expect NPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ppapi/tests/blink_deprecated_test_plugin.cc
diff --git a/ppapi/tests/blink_deprecated_test_plugin.cc b/ppapi/tests/blink_deprecated_test_plugin.cc
index dccb6d912273f78052a5cb5051d665a603cd17ac..7dcfd62c72ae80d472867e06a5490157950f9f37 100644
--- a/ppapi/tests/blink_deprecated_test_plugin.cc
+++ b/ppapi/tests/blink_deprecated_test_plugin.cc
@@ -338,6 +338,9 @@ class BlinkDeprecatedTestInstance : public pp::InstancePrivate {
if (HasAttribute("testwindowopen"))
return TestWindowOpen();
+ if (HasAttribute("initscript"))
+ ExecuteScript(attributes_["initscript"]);
+
uint32_t event_classes = 0;
if (HasAttribute("keydownscript"))
event_classes |= PP_INPUTEVENT_CLASS_KEYBOARD;

Powered by Google App Engine
This is Rietveld 408576698