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

Side by Side Diff: third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.idl

Issue 2860483002: Add messageerror event handler (Closed)
Patch Set: fix test Created 3 years, 7 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 | « third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h ('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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://html.spec.whatwg.org/multipage/comms.html#broadcastchannel 5 // https://html.spec.whatwg.org/multipage/comms.html#broadcastchannel
6 6
7 [ 7 [
8 Constructor(DOMString name), 8 Constructor(DOMString name),
9 ConstructorCallWith=ExecutionContext, 9 ConstructorCallWith=ExecutionContext,
10 RaisesException=Constructor, 10 RaisesException=Constructor,
11 RuntimeEnabled=BroadcastChannel, 11 RuntimeEnabled=BroadcastChannel,
12 Exposed=(Window,Worker), 12 Exposed=(Window,Worker),
13 ActiveScriptWrappable, 13 ActiveScriptWrappable,
14 DependentLifetime, 14 DependentLifetime,
15 Measure, 15 Measure,
16 ] interface BroadcastChannel : EventTarget { 16 ] interface BroadcastChannel : EventTarget {
17 readonly attribute DOMString name; 17 readonly attribute DOMString name;
18 18
19 [RaisesException, Measure] void postMessage(any message); 19 [RaisesException, Measure] void postMessage(any message);
20 [Measure] void close(); 20 [Measure] void close();
21 21
22 // event handlers 22 // event handlers
23 attribute EventHandler onmessage; 23 attribute EventHandler onmessage;
24 attribute EventHandler onmessageerror;
24 }; 25 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698