| Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforself.php
 | 
| diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforself.php b/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforself.php
 | 
| index caa422d9c50bd6e6fb8e7155f2de4db4898d9994..b9abda906ec74ced7a7ad0629c5326e5797496cd 100644
 | 
| --- a/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforself.php
 | 
| +++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/vibrate-enabledforself.php
 | 
| @@ -15,13 +15,22 @@ Header("Feature-Policy: {\"vibrate\": [\"self\"]}");
 | 
|  <script src="../../resources/testharness.js"></script>
 | 
|  <script src="../../resources/testharnessreport.js"></script>
 | 
|  <script>
 | 
| -  if (window.testRunner) {
 | 
| -    testRunner.dumpAsText();
 | 
| -    testRunner.dumpChildFramesAsText();
 | 
| +if (window.testRunner) {
 | 
| +  testRunner.dumpAsText();
 | 
| +  testRunner.dumpChildFramesAsText();
 | 
| +}
 | 
| +
 | 
| +function loaded() {
 | 
| +  var iframes = document.getElementsByTagName('iframe');
 | 
| +  for (var i = 0; i < iframes.length; ++i) {
 | 
| +    var iframe = iframes[i];
 | 
| +    // The iframe uses eventSender to emulate a user navigatation, which requires absolute coordinates.
 | 
| +    iframe.contentWindow.postMessage({x: iframe.offsetLeft, y: iframe.offsetTop}, "*");
 | 
|    }
 | 
| +}
 | 
|  </script>
 | 
|  </head>
 | 
| -<body>
 | 
| +<body onload="loaded();">
 | 
|  <iframe id="f1" src="resources/feature-policy-vibrate-enabled.html"></iframe>
 | 
|  <iframe id="f2" src="http://localhost:8000/feature-policy/resources/feature-policy-vibrate-disabled.html"></iframe>
 | 
|  </body>
 | 
| 
 |