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

Unified 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, 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/resources/feature-policy-fullscreen-relocate.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html
index fdef3f3a155ebd6df32a6e51ff588b456aaffabb..103041a0b412724a9b09ed7bc6693db41f199e3e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html
+++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html
@@ -1,9 +1,7 @@
<!DOCTYPE html>
<title>Feature-Policy Fullscreen Relocated</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
<script>
-promise_test(function(t) {
+window.onload = function () {
document.location = "http://localhost:8000/feature-policy/resources/feature-policy-fullscreen.html";
return new Promise(function(resolve, reject) {
window.addEventListener('message', function(e) {
@@ -12,5 +10,5 @@ promise_test(function(t) {
}).then(function(data) {
parent.postMessage(data, '*');
});
-}, 'Chaning document.location without changing iframe.src should not update the container policy.');
+}
</script>

Powered by Google App Engine
This is Rietveld 408576698