- From: Philip Jägenstedt <notifications@github.com>
- Date: Mon, 10 Apr 2017 21:11:19 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 11 April 2017 04:11:53 UTC
This is used in https://w3c.github.io/webrtc-pc/#peer-to-peer-data-api ```WebIDL partial interface RTCPeerConnection { readonly attribute RTCSctpTransport? sctp; RTCDataChannel createDataChannel([TreatNullAs=EmptyString] USVString label, optional RTCDataChannelInit dataChannelDict); attribute EventHandler ondatachannel; }; ``` However, it's not allowed per Web IDL: https://heycam.github.io/webidl/#TreatNullAs > The `[TreatNullAs]` extended attribute must not be associated with a type that is not DOMString. Is there a reason for this restriction? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/340
Received on Tuesday, 11 April 2017 04:11:53 UTC