[meta] Tracking bug for Media Source Extensions API implementation
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
People
(Reporter: kinetik, Unassigned)
References
(Depends on 37 open bugs, )
Details
(4 keywords, Whiteboard: [shumway] [dependency: marketplace-partners])
Attachments
(2 obsolete files)
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Updated•13 years ago
|
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
Reporter | ||
Comment 4•13 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Comment 6•12 years ago
|
||
Reporter | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Updated•12 years ago
|
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
Reporter | ||
Comment 13•12 years ago
|
||
Updated•12 years ago
|
Comment 14•11 years ago
|
||
Reporter | ||
Comment 15•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Comment 16•11 years ago
|
||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Comment 17•11 years ago
|
||
Comment 18•11 years ago
|
||
Comment 19•11 years ago
|
||
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
Comment 22•11 years ago
|
||
Comment 23•11 years ago
|
||
Comment 24•11 years ago
|
||
Comment 25•11 years ago
|
||
Updated•11 years ago
|
Comment 26•11 years ago
|
||
Reporter | ||
Comment 27•11 years ago
|
||
Comment 28•11 years ago
|
||
Updated•11 years ago
|
Comment 29•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Comment 30•10 years ago
|
||
Comment 31•10 years ago
|
||
Updated•10 years ago
|
Updated•10 years ago
|
Comment 32•10 years ago
|
||
Comment 33•10 years ago
|
||
Comment 34•10 years ago
|
||
Comment 35•10 years ago
|
||
Updated•10 years ago
|
Comment 38•10 years ago
|
||
Comment 39•10 years ago
|
||
Comment 40•10 years ago
|
||
Comment 41•10 years ago
|
||
Comment 42•10 years ago
|
||
Updated•10 years ago
|
Comment 43•10 years ago
|
||
Comment 44•10 years ago
|
||
Comment 45•10 years ago
|
||
Comment 46•10 years ago
|
||
Comment 47•10 years ago
|
||
Comment 48•10 years ago
|
||
Comment 49•10 years ago
|
||
Updated•10 years ago
|
Comment 52•10 years ago
|
||
Comment 53•10 years ago
|
||
Comment 54•10 years ago
|
||
Comment 55•10 years ago
|
||
Comment 56•10 years ago
|
||
Comment 57•10 years ago
|
||
Comment 58•10 years ago
|
||
Comment 59•10 years ago
|
||
Comment 60•10 years ago
|
||
Comment 61•10 years ago
|
||
Comment 62•10 years ago
|
||
Comment 63•10 years ago
|
||
Comment 64•10 years ago
|
||
Comment 65•10 years ago
|
||
Comment 66•10 years ago
|
||
Comment 67•10 years ago
|
||
Updated•10 years ago
|
Comment 68•10 years ago
|
||
Comment 69•10 years ago
|
||
Comment 70•10 years ago
|
||
Comment 71•10 years ago
|
||
Reporter | ||
Comment 72•10 years ago
|
||
Comment 73•10 years ago
|
||
Updated•10 years ago
|
Updated•10 years ago
|
Comment 74•10 years ago
|
||
Comment 75•10 years ago
|
||
Updated•9 years ago
|
Comment 76•9 years ago
|
||
Comment 77•9 years ago
|
||
Comment 78•9 years ago
|
||
Comment 79•9 years ago
|
||
Comment 80•9 years ago
|
||
Comment 81•9 years ago
|
||
Comment 82•9 years ago
|
||
Comment hidden (off-topic) |
Comment 84•7 years ago
|
||
![]() |
||
Comment 85•7 years ago
|
||
Updated•6 years ago
|
Comment 86•3 years ago
|
||
Comment on attachment 647050 [details] [diff] [review]
WebIDL/DOM stubs - patch v0
HG changeset patch
User Matthew Gregan <kinetik@flim.org>
Date 1343619599 -43200
Node ID 877a5b12f3d525a8d93f73ea8c93d8bcbf190d38
Parent f528e021ceb1daff2d854d9c460e907d4397b0d4
Bug 778617 - Implementation of the media source extensions API.
diff --git a/content/media/Makefile.in b/content/media/Makefile.in
--- a/content/media/Makefile.in
+++ b/content/media/Makefile.in
@@ -87,6 +87,8 @@ endifPARALLEL_DIRS += webrtc
+PARALLEL_DIRS += mediasource
+
TEST_DIRS += testFORCE_STATIC_LIB = 1
diff --git a/content/media/mediasource/Makefile.in b/content/media/mediasource/Makefile.in
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/Makefile.in
@@ -0,0 +1,36 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+DEPTH = ../../..
+topsrcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+FAIL_ON_WARNINGS := 1
+
+include $(DEPTH)/config/autoconf.mk
+
+MODULE = content
+LIBRARY_NAME = gkconmediasource_s
+LIBXUL_LIBRARY = 1
+
+
+EXPORTS += \
nsDOMMediaSource.h \
nsDOMSourceBuffer.h \
nsDOMSourceBufferList.h \
$(NULL)
+CPPSRCS = \
nsDOMMediaSource.cpp \
nsDOMSourceBuffer.cpp \
nsDOMSourceBufferList.cpp \
$(NULL)
+FORCE_STATIC_LIB = 1
+
+include $(topsrcdir)/config/rules.mk
+
+LOCAL_INCLUDES = \
-I$(topsrcdir)/dom/base \
$(NULL)
diff --git a/content/media/mediasource/nsDOMMediaSource.cpp b/content/media/mediasource/nsDOMMediaSource.cpp
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/nsDOMMediaSource.cpp
@@ -0,0 +1,70 @@
+/* -- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 --/
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include "nsContentUtils.h"
+#include "nsDOMClassInfoID.h"
+#include "nsDOMMediaSource.h"
+#include "nsDOMSourceBuffer.h"
+#include "nsDOMSourceBufferList.h"+using namespace mozilla;
+
+#if 0
+DOMCI_DATA(MediaSource, nsDOMMediaSource)
+#endif
+
+NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(nsDOMMediaSource, mGlobal)
+NS_IMPL_CYCLE_COLLECTING_ADDREF(nsDOMMediaSource)
+NS_IMPL_CYCLE_COLLECTING_RELEASE(nsDOMMediaSource)
+
+NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMMediaSource)
- NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
- NS_INTERFACE_MAP_ENTRY(nsISupports)
+NS_INTERFACE_MAP_END+/static/ already_AddRefed<nsDOMMediaSource>
+nsDOMMediaSource::Constructor(nsISupports* aGlobal, ErrorResult& aRv)
+{
- nsDOMMediaSource* mediaSource = new nsDOMMediaSource(aGlobal);
- NS_ADDREF(mediaSource);
- return mediaSource;
+}+already_AddRefed<nsDOMSourceBufferList>
+nsDOMMediaSource::GetSourceBuffers(ErrorResult& aRv)
+{
- nsDOMSourceBufferList* sourceBuffers = new nsDOMSourceBufferList(this);
- NS_ADDREF(sourceBuffers);
- return sourceBuffers;
+}+already_AddRefed<nsDOMSourceBufferList>
+nsDOMMediaSource::GetActiveSourceBuffers(ErrorResult& aRv)
+{
- nsDOMSourceBufferList* activeSourceBuffers = new nsDOMSourceBufferList(this);
- NS_ADDREF(activeSourceBuffers);
- return activeSourceBuffers;
+}+already_AddRefed<nsDOMSourceBuffer>
+nsDOMMediaSource::AddSourceBuffer(const nsAString& aType, ErrorResult& aRv)
+{
- return nullptr;
+}+void
+nsDOMMediaSource::RemoveSourceBuffer(dom::NonNull<nsDOMSourceBuffer> aSourceBuffer, ErrorResult& aRv)
+{
+}
+
+dom::State
+nsDOMMediaSource::GetReadyState(ErrorResult& aRv)
+{
- return dom::StateValues::Closed;
+}+void
+nsDOMMediaSource::EndOfStream(const dom::Optional<dom::EndOfStreamError>& aError, ErrorResult& aRv)
+{
+}
diff --git a/content/media/mediasource/nsDOMMediaSource.h b/content/media/mediasource/nsDOMMediaSource.h
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/nsDOMMediaSource.h
@@ -0,0 +1,54 @@
+/* -- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 --/
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef MOZILLA_MEDIASOURCE_H_
+#define MOZILLA_MEDIASOURCE_H_+#include "nscore.h"
+#include "nsCOMPtr.h"
+#include "mozilla/Attributes.h"
+#include "nsWrapperCache.h"
+#include "mozilla/dom/MediaSourceBinding.h"
+#include "nsCycleCollectionParticipant.h"
+
+class nsDOMSourceBufferList;
+class nsDOMSourceBuffer;
+
+class nsDOMMediaSource MOZ_FINAL : public nsISupports, public nsWrapperCache
+{
+public:
- NS_DECL_CYCLE_COLLECTING_ISUPPORTS
- NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(nsDOMMediaSource)
- nsISupports* GetParentObject() const {
- return mGlobal;
- }
- JSObject* WrapObject(JSContext *cx, JSObject *scope, bool *triedToWrap) {
- return mozilla::dom::MediaSourceBinding::Wrap(cx, scope, this, triedToWrap);
- }
- static already_AddRefed<nsDOMMediaSource> Constructor(nsISupports* aGlobal, mozilla::ErrorResult& aRv);
- already_AddRefed<nsDOMSourceBufferList> GetSourceBuffers(mozilla::ErrorResult& aRv);
- already_AddRefed<nsDOMSourceBufferList> GetActiveSourceBuffers(mozilla::ErrorResult& aRv);
- already_AddRefed<nsDOMSourceBuffer> AddSourceBuffer(const nsAString& aType, mozilla::ErrorResult& aRv);
- void RemoveSourceBuffer(mozilla::dom::NonNull<nsDOMSourceBuffer> aSourceBuffer, mozilla::ErrorResult& aRv);
- mozilla::dom::State GetReadyState(mozilla::ErrorResult& aRv);
- void EndOfStream(const mozilla::dom::Optional<mozilla::dom::EndOfStreamError>& aError, mozilla::ErrorResult& aRv);
+private:
- nsDOMMediaSource(nsISupports* aGlobal)
- : mGlobal(aGlobal)
- {
- SetIsDOMBinding();
- }
- nsCOMPtr<nsISupports> mGlobal;
+};+#endif /* MOZILLA_MEDIASOURCE_H_ /
diff --git a/content/media/mediasource/nsDOMSourceBuffer.cpp b/content/media/mediasource/nsDOMSourceBuffer.cpp
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/nsDOMSourceBuffer.cpp
@@ -0,0 +1,38 @@
+/ -- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 --/
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include "nsContentUtils.h"
+#include "nsDOMClassInfoID.h"
+#include "nsDOMSourceBuffer.h"+using namespace mozilla;
+
+#if 0
+DOMCI_DATA(SourceBuffer, nsDOMSourceBuffer)
+#endif
+
+NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(nsDOMSourceBuffer, mParent)
+NS_IMPL_CYCLE_COLLECTING_ADDREF(nsDOMSourceBuffer)
+NS_IMPL_CYCLE_COLLECTING_RELEASE(nsDOMSourceBuffer)
+
+NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMSourceBuffer)
- NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
- NS_INTERFACE_MAP_ENTRY(nsISupports)
+NS_INTERFACE_MAP_END+already_AddRefed<nsTimeRanges>
+nsDOMSourceBuffer::GetBuffered(ErrorResult& aRv)
+{
- return nullptr;
+}+void
+nsDOMSourceBuffer::Append(dom::Uint8Array& aData, ErrorResult& aRv)
+{
+}
+
+void
+nsDOMSourceBuffer::Abort(ErrorResult& aRv)
+{
+}
diff --git a/content/media/mediasource/nsDOMSourceBuffer.h b/content/media/mediasource/nsDOMSourceBuffer.h
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/nsDOMSourceBuffer.h
@@ -0,0 +1,48 @@
+/* -- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 --/
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef MOZILLA_SOURCEBUFFER_H_
+#define MOZILLA_SOURCEBUFFER_H_+#include "nscore.h"
+#include "nsCOMPtr.h"
+#include "nsWrapperCache.h"
+#include "mozilla/Attributes.h"
+#include "mozilla/dom/TypedArray.h"
+#include "mozilla/ErrorResult.h"
+#include "nsTimeRanges.h"
+#include "mozilla/dom/SourceBufferBinding.h"
+#include "nsCycleCollectionParticipant.h"
+
+class nsDOMSourceBuffer MOZ_FINAL : public nsISupports, public nsWrapperCache
+{
+public:
- NS_DECL_CYCLE_COLLECTING_ISUPPORTS
- NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(nsDOMSourceBuffer)
- nsDOMSourceBuffer(nsISupports* aParent)
- : mParent(aParent)
- {
- SetIsDOMBinding();
- }
- nsISupports* GetParentObject() const {
- return mParent;
- }
- JSObject* WrapObject(JSContext *cx, JSObject *scope, bool *triedToWrap) {
- return mozilla::dom::SourceBufferBinding::Wrap(cx, scope, this, triedToWrap);
- }
- already_AddRefed<nsTimeRanges> GetBuffered(mozilla::ErrorResult& aRv);
- void Append(mozilla::dom::Uint8Array& aData, mozilla::ErrorResult& aRv);
- void Abort(mozilla::ErrorResult& aRv);
+private:
- nsCOMPtr<nsISupports> mParent;
+};+#endif /* MOZILLA_SOURCEBUFFER_H_ /
diff --git a/content/media/mediasource/nsDOMSourceBufferList.cpp b/content/media/mediasource/nsDOMSourceBufferList.cpp
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/nsDOMSourceBufferList.cpp
@@ -0,0 +1,34 @@
+/ -- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 --/
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include "nsContentUtils.h"
+#include "nsDOMClassInfoID.h"
+#include "nsDOMSourceBufferList.h"+using namespace mozilla;
+
+#if 0
+DOMCI_DATA(SourceBufferList, nsDOMSourceBufferList)
+#endif
+
+NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(nsDOMSourceBufferList, mParent)
+NS_IMPL_CYCLE_COLLECTING_ADDREF(nsDOMSourceBufferList)
+NS_IMPL_CYCLE_COLLECTING_RELEASE(nsDOMSourceBufferList)
+
+NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMSourceBufferList)
- NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
- NS_INTERFACE_MAP_ENTRY(nsISupports)
+NS_INTERFACE_MAP_END+already_AddRefed<nsDOMSourceBuffer>
+nsDOMSourceBufferList::__indexedgetter(uint32_t aIndex, ErrorResult& aRv)
+{
- return nullptr;
+}+uint32_t
+nsDOMSourceBufferList::GetLength(ErrorResult& aRv)
+{
- return 0;
+}
diff --git a/content/media/mediasource/nsDOMSourceBufferList.h b/content/media/mediasource/nsDOMSourceBufferList.h
new file mode 100644
--- /dev/null
+++ b/content/media/mediasource/nsDOMSourceBufferList.h
@@ -0,0 +1,46 @@
+/* -- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 --/
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef MOZILLA_SOURCEBUFFERLIST_H_
+#define MOZILLA_SOURCEBUFFERLIST_H_+#include "nscore.h"
+#include "nsCOMPtr.h"
+#include "mozilla/Attributes.h"
+#include "nsWrapperCache.h"
+#include "nsDOMSourceBuffer.h"
+#include "mozilla/dom/SourceBufferListBinding.h"
+#include "nsCycleCollectionParticipant.h"
+
+class nsDOMMediaSource;
+
+class nsDOMSourceBufferList MOZ_FINAL : public nsISupports, public nsWrapperCache
+{
+public:
- NS_DECL_CYCLE_COLLECTING_ISUPPORTS
- NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(nsDOMSourceBufferList)
- nsDOMSourceBufferList(nsISupports* aParent)
- : mParent(aParent)
- {
- SetIsDOMBinding();
- }
- nsISupports* GetParentObject() const {
- return mParent;
- }
- JSObject* WrapObject(JSContext *cx, JSObject *scope, bool *triedToWrap) {
- return mozilla::dom::SourceBufferListBinding::Wrap(cx, scope, this, triedToWrap);
- }
- already_AddRefed<nsDOMSourceBuffer> __indexedgetter(uint32_t aIndex, mozilla::ErrorResult& aRv);
- uint32_t GetLength(mozilla::ErrorResult& aRv);
+private:
- nsCOMPtr<nsISupports> mParent;
+};+#endif /* MOZILLA_SOURCEBUFFERLIST_H_ */
diff --git a/dom/bindings/Bindings.conf b/dom/bindings/Bindings.conf
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -239,6 +239,18 @@ DOMInterfaces = {
'headerFile': 'mozilla/dom/workers/bindings/XMLHttpRequestUpload.h'
}],+'MediaSource': {
- 'nativeType': 'nsDOMMediaSource',
+},+'SourceBuffer': {
- 'nativeType': 'nsDOMSourceBuffer',
+},+'SourceBufferList': {
- 'nativeType': 'nsDOMSourceBufferList',
+},####################################
Test Interfaces of various sorts
####################################
@@ -318,6 +330,8 @@ def addExternalHTMLElement(element):
addExternalHTMLElement('HTMLCanvasElement')
addExternalHTMLElement('HTMLImageElement')
addExternalHTMLElement('HTMLVideoElement')
+addExternalHTMLElement('HTMLVideoElement')
+addExternalHTMLElement('TimeRanges')
addExternalIface('CanvasGradient', headerFile='nsIDOMCanvasRenderingContext2D.h')
addExternalIface('CanvasPattern', headerFile='nsIDOMCanvasRenderingContext2D.h')
addExternalIface('HitRegionOptions', nativeType='nsISupports')
diff --git a/dom/webidl/MediaSource.webidl b/dom/webidl/MediaSource.webidl
new file mode 100644
--- /dev/null
+++ b/dom/webidl/MediaSource.webidl
@@ -0,0 +1,28 @@
+/* -- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -- /
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/.
- The origin of this IDL file is
- Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- liability, trademark and document use rules apply.
- */
+enum State {"closed", "open", "ended"};
+
+enum EndOfStreamError {"network", "decode"};
+
+[Constructor]
+interface MediaSource : EventTarget {
- readonly attribute SourceBufferList sourceBuffers;
- readonly attribute SourceBufferList activeSourceBuffers;
- SourceBuffer addSourceBuffer(DOMString type);
- void removeSourceBuffer(SourceBuffer sourceBuffer);
- readonly attribute State readyState;
- void endOfStream(optional EndOfStreamError error);
+};
diff --git a/dom/webidl/SourceBuffer.webidl b/dom/webidl/SourceBuffer.webidl
new file mode 100644
--- /dev/null
+++ b/dom/webidl/SourceBuffer.webidl
@@ -0,0 +1,21 @@
+/* -- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -- /
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/.
- The origin of this IDL file is
- Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- liability, trademark and document use rules apply.
- */
+interface TimeRanges;
+
+interface SourceBuffer : EventTarget {
- readonly attribute TimeRanges buffered;
- void append(Uint8Array data);
- void abort();
+};
diff --git a/dom/webidl/SourceBufferList.webidl b/dom/webidl/SourceBufferList.webidl
new file mode 100644
--- /dev/null
+++ b/dom/webidl/SourceBufferList.webidl
@@ -0,0 +1,16 @@
+/* -- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -- /
+/ This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/.
- The origin of this IDL file is
- Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
- liability, trademark and document use rules apply.
- */
+interface SourceBufferList : EventTarget {
- readonly attribute unsigned long length;
- getter SourceBuffer? (unsigned long index);
+};
diff --git a/dom/webidl/WebIDL.mk b/dom/webidl/WebIDL.mk
--- a/dom/webidl/WebIDL.mk
+++ b/dom/webidl/WebIDL.mk
@@ -15,6 +15,9 @@ webidl_files =
XMLHttpRequest.webidl
XMLHttpRequestEventTarget.webidl
XMLHttpRequestUpload.webidl \- MediaSource.webidl \
- SourceBuffer.webidl \
- SourceBufferList.webidl
$(NULL)ifdef MOZ_WEBGL
diff --git a/layout/build/Makefile.in b/layout/build/Makefile.in
--- a/layout/build/Makefile.in
+++ b/layout/build/Makefile.in
@@ -171,6 +171,10 @@ SHARED_LIBRARY_LIBS +=
$(NULL)
endif+SHARED_LIBRARY_LIBS += \
- $(DEPTH)/content/media/mediasource/$(LIB_PREFIX)gkconmediasource_s.$(LIB_SUFFIX) \
- $(NULL)
ifdef NS_PRINTING
SHARED_LIBRARY_LIBS +=
../printing/$(LIB_PREFIX)gkprinting_s.$(LIB_SUFFIX) \
Updated•2 years ago
|
Updated•1 year ago
|
Description
•