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

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

Issue 2004643002: Implement BroadcastChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng's comments Created 4 years, 5 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 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://html.spec.whatwg.org/multipage/comms.html#broadcastchannel
6
7 [
8 Constructor(DOMString name),
9 ConstructorCallWith=ExecutionContext,
10 RaisesException=Constructor,
11 RuntimeEnabled=BroadcastChannel,
12 Exposed=(Window,Worker),
13 ActiveScriptWrappable,
14 DependentLifetime,
15 ] interface BroadcastChannel : EventTarget {
16 readonly attribute DOMString name;
17
18 [RaisesException] void postMessage(any message);
19 void close();
20
21 // event handlers
22 attribute EventHandler onmessage;
23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698