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: LayoutTests/imported/web-platform-tests/html/editing/activation/click.html

Issue 1313623003: update-w3c-deps import using blink 9387ce8f51ec55db958c7429162d9be7d7c17123: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/cross-domain.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <meta charset=utf-8>
3 <title>HTMLElement#click</title>
4 <script src=../../../../../resources/testharness.js></script>
5 <script src=../../../../../resources/testharnessreport.js></script>
6 <div id=log></div>
7 <script>
8 test(function() {
9 var element = document.createElement("div");
10 var received = false;
11 element.addEventListener("click", this.step_func(function(e) {
12 received = true;
13 assert_false(e.isTrusted, "Event should not be trusted")
14 }));
15 element.click();
16 assert_true(received, "click event should have been dispatched synchronously") ;
17 })
18 </script>
OLDNEW
« no previous file with comments | « LayoutTests/imported/web-platform-tests/html/dom/documents/dom-tree-accessors/cross-domain.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698