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

Unified Diff: modules/websockets/WebSocket.idl

Issue 581453002: Dartium Roll 38 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Sync'd w/ r 182210 Created 6 years, 3 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
« no previous file with comments | « modules/webmidi/NavigatorWebMIDI.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/websockets/WebSocket.idl
diff --git a/modules/websockets/WebSocket.idl b/modules/websockets/WebSocket.idl
index eeb8cbdb10332751d4167e1309fc4707909a72c5..c2a343cd22eff344cdf80919caf67e452b138cb3 100644
--- a/modules/websockets/WebSocket.idl
+++ b/modules/websockets/WebSocket.idl
@@ -38,15 +38,15 @@ enum BinaryType { "blob", "arraybuffer" };
[
ActiveDOMObject,
// FIXME: should be optional union type http://crbug.com/240176
- Constructor(DOMString url),
- Constructor(DOMString url, DOMString protocol),
+ Constructor(DOMString url, optional DOMString protocol),
Constructor(DOMString url, sequence<DOMString> protocols),
ConstructorCallWith=ExecutionContext,
- Exposed=Window&Worker,
+ Exposed=(Window,Worker),
RaisesException=Constructor,
- WillBeGarbageCollected,
+ GarbageCollected,
+ ImplementedAs=DOMWebSocket,
] interface WebSocket : EventTarget {
- [MeasureAs=WebSocketURL] readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
+ [DeprecateAs=WebSocketURL] readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
readonly attribute DOMString url;
// ready state
« no previous file with comments | « modules/webmidi/NavigatorWebMIDI.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698