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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/cross-frame-mouse-source-capabilities.html

Issue 2675793005: Track constant InputDeviceCapabilities objects per-window. (Closed)
Patch Set: test tidying 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 <script>
3 function handler(event) {
4 window.top.postMessage(event.sourceCapabilities.customProperty, "*");
5 }
6
7 function runTest() {
8 document.querySelector("button").click();
9 }
10
11 window.onload = function () {
12 setTimeout(runTest, 1000);
13 window.top.postMessage("start", "*");
14 }
15 </script>
16 <button onclick="handler(event)"></button>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698