Index: Source/core/testing/PrivateScriptTest.js |
diff --git a/Source/core/testing/PrivateScriptTest.js b/Source/core/testing/PrivateScriptTest.js |
index b3692ef3ccf72d00169a4ddb06c1ac394ba14466..c6005d5d6f5915a66b0d160089b8460557419b81 100644 |
--- a/Source/core/testing/PrivateScriptTest.js |
+++ b/Source/core/testing/PrivateScriptTest.js |
@@ -4,7 +4,7 @@ |
"use strict"; |
-installClass("PrivateScriptTest", function(global, PrivateScriptTestPrototype) { |
+installClass("PrivateScriptTest", function(PrivateScriptTestPrototype) { |
PrivateScriptTestPrototype.initialize = function() { |
this.m_shortAttribute = -1; |
@@ -91,7 +91,7 @@ installClass("PrivateScriptTest", function(global, PrivateScriptTestPrototype) { |
} |
PrivateScriptTestPrototype.clickNode = function(document, node) { |
- var event = new MouseEvent("click", { bubbles: true, cancelable: true, view: global }); |
+ var event = new MouseEvent("click", { bubbles: true, cancelable: true, view: window }); |
node.dispatchEvent(event); |
} |