Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>Document.createEvent</title> | 3 <title>Document.createEvent</title> |
| 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createevent"> | 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createevent"> |
| 5 <script src="/resources/testharness.js"></script> | 5 <script src="/resources/testharness.js"></script> |
| 6 <script src="/resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 <script src="Document-createEvent.js"></script> | 7 <script src="Document-createEvent.js"></script> |
| 8 <div id="log"></div> | 8 <div id="log"></div> |
| 9 <script> | 9 <script> |
| 10 function testAlias(arg, iface) { | 10 function testAlias(arg, iface) { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 74 "AnimationPlaybackEvent", | 74 "AnimationPlaybackEvent", |
| 75 "AnimationPlayerEvent", | 75 "AnimationPlayerEvent", |
| 76 "ApplicationCacheErrorEvent", | 76 "ApplicationCacheErrorEvent", |
| 77 "AudioProcessingEvent", | 77 "AudioProcessingEvent", |
| 78 "AutocompleteErrorEvent", | 78 "AutocompleteErrorEvent", |
| 79 "BeforeInstallPromptEvent", | 79 "BeforeInstallPromptEvent", |
| 80 "BlobEvent", | 80 "BlobEvent", |
| 81 "ClipboardEvent", | 81 "ClipboardEvent", |
| 82 "CommandEvent", | 82 "CommandEvent", |
| 83 "DataContainerEvent", | 83 "DataContainerEvent", |
| 84 "DeviceLightEvent", | |
|
foolip
2017/04/17 08:55:59
Actually it's fine to leave this, this is a list o
cco3
2017/04/17 16:53:19
Done.
| |
| 85 "ExtendableEvent", | 84 "ExtendableEvent", |
| 86 "ExtendableMessageEvent", | 85 "ExtendableMessageEvent", |
| 87 "FetchEvent", | 86 "FetchEvent", |
| 88 "FontFaceSetLoadEvent", | 87 "FontFaceSetLoadEvent", |
| 89 "GamepadEvent", | 88 "GamepadEvent", |
| 90 "GeofencingEvent", | 89 "GeofencingEvent", |
| 91 "InstallEvent", | 90 "InstallEvent", |
| 92 "KeyEvent", | 91 "KeyEvent", |
| 93 "MIDIConnectionEvent", | 92 "MIDIConnectionEvent", |
| 94 "MIDIMessageEvent", | 93 "MIDIMessageEvent", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 146 | 145 |
| 147 if (!(eventInterface + "s" in aliases)) { | 146 if (!(eventInterface + "s" in aliases)) { |
| 148 test(function () { | 147 test(function () { |
| 149 assert_throws("NOT_SUPPORTED_ERR", function () { | 148 assert_throws("NOT_SUPPORTED_ERR", function () { |
| 150 var evt = document.createEvent(eventInterface + "s"); | 149 var evt = document.createEvent(eventInterface + "s"); |
| 151 }); | 150 }); |
| 152 }, 'Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "' + eventInterface + 's"'); | 151 }, 'Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "' + eventInterface + 's"'); |
| 153 } | 152 } |
| 154 }); | 153 }); |
| 155 </script> | 154 </script> |
| OLD | NEW |