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

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

Issue 2526943002: Add use counters for lots of DOM APIs.
Patch Set: Add use counters for lots of DOM APIs. Created 4 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
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 [Measure] 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 [Measure] attribute EventHandler onmessage;
24 }; 24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698