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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/events/Event-constants.html

Issue 1529523002: Import dom/ from web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak W3CImportExpectations Created 5 years 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>Event constants</title>
3 <script src="../../../../resources/testharness.js"></script>
4 <script src="../../../../resources/testharnessreport.js"></script>
5 <script src="../constants.js"></script>
6 <div id="log"></div>
7 <script>
8 var objects;
9 setup(function() {
10 objects = [
11 [Event, "Event interface object"],
12 [Event.prototype, "Event prototype object"],
13 [document.createEvent("Event"), "Event object"],
14 [document.createEvent("CustomEvent"), "CustomEvent object"]
15 ]
16 })
17 testConstants(objects, [
18 ["NONE", 0],
19 ["CAPTURING_PHASE", 1],
20 ["AT_TARGET", 2],
21 ["BUBBLING_PHASE", 3]
22 ], "eventPhase")
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698