Commit Graph

1182 Commits

Author SHA1 Message Date
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jean-Yves Avenard
e6d396075d Bug 1267036: Force recalculation of readyState when download is progressing. r=jwwang
Under some circumstances, the MP3Demuxer is unable to calculate the buffered range which would prevent the readyState value to be recalculated. To get around this we force recalculation when the progress event is fired.

MozReview-Commit-ID: DTaxJjOX4JU

--HG--
extra : rebase_source : 83389805b14c88061e492525abaada1d63b4d5ea
2016-04-24 23:34:23 +10:00
Boris Zbarsky
b66f459c87 Bug 1266077. Fix <base> href getter to follow the spec; it should be using the fallback base URI to resolve against, not the document URI. r=bkelly 2016-04-22 17:59:16 -04:00
JW Wang
94b009f556 Bug 1265978. Part 2 - add methods to MediaDecoder and MDSM to dump debugging info. r=jya.
MozReview-Commit-ID: Dbc5FT627uL
2016-04-22 14:18:26 +08:00
JW Wang
6bfff83925 Bug 1265978. Part 1 - add mozDumpDebugInfo() to HTMLMediaElement.webidl. r=bz.
MozReview-Commit-ID: E0RZRyWnZrF
2016-04-11 12:02:43 +08:00
Thomas Nguyen
3f10b1a2de Bug 1260664 - W3C Reflect referrerPolicy as a limited enumerated attribute. r=franziskuskiefer . r=smaug
MozReview-Commit-ID: Dppj4iuZnFp
2016-04-18 18:35:47 +08:00
Gerald Squelart
0451e54ac6 Bug 848994 - p1. Refactor Decoder Doctor - r=cpearce
Some refactoring, clean-ups, etc.

The main change is that the can-play status is passed when diagnostics are
finally recorded. This will help when introducing different types of
diagnostics in future patches (e.g., Key System issues).

MozReview-Commit-ID: 182ePlrMqn4
2016-04-22 13:42:11 +10:00
Chris Pearce
0e273ade3c Bug 1265587 - Force keystatuses to be cleared when Widevine keysessions are closed. r=gerald
The Widevine CDM, and I believe the Adobe CDM too probably, do not mark a
session's keys as unusable when a key session is closed. This means that
the CDMCaps' copy of the keys that are usable is wrong, and so if the media
with the same keys is reloaded with the same MediaKeys, Firefox will assume
that the keys are usable before the license for the keys has been
re-negotiated, and so decryption will fail.


MozReview-Commit-ID: 1kTDzwSD8PE

--HG--
extra : rebase_source : 89c480f36bfaec11ceb5ca1e8d798b0ae795eaea
2016-04-22 08:31:18 +12:00
Edgar Chen
6e395bbca4 Bug 1264825 - Fix remaining failures in update-the-source-set.html; r=jdm
MozReview-Commit-ID: CO6z83SS3Nb
2016-03-18 22:16:00 +08:00
Masayuki Nakano
9170348baf Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
MozReview-Commit-ID: G1WVCWkS0Lt

--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
da3898bcb7 Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
MozReview-Commit-ID: L0GnVR6NcAe

--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
L. David Baron
b1db407049 Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
Gerald Squelart
0977ec8ef6 Bug 1248507 - p3. Use DecoderDoctorDiagnostics - r=jya,bz
DecoderDoctorDiagnostics are now used at places where Firefox Chrome and/or
websites checks whether some media formats may be played:
- audio|video.canPlayType()
- audio|video resource loader
- MediaSource.IsTypeSupported()
- MediaSource.AddSourceBuffer()

MozReview-Commit-ID: B1KdjXODq9j
2016-04-19 17:36:19 +10:00
Gerald Squelart
ecfb205472 Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.

Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.

MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Andrea Marchesini
8e22a11655 Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug 2016-04-18 03:32:30 -04:00
Ryan VanderMeulen
e22a2d1d81 No bug - Re-enable various tests on Windows debug e10s that no longer fail.
--HG--
extra : histedit_source : 37d53b3f1958a608e96d34799e3ff123e901aed1
2016-04-15 13:26:01 -04:00
Dragana Damjanovic
645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Kyle Machulis
54d49338a9 Bug 1262184 - Block embed content loading when child of media element; r=bz 2016-04-13 15:27:20 -07:00
Timothy Nikkel
6a480df969 Bug 1251088. Update the stored mImageWidth/Height on ImageDocuments when we get the document load event. r=bz
We only update mImageWidth/Height when we get the load event for the img element. But the style sheet TopLevelImageDocument.css can be loaded after the img load event. TopLevelImageDocument.css specifies that the orientation of the image comes from the embedded exif data, thus when it is loaded the image can rotate and change size. So we need to be sure to re-get the size after all style sheets are loaded.

This means mImageWidth/Height could be wrong during loading.
2016-04-13 00:42:15 -05:00
Kyle Huey
2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Andrea Marchesini
ed43c1f6e4 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Andrea Marchesini
a8c342535b Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug 2016-04-12 08:51:04 -04:00
Sebastian Hengst
08c222b359 Backed out changeset 166555b48e77 (bug 1258482) 2016-04-12 17:56:00 +02:00
Jonathan Watt
de4c3d11fe Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Andrea Marchesini
dfd731fd16 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Cameron McCormack
cb363fa1df Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert 2016-04-12 15:52:41 +10:00
Josh Matthews
a67de0b59f Bug 1237633 - Part 2: Avoid fatal assertion when a responsive image's size specifier is invalid. r=johns, r=jdm
MozReview-Commit-ID: LyG6xn5VbSE

--HG--
extra : rebase_source : e04db97470b7024c8069fe8e6495d833818e913f
extra : histedit_source : a1cfd41e56809464a69c124df0c698046b5b93db
2016-01-07 15:02:14 -05:00
Xidorn Quan
ee9b377d01 Bug 1236828 part 3 - Allow setting position: absolute for top layer element and add test. r=heycam
MozReview-Commit-ID: 9BMGe88eq6g

--HG--
extra : rebase_source : ee9168f650f5d91725f16baecc6923c4883e6988
2016-04-11 15:58:10 +10:00
Wes Kocher
7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Dan Glastonbury
bdceaeb447 Bug 1262358 - Part 1: Split autoplay condition into statements. r=cpearce
MozReview-Commit-ID: 19f4XOa4Kzw

--HG--
extra : rebase_source : c6d8f6c96e1c519e43eff6144289a8fc6eea4827
2016-04-06 17:30:06 +10:00
Andrea Marchesini
c6067c0a80 Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug 2016-04-09 19:15:50 +01:00
Ryan VanderMeulen
3f36076406 Bug 1262050 - Remove unneeded assertion and update test annotations accordingly. r=jimm
--HG--
extra : rebase_source : d2471bd4cce2a65b1247d23225c7ccab4bab5f01
2016-04-08 12:11:44 -04:00
Wes Kocher
51eb5dbf5a Merge inbound to central, a=merge
MozReview-Commit-ID: L8YZYtbmper
2016-04-07 13:42:10 -07:00
Wes Kocher
b119ca60cb Backed out changeset 50b8a47e960c (bug 1261536) for being the likely cause of the really-frequent bug 1262130 a=backout
MozReview-Commit-ID: 5rGwJ3gPnYu
2016-04-07 12:33:25 -07:00
William Chen
303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Gerald Squelart
cc7054020a Bug 1261536 - Create a synthetic document after the window is set - r=bz
MozReview-Commit-ID: 7SBC2dFZAkP

--HG--
extra : rebase_source : f4c511090945dbcb88f152fed33ec2b2017dec61
2016-04-02 10:40:09 +11:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Xidorn Quan
bd8bf4c81d Bug 1260102 followup - Simplify newly added test with util functions.
MozReview-Commit-ID: lodB36EXUK

--HG--
extra : source : 1aa50c67bec48a6afcea645473929c99cc44e351
2016-04-04 10:21:22 +10:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Nicholas Nethercote
d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
J. Ryan Stinnett
013ba36705 Bug 1242644 - HTML swapFrameLoaders. r=bz
Adds swapFrameLoaders for HTML frames.  It is also possible to swap frame
loaders between XUL and HTML frames.

MozReview-Commit-ID: 43JeiBuMcOL
2016-03-31 19:47:44 -05:00
ctai
61b8bad2ea Bug 1260950 - Set mInitialSizeFound to true when the initial size id found. r=jesup, r=pehrsons a=kwierso
MozReview-Commit-ID: Ch3jCR4pFYN

--HG--
extra : histedit_source : d00a90ec1e574db721fe71672ee7f83be01d646b
2016-03-31 10:13:04 +08:00
Josh Matthews
d43f85cd2a Bug 1259482 - Ensure that image loads are never dropped on the floor when queued for later. r=johns 2016-03-30 12:39:59 -04:00
Andreas Pehrson
46569d09a9 Bug 1208371 - Forward declare DOMMediaStream in HTMLMediaElement.h. r=jesup
MozReview-Commit-ID: KUPovpKfgek

--HG--
extra : rebase_source : 89b1b623399b7ebc9711f5a012fd9e69b60b32db
2016-01-23 23:20:28 +08:00
Andreas Pehrson
ee5913bb8b Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
MozReview-Commit-ID: Aj7Cht4zxc6

--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00