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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/browsers/origin/cross-origin-objects/cross-origin-objects-on-new-window.html

Issue 2303013002: Add UMA metric to track usage of sending a mousedown to select elements. (Closed)
Patch Set: W3C auto test import CL. Created 4 years, 3 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 <meta name="timeout" content="long">
4 <title>Cross-origin behavior of Window and Location on new Window</title>
5 <link rel="author" title="Bobby Holley (:bholley)" href="bobbyholley@gmail.com">
6 <link rel="help" href="https://html.spec.whatwg.org/multipage/#security-window">
7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#security-location ">
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 <div id=log></div>
11 <script>
12 setup({explicit_done: true});
13
14 window.addEventListener('message', function onmessage(evt) {
15 window.removeEventListener('message', onmessage);
16 test(function() {
17 var results = evt.data;
18 assert_true(results.length > 0, 'Need results');
19 results.forEach(function(r) { assert_true(r.pass, r.message); });
20 }, "Cross-origin object identity preserved across document.domain");
21 win.close();
22 done();
23 });
24 var win = window.open('win-documentdomain.sub.html');
25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698