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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
index 81853fe4a77919ee8256ffbf6fdf8b24bae260f4..af35b945a8a954155bc06c95e661a630d3fdac98 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.idl
@@ -84,7 +84,7 @@ enum RTCIceConnectionState {
readonly attribute RTCIceConnectionState iceConnectionState;
// readonly attribute boolean? canTrickleIceCandidates;
// RTCConfiguration getConfiguration();
- [CallWith=ExecutionContext, RaisesException] void setConfiguration(RTCConfiguration configuration);
+ [CallWith=ScriptState, RaisesException] void setConfiguration(RTCConfiguration configuration);
// TODO(guidou): close() should never throw an exception.
[RaisesException] void close();
attribute EventHandler onnegotiationneeded;
@@ -115,7 +115,7 @@ enum RTCIceConnectionState {
// https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api
// TODO(guidou): The label argument should have [TreatNullAs=EmptyString]
// and be non-nullable.
- [CallWith=ExecutionContext, RaisesException] RTCDataChannel createDataChannel(DOMString? label, optional Dictionary options);
+ [CallWith=ScriptState, RaisesException] RTCDataChannel createDataChannel(DOMString? label, optional Dictionary options);
attribute EventHandler ondatachannel;
// Certificate management
@@ -126,7 +126,7 @@ enum RTCIceConnectionState {
[Measure] sequence<MediaStream> getLocalStreams();
[Measure] sequence<MediaStream> getRemoteStreams();
[Measure] MediaStream getStreamById(DOMString streamId);
- [Measure, CallWith=ExecutionContext, RaisesException] void addStream(MediaStream? stream, optional Dictionary mediaConstraints);
+ [Measure, CallWith=ScriptState, RaisesException] void addStream(MediaStream? stream, optional Dictionary mediaConstraints);
[Measure, RaisesException] void removeStream(MediaStream? stream);
[Measure, RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track);
attribute EventHandler onaddstream;

Powered by Google App Engine
This is Rietveld 408576698