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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/FileAPI/url/multi-global-origin-serialization.sub.html

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 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 <meta charset="utf-8">
3 <title>Blob URL serialization (specifically the origin) in multi-global situatio ns</title>
4 <link rel="help" href="https://w3c.github.io/FileAPI/#unicodeBlobURL">
5 <link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
6
7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script>
9
10 <!-- this page is the entry global -->
11
12 <iframe src="//{{domains[www]}}:{{location[port]}}/FileAPI/support/incumbent.sub .html"></iframe>
13
14 <script>
15 "use strict";
16 document.domain = "{{host}}";
17
18 window.onload = () => {
19 const url = frames[0].createBlobURL();
20 const desired = "blob:{{location[scheme]}}://www1";
21 assert_equals(url.substring(0, desired.length), desired,
22 "Origin should contain www1, from the current settings object");
23 done();
24 };
25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698