Index: third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/helper.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/helper.js b/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/helper.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..05e4f617983efd78b902f3686e833ad1198bdb78 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/helper.js |
@@ -0,0 +1,6 @@ |
+function sendClick() { |
+ // The iframe uses eventSender to emulate a user navigatation, which requires |
+ // absolute coordinates. |
+ this.contentWindow.postMessage({x: this.offsetLeft, y: this.offsetTop}, "*"); |
+} |
+ |