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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html

Issue 2855133004: Re-enable feature policy layout tests after bug fix. (Closed)
Patch Set: Updated fp-vibrate tests expect Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Feature-Policy Fullscreen Relocated</title> 2 <title>Feature-Policy Fullscreen Relocated</title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <script> 3 <script>
6 promise_test(function(t) { 4 window.onload = function () {
7 document.location = "http://localhost:8000/feature-policy/resources/feature-po licy-fullscreen.html"; 5 document.location = "http://localhost:8000/feature-policy/resources/feature-po licy-fullscreen.html";
8 return new Promise(function(resolve, reject) { 6 return new Promise(function(resolve, reject) {
9 window.addEventListener('message', function(e) { 7 window.addEventListener('message', function(e) {
10 resolve(e.data); 8 resolve(e.data);
11 }, { once: true }); 9 }, { once: true });
12 }).then(function(data) { 10 }).then(function(data) {
13 parent.postMessage(data, '*'); 11 parent.postMessage(data, '*');
14 }); 12 });
15 }, 'Chaning document.location without changing iframe.src should not update the container policy.'); 13 }
16 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698