Title: [125429] trunk
Revision
125429
Author
[email protected]
Date
2012-08-13 11:45:12 -0700 (Mon, 13 Aug 2012)

Log Message

Remove webkitMediaSourceURL from HTMLMediaElement.idl
https://bugs.webkit.org/show_bug.cgi?id=93619

Reviewed by Adam Barth.

The webkitMediaSourceURL attribute is no longer needed now that we use
createObjectURL() to generate a media source URL.

Source/WebCore:

Test: update http/test/media/media-source/media-source.js

* html/HTMLMediaElement.h:
* html/HTMLMediaElement.idl:

LayoutTests:

* http/tests/media/media-source/media-source.js:
(MediaSourceTest.setSrcToMediaSourceTestURL):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (125428 => 125429)


--- trunk/LayoutTests/ChangeLog	2012-08-13 17:53:33 UTC (rev 125428)
+++ trunk/LayoutTests/ChangeLog	2012-08-13 18:45:12 UTC (rev 125429)
@@ -1,3 +1,16 @@
+2012-08-13  Anna Cavender  <[email protected]>
+
+        Remove webkitMediaSourceURL from HTMLMediaElement.idl
+        https://bugs.webkit.org/show_bug.cgi?id=93619
+
+        Reviewed by Adam Barth.
+
+        The webkitMediaSourceURL attribute is no longer needed now that we use
+        createObjectURL() to generate a media source URL.
+
+        * http/tests/media/media-source/media-source.js:
+        (MediaSourceTest.setSrcToMediaSourceTestURL):
+
 2012-08-13  Pavel Feldman  <[email protected]>
 
         Web Inspector: get rid of beforeTextChanged

Modified: trunk/LayoutTests/http/tests/media/media-source/media-source.js (125428 => 125429)


--- trunk/LayoutTests/http/tests/media/media-source/media-source.js	2012-08-13 17:53:33 UTC (rev 125428)
+++ trunk/LayoutTests/http/tests/media/media-source/media-source.js	2012-08-13 18:45:12 UTC (rev 125429)
@@ -172,8 +172,8 @@
 
 MediaSourceTest.setSrcToMediaSourceTestURL = function(videoTag)
 {
-    if (!videoTag.webkitMediaSourceURL) {
-        failTest("webkitMediaSourceURL is not available");
+    if (!mediaSource) {
+        failTest("MediaSource is not available");
         return;
     }
 

Modified: trunk/Source/WebCore/ChangeLog (125428 => 125429)


--- trunk/Source/WebCore/ChangeLog	2012-08-13 17:53:33 UTC (rev 125428)
+++ trunk/Source/WebCore/ChangeLog	2012-08-13 18:45:12 UTC (rev 125429)
@@ -1,3 +1,18 @@
+2012-08-13  Anna Cavender  <[email protected]>
+
+        Remove webkitMediaSourceURL from HTMLMediaElement.idl
+        https://bugs.webkit.org/show_bug.cgi?id=93619
+
+        Reviewed by Adam Barth.
+
+        The webkitMediaSourceURL attribute is no longer needed now that we use
+        createObjectURL() to generate a media source URL.
+
+        Test: update http/test/media/media-source/media-source.js
+
+        * html/HTMLMediaElement.h:
+        * html/HTMLMediaElement.idl:
+
 2012-08-13  Simon Hausmann  <[email protected]>
 
         [Qt] Port meta method/signal/slot handling in run-time bridge to use JSC C API

Modified: trunk/Source/WebCore/html/HTMLMediaElement.h (125428 => 125429)


--- trunk/Source/WebCore/html/HTMLMediaElement.h	2012-08-13 17:53:33 UTC (rev 125428)
+++ trunk/Source/WebCore/html/HTMLMediaElement.h	2012-08-13 18:45:12 UTC (rev 125429)
@@ -174,7 +174,6 @@
 
 #if ENABLE(MEDIA_SOURCE)
 //  Media Source.
-    const KURL& webkitMediaSourceURL() const { return m_mediaSourceURL; }
     void setSourceState(const String&);
 #endif 
 

Modified: trunk/Source/WebCore/html/HTMLMediaElement.idl (125428 => 125429)


--- trunk/Source/WebCore/html/HTMLMediaElement.idl	2012-08-13 17:53:33 UTC (rev 125428)
+++ trunk/Source/WebCore/html/HTMLMediaElement.idl	2012-08-13 18:45:12 UTC (rev 125429)
@@ -95,11 +95,6 @@
     readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitAudioDecodedByteCount;
     readonly attribute [Conditional=MEDIA_STATISTICS] unsigned long webkitVideoDecodedByteCount;
 
-#if defined(ENABLE_MEDIA_SOURCE) && ENABLE_MEDIA_SOURCE
-    // URL passed to src attribute to enable the media source logic.
-    readonly attribute [V8EnabledAtRuntime=mediaSource, URL] DOMString webkitMediaSourceURL;
-#endif
-
 #if defined(ENABLE_ENCRYPTED_MEDIA) && ENABLE_ENCRYPTED_MEDIA
     [V8EnabledAtRuntime=encryptedMedia] void webkitGenerateKeyRequest(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, in [Optional] Uint8Array initData)
         raises (DOMException);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to