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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webmessaging/MessageEvent.html

Issue 2558423002: Import wpt/webmessaging tests (Closed)
Patch Set: rebase again Created 3 years, 11 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 <title>MessageEvent</title>
4 <script src=/resources/testharness.js></script>
5 <script src=/resources/testharnessreport.js></script>
6 <div id=log></div>
7 <script>
8 var prefixes = ['moz', 'ms', 'o', 'webkit'];
9 prefixes.forEach(function(prefix) {
10 var name = prefix + "InitMessageEvent";
11
12 test(function() {
13 assert_false(name in MessageEvent.prototype);
14 }, name + " on the prototype");
15
16 test(function() {
17 var event = new MessageEvent("message");
18 assert_false(name in event);
19 }, name + " on the instance");
20 });
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698