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

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

Issue 2767983003: Initial Implementation of Iframe Attribute for Feature Policy (Part 4) (Closed)
Patch Set: Codereview: nit + added more unit tests for container policy 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Feature-Policy Fullscreen Relocated</title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <script>
6 promise_test(function(t) {
7 document.location = "http://localhost:8000/feature-policy/resources/feature-po licy-fullscreen.html";
8 return new Promise(function(resolve, reject) {
9 window.addEventListener('message', function(e) {
10 resolve(e.data);
11 }, { once: true });
12 }).then(function(data) {
13 parent.postMessage(data, '*');
14 });
15 }, 'Chaning document.location without changing iframe.src should not update the container policy.');
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698