Changeset 95151 in webkit
- Timestamp:
- Sep 14, 2011 7:26:42 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95149 r95151 1 2011-09-14 Henrik Grunell <grunell@google.com> 2 3 MediaStream API: Change PeerConnection constructor name to webkitPeerConnection 4 https://bugs.webkit.org/show_bug.cgi?id=67843 5 6 Reviewed by Tony Gentilcore. 7 8 Tests for the MediaStream API will be provided by the bug 56587, pending enough landed code. 9 10 * fast/dom/call-a-constructor-as-a-function.html: 11 * platform/chromium/fast/dom/call-a-constructor-as-a-function-expected.txt: 12 1 13 2011-09-14 David Levin <levin@chromium.org> 2 14 -
trunk/LayoutTests/fast/dom/call-a-constructor-as-a-function.html
r94357 r95151 11 11 </div> 12 12 <script> 13 var test_constructors = ["ArrayBuffer", "AudioContext", "FormData", "DataView", "EventSource", "FileReader", "Float32Array", "Float64Array", "Audio", "Image", "Option", "Int16Array", "Int32Array", "Int8Array", "MessageChannel", " PeerConnection", "SharedWorker", "Uint16Array", "Uint32Array", "Uint8Array", "WebKitCSSMatrix", "WebKitPoint", "WebSocket", "Worker", "XMLHttpRequest", "XSLTProcessor"];13 var test_constructors = ["ArrayBuffer", "AudioContext", "FormData", "DataView", "EventSource", "FileReader", "Float32Array", "Float64Array", "Audio", "Image", "Option", "Int16Array", "Int32Array", "Int8Array", "MessageChannel", "webkitPeerConnection", "SharedWorker", "Uint16Array", "Uint32Array", "Uint8Array", "WebKitCSSMatrix", "WebKitPoint", "WebSocket", "Worker", "XMLHttpRequest", "XSLTProcessor"]; 14 14 15 15 test_constructors.forEach(function (constructor) { -
trunk/LayoutTests/platform/chromium/fast/dom/call-a-constructor-as-a-function-expected.txt
r94357 r95151 16 16 PASS Int8Array() threw exception TypeError: DOM object constructor cannot be called as a function.. 17 17 PASS MessageChannel() threw exception TypeError: DOM object constructor cannot be called as a function.. 18 PASS PeerConnection() threw exception TypeError: DOM object constructor cannot be called as a function..18 PASS webkitPeerConnection() threw exception TypeError: DOM object constructor cannot be called as a function.. 19 19 SKIP SharedWorker is not implemented. 20 20 PASS Uint16Array() threw exception TypeError: DOM object constructor cannot be called as a function.. -
trunk/Source/WebCore/ChangeLog
r95150 r95151 1 2011-09-14 Henrik Grunell <grunell@google.com> 2 3 MediaStream API: Change PeerConnection constructor name to webkitPeerConnection 4 https://bugs.webkit.org/show_bug.cgi?id=67843 5 6 Reviewed by Tony Gentilcore. 7 8 Tests for the MediaStream API will be provided by the bug 56587, pending enough landed code. 9 10 * bindings/generic/RuntimeEnabledFeatures.h: 11 (WebCore::RuntimeEnabledFeatures::webkitPeerConnectionEnabled): 12 * page/DOMWindow.idl: 13 1 14 2011-09-14 John Bauman <jbauman@chromium.org> 2 15 -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r94590 r95151 160 160 static void setMediaStreamEnabled(bool isEnabled) { isMediaStreamEnabled = isEnabled; } 161 161 static bool webkitGetUserMediaEnabled() { return isMediaStreamEnabled; } 162 static bool peerConnectionEnabled() { return isMediaStreamEnabled; }162 static bool webkitPeerConnectionEnabled() { return isMediaStreamEnabled; } 163 163 #endif 164 164 -
trunk/Source/WebCore/page/DOMWindow.idl
r95040 r95151 338 338 attribute [Conditional=DEVICE_ORIENTATION,EnabledAtRuntime] EventListener ondeviceorientation; 339 339 340 attribute [Conditional=MEDIA_STREAM,EnabledAtRuntime] PeerConnectionConstructor PeerConnection;340 attribute [Conditional=MEDIA_STREAM,EnabledAtRuntime] PeerConnectionConstructor webkitPeerConnection; 341 341 342 342 // EventTarget interface
Note: See TracChangeset
for help on using the changeset viewer.