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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/helper.js

Issue 2855133004: Re-enable feature policy layout tests after bug fix. (Closed)
Patch Set: Codereview: nit Created 3 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: 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}, "*");
+}
+

Powered by Google App Engine
This is Rietveld 408576698