Andreas Pehrson
d115f7756f
Bug 1294605 - Media element captureStream() streams shouldn't keep devices alive. r=jib
...
MozReview-Commit-ID: 3tSFbygTZs1
2016-08-29 16:27:11 +02:00
Jean-Yves Avenard
8b2fd32bbe
Bug 1312594: Do not clear resource when error occurs. r=jwwang
...
MozReview-Commit-ID: EFrURgSYvdb
2016-10-25 13:36:26 +11:00
Chris Pearce
e3a94f36b3
Bug 1310548 - Delay firing of 'waitingforkey' until all decoded data has been rendered. r=jya
...
This means 'waitingforkey' will be fired at a predictable time.
MozReview-Commit-ID: HMt1RbgrbuR
2016-10-17 14:16:54 +13:00
Sebastian Hengst
afd79ed980
Backed out changeset 443a94083e00 (bug 1294605)
2016-10-20 20:03:16 +02:00
Andreas Pehrson
a60add0093
Bug 1294605 - Media element captureStream() streams shouldn't keep devices alive. r=jib
...
MozReview-Commit-ID: 3tSFbygTZs1
2016-08-29 16:27:11 +02:00
Iris Hsiao
3ad128e662
Backed out changeset 8e21afb88dbb (bug 1294605)
...
CLOSED TREE
2016-10-26 17:54:51 +08:00
Andreas Pehrson
f0c8116796
Bug 1294605 - Media element captureStream() streams shouldn't keep devices alive. r=jib
...
MozReview-Commit-ID: 3tSFbygTZs1
2016-08-29 16:27:11 +02:00
Sebastian Hengst
82cf47929c
Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
...
MozReview-Commit-ID: 7gvZrDtmcZP
2016-10-04 20:16:28 +02:00
Gerald Squelart
7012f597be
Bug 1176218 - p4. Use DecoderTraits::CanHandleContentType in HTMLMediaElement - r=jya
...
MozReview-Commit-ID: IQFvgI6h1tE
2016-09-26 13:31:57 +10:00
Alastor Wu
68bd777317
Bug 1308119 - replace nsIAudioChannelAgent with AudioChannelAgent. r=baku
...
Since I want to use more agent's functions in MediaElement and I don't think these functions need to be exposed on IDL level. (for other languages binding)
Therefore, I want to use AudioChannelAgent directly in MediaElement.
MozReview-Commit-ID: 43FvDeLpZPt
2016-10-07 10:35:01 +08:00
Alastor Wu
d136c8375b
Bug 1302084 - the error checking should have highest priority. r=baku
...
MozReview-Commit-ID: 9QC5CG7p28M
2016-10-06 12:07:33 +08:00
Alastor Wu
a840bd443c
Bug 1303554 - part2 : remove the b2g specific checking in IsCurrentlyPlaying(). r=baku
...
MozReview-Commit-ID: 5kUJc24uEIH
2016-10-05 10:07:54 +08:00
Alastor Wu
386b38a04e
Bug 1303554 - part1 : notify start-playing after having enough data. r=baku
...
Regression by bug1262053 because of removing the current playing checking.
It would cause that the media control on Fennec shows too early and some media
elements would also generate the media control even it doens't have available
source.
Therefore, I think we still need to add this checking back.
MozReview-Commit-ID: 1m1ywmLmpSe
2016-10-05 10:07:49 +08:00
Chris Pearce
5e61ecb202
Bug 1307595 - Fixup bad merge conflict resolution from Bug 1300654/8eef5d2cc850. r=partial-backout
...
8eef5d2cc850 in Bug 1300654 incorrectly resolved a merge conflict and backed
out part of the fix for Bug 1280829. Relanding.
MozReview-Commit-ID: 6DIkUrc9R4t
2016-10-05 13:12:03 +13:00
JW Wang
4e413b1c9f
Bug 1239899. Part 2 - per spec. await a stable state to pause the element when it is removed from the document. r=cpearce
...
MozReview-Commit-ID: BCCWgXmUchU
2016-09-23 16:16:43 +08:00
JW Wang
19ae50ff0f
Bug 1239899. Part 1 - Remove ElementInTreeState for ELEMENT_NOT_INTREE and ELEMENT_INTREE are not used at all. We can use a bool flag to do the job. r=cpearce
...
MozReview-Commit-ID: 4htNy1dZODF
2016-09-23 14:51:52 +08:00
JW Wang
518fc1c4c9
Bug 1304134. Part 2 - per spec. fire 'playing' when autoplay is activated. r=cpearce
...
MozReview-Commit-ID: 4fFUvquMgEC
2016-09-23 14:05:44 +08:00
JW Wang
eacc863b95
Bug 1304134. Part 1 - per spec. ( https://dev.w3.org/html5/spec-preview/media-elements.html#ready-states ) 'playing' should be fired before activating autoplay. r=cpearce
...
Also replace the check for IsPotentiallyPlaying() with !mPaused because mReadyState >= HAVE_FUTURE_DATA guarantees playback is not ended.
MozReview-Commit-ID: HetaVDgYEW0
2016-09-23 14:03:50 +08:00
Carsten "Tomcat" Book
a4f6123bde
Merge mozilla-central to autoland
2016-09-28 16:52:13 +02:00
James Andreou
1e947fec6c
Bug 1282124 - Remove nsILoadInfo.usePrivateBrowsing and the SEC_FORCE_PRIVATE_BROWSING flag; r=smaug,jryans
2016-09-27 16:56:44 -04:00
James Cheng
42e8029df1
Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
...
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08:00
Carsten "Tomcat" Book
829190e2b0
Merge mozilla-central to mozilla-inbound
2016-09-22 11:56:22 +02:00
Chris Pearce
af78e9f93a
Bug 1304604 - Use EventTarget to simplyfy HTMLMediaElement.onencrypted implementation. r=smaug
...
MozReview-Commit-ID: EUpZX4ODgNj
2016-09-22 16:25:38 +12:00
Chris Pearce
4f67ef3293
Bug 1304247 - Implement HTMLMediaElement.onwaitingforkeys. r=smaug
...
MozReview-Commit-ID: DhNV30BfksS
2016-09-21 14:10:26 +12:00
Chris Pearce
189d63eef1
Bug 1280829 - Only block non-MSE content which is encrypted once it reaches load metadata. r=jya
...
Previously, we'd block loading of non-MSE content when there was a MediaKeys
attached, that is, we'd assume that all content was EME content if a MediaKeys
was attached. But some sites attach a MediaKeys and then load non-MSE non-EME
content, and that (despite being a bit silly) shouldn't fail.
MozReview-Commit-ID: 9LupWaehXim
2016-09-21 13:04:01 +12:00
Jean-Yves Avenard
1466fb42de
Bug 1303970: P2. Fix "If the media data fetching process is aborted by the user steps". r=jwwang
...
MozReview-Commit-ID: 6n91VY00gAo
2016-09-20 19:52:06 +10:00
Jean-Yves Avenard
976b820536
Bug 1303970: P1. MEDIA_ERR_ABORTED can be returned even if readyState is HAVE_NOTHING. r=jwwang
...
So change assertion accordingly.
MozReview-Commit-ID: AuaDlyF0MAL
2016-09-20 19:36:09 +10:00
JW Wang
19c0ee3464
Bug 1303347 - add assertions for debugging if Observe() could ever happen after Unsubscribe(). r=cpearce
...
MozReview-Commit-ID: 9XhGYI3fTqb
2016-09-20 11:27:46 +08:00
Jean-Yves Avenard
d227fd5005
Bug 1302632: P4. Do not change network state to NETWORK_EMPTY. r=jwwang
...
There's no such step defined in the spec. Despite, this code can no longer be called when readyState is HAVE_NOTHING
MozReview-Commit-ID: 2fDoNHt1COp
2016-09-15 16:20:43 +10:00
Jean-Yves Avenard
1933de1197
Bug 1302632: P3. Provide failures details to error attribute. r=jwwang
...
MozReview-Commit-ID: 3eIXOF96UR4
2016-09-15 16:17:10 +10:00
Jean-Yves Avenard
51330b8560
Bug 1302632: P1. Set proper error code when readyState is HAVE_NOTHING. r=jwwang
...
MozReview-Commit-ID: CMQkW5pPDF2
2016-09-14 16:45:52 +10:00
Phil Ringnalda
f2abe31659
Backed out 5 changesets (bug 1302632) for forthcoming failures
...
Backed out changeset f2ced742d6aa (bug 1302632)
Backed out changeset 55e7962d4fc0 (bug 1302632)
Backed out changeset b20f7c887e6c (bug 1302632)
Backed out changeset 22772e4a9c72 (bug 1302632)
Backed out changeset 7d7558864a66 (bug 1302632)
2016-09-15 21:39:00 -07:00
Jean-Yves Avenard
b4ab814b97
Bug 1302632: P4. Do not change network state to NETWORK_EMPTY. r=jwwang
...
There's no such step defined in the spec. Despite, this code can no longer be called when readyState is HAVE_NOTHING
MozReview-Commit-ID: 2fDoNHt1COp
2016-09-15 16:20:43 +10:00
Jean-Yves Avenard
9bf064bc81
Bug 1302632: P3. Provide failures details to error attribute. r=jwwang
...
MozReview-Commit-ID: 3eIXOF96UR4
2016-09-15 16:17:10 +10:00
Jean-Yves Avenard
5faeec0612
Bug 1302632: P1. Set proper error code when readyState is HAVE_NOTHING. r=jwwang
...
MozReview-Commit-ID: CMQkW5pPDF2
2016-09-14 16:45:52 +10:00
Boris Zbarsky
ebe22a8365
Bug 1302304. Remove IDL bits that reference nsIDOMMediaError; it's not needed anymore. r=bkelly
2016-09-15 11:41:35 -04:00
Carsten "Tomcat" Book
8c3409a304
Merge mozilla-central to mozilla-inbound
2016-09-14 12:11:09 +02:00
Jean-Yves Avenard
a945c437e1
Bug 1299072: P10. Pass decoding error details to media element's error attribute. r=jwwang
...
MozReview-Commit-ID: 49DurV9WI5S
2016-09-11 00:56:09 +10:00
kaku@mozilla.com
788fd469db
Bug 1299718 part 3 - call MarkAsContentSource() at where using video element as a source; r=gerald,kamidphish,mtseng
...
MozReview-Commit-ID: Kg6UpcsCi0P
2016-09-14 15:50:29 +10:00
kaku@mozilla.com
3e4dcf7643
Bug 1299718 part 2 - implement the MarkAsContentSource() API; r=gerald,kamidphish
...
MozReview-Commit-ID: 1eAdcMAmXSB
2016-09-14 15:50:29 +10:00
Kaku Kuo
90a343f11f
Bug 1284350. Reland on top of backouts "Bug 1299065 - invisible elements in the foreground should also be recorded; r=gerald" r=kaku
...
Instead of "not visible", "approximately visible", and "visible" (in display port) we now have "approximately not visible", and "approximately visible" which includes "visible".
2016-08-30 14:53:04 +08:00
Kaku Kuo
79a35e164a
Bug 1284350. Reland on top of backouts "Bug 1282710 - Part 1 - implement the suspend and resume logics in HTMLMediaElement.cpp according to visibility events; r=cpearce r=kamidphish" r=kaku
...
Instead of "not visible", "approximately visible", and "visible" (in display port) we now have "approximately not visible", and "approximately visible" which includes "visible".
2016-07-04 13:26:40 +08:00
Timothy Nikkel
d05d4c5116
Bug 1284350. Backed out changeset 1bbb1ab928c7 (Bug 1282710 - Part 1 - implement the suspend and resume logics in HTMLMediaElement.cpp according to visibility events; r=cpearce r=kamidphish)
2016-09-12 00:19:06 -05:00
Timothy Nikkel
425c839f4f
Bug 1284350. Backed out changeset 06bf533a2bdd (Bug 1299065 - invisible elements in the foreground should also be recorded; r=gerald)
2016-09-08 18:07:36 -05:00
Wes Kocher
acd22e8efa
Merge inbound to m-c a=merge
2016-09-07 17:54:24 -07:00
Andreas Pehrson
f20ab4d087
Bug 1300529 - Remove default arguments from HTMLMediaElement::CaptureStreamInternal. r=padenot
...
MozReview-Commit-ID: IL7odCBP74
2016-09-07 15:14:15 +02:00
Michael Layzell
f2f13378b5
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
Jeremy Chen
c22b72adf2
Bug 1297306 - part5:create enum constructors for EnumTable. r=baku
...
Enable nsAttrValue::EnumTable to be initialized with enum. So, we could get rid
of the castings in EnumTable. Fix EnumTable initialization comment.
For those untyped enumerations, declare them with uint8_t, as to other typed
enumerations with type size larger than int16_t, force casting to int16_t.
Use {nullptr,0} instead of {0} to represent the last entry.
MozReview-Commit-ID: 7Dma3Apkmxj
2016-09-07 10:20:17 +08:00
Gerald Squelart
04eb9daee8
Bug 1300459 - Pass MediaInfo by const-ref to SetMediaInfo - r=jya
...
MozReview-Commit-ID: 5KvCBHmI1JC
2016-09-05 14:23:23 +10:00
Alastor Wu
6d093d007f
Bug 1298777 - don't need to capture audio for media element without audio track. r=jwwang
...
MozReview-Commit-ID: DKRGiuTGjtg
2016-09-02 18:47:10 +08:00