Commit Graph

50439 Commits

Author SHA1 Message Date
Shih-Chiang Chien
ec8b96d49f Bug 1234128 - Part 2: Use mozpresentation to identify presented content. r=smaug
--HG--
extra : rebase_source : 0006f94fb02ef8bfa64d2f56a0d0a918b2691ac1
2016-05-17 11:18:16 +08:00
Shih-Chiang Chien
79fd83ae47 Bug 1234128 - Part 1: Add mozpresentation attribute in browser element. r=smaug
--HG--
extra : rebase_source : ba957a216d873638a61eb2b80be3cf2f0fe661ff
2016-05-17 11:10:59 +08:00
Patrick McManus
30c9aa43b3 Bug 1223834 - Corrupted Content Error Description repeated twice. r=dragana
--HG--
extra : rebase_source : 0b4560aad03b234fe19fb9a93a6040b706332a14
2016-05-17 16:17:29 -04:00
Wei-Cheng Pan
e631c34c1e Bug 1273079 - Use MOZ_MUST_USE in hal. r=gsvelto
MozReview-Commit-ID: 7VLDpz34DRu

--HG--
extra : rebase_source : 86f03dfe96645d49eb62adcc88cea9474344bc62
2016-05-16 17:24:03 +08:00
Alfredo Yang
3fed340de9 Bug 1257107 - Discard decoded data if its pts is smaller than seek time. r=jya
--HG--
extra : rebase_source : 2f17f7b3b70f774e03322dbc63727b0794279f91
2016-05-17 21:46:00 -04:00
Sebastian Hengst
d6e3286232 Backed out changeset 854a8df494d3 (bug 1271198) for many assertions at nsHttpChannel.cpp:5204. r=backout on a CLOSED TREE 2016-05-19 14:23:51 +02:00
Thomas Zimmermann
30f80487ad Bug 1274206: Use MediaPref for |mRecognition->mTestConfig.mFakeRecognitionService|, r=jyavenard
MozReview-Commit-ID: Jb9CbpXYhBU
2016-05-19 12:53:35 +02:00
Christoph Kerschbaumer
0e2d46a840 Bug 1271198 - Convert Websockets to use AsyncOpen2() (r=jduell) 2016-05-19 11:54:02 +02:00
Alexandre Lissy
3222abeaab Bug 1273945 - Move MonoAudio from gfxPrefs to MediaPrefs r=jya
MozReview-Commit-ID: HyA1NEpAY2d

--HG--
extra : rebase_source : 5f5458ddcd7e77060297bedcc2c08efcfdbcc38e
2016-05-18 18:26:31 +02:00
JW Wang
bdd00e6e97 Bug 1273774. Part 3 - remove members no longer used. r=jya.
MozReview-Commit-ID: E4OgqAOzqnr

--HG--
extra : rebase_source : 70722fcb1260d98df9216f457377929f36f39420
2016-05-18 15:26:36 +08:00
JW Wang
8e5351a7eb Bug 1273774. Part 2 - do decoding jobs synchronously without dispatching. r=jya.
MozReview-Commit-ID: CkGrZfgEIhu

--HG--
extra : rebase_source : 0407045b22206a790d38ca5e4fa92e088564a042
2016-05-18 15:09:25 +08:00
JW Wang
1658845934 Bug 1273774. Part 1 - remove unused members and thread assertions. r=jya.
MozReview-Commit-ID: 7rIxvxAfvhq

--HG--
extra : rebase_source : 67ae86b217ef61a0251bf406737fdc7fc15aff27
2016-05-18 15:03:51 +08:00
Matthew Gregan
3e8997c3fe Bug 1261900 - Allow WebMDemuxer to resume demuxing even after encountering EOS. r=jya
Use the recently added nestegg_read_reset API to restore the demuxer to the
last valid state so that MSE can reattempt parsing the next packet as more
data is added to the stream.
2016-04-22 23:10:00 +10:00
Jean-Yves Avenard
6ca9901bbc Bug 1261900: [webm] P9. Prevent null deref when webm logs are turned on. r=kinetik 2016-04-27 10:07:03 +10:00
Jean-Yves Avenard
b5b89317e9 Bug 1261900: [MSE/webm] P6. Don't unnecessarily calculate the next keyframe time. r=kinetik
MSE only uses the webm demuxer to demux all samples at once. Attempting to find the next keyframe as such always fail.
2016-04-22 16:41:52 +10:00
Jean-Yves Avenard
ebffea1ce6 Bug 1261900: [MSE/webm] P5. Re-add WebMTrackDemuxer::GetEvictionOffset. r=gerald 2016-04-22 16:37:39 +10:00
Jean-Yves Avenard
f0d5590b9d Bug 1261900: [MSE] P4. Only evict no longer used data from resource. r=gerald 2016-04-22 16:33:56 +10:00
Jean-Yves Avenard
d52e089910 Bug 1261900: P3. Re-add MediaDataDemuxer::GetEvictionOffset() API. r=gerald
API was removed in bug 1204419.
2016-04-22 15:48:38 +10:00
Jean-Yves Avenard
b53370f549 Bug 1261900: [MSE] P2. Prevent assertion if first media segment contains no usable frames. r=gerald
Encountered while using YouTube MSE/webm compliance test.
2016-04-21 21:19:47 +10:00
Jean-Yves Avenard
7a284b30ab Bug 1261900: [webm] Use block duration if known. r=kinetik 2016-04-21 21:07:54 +10:00
Mike Conley
359f06fb50 Bug 1166351 - Prioritize getting the nsXBLDocumentInfo out of the bound document's nsBindingManager instead of the nsXULPrototypeCache. r=bobbyholley+313730
This is kind of a long story, stay with me on this.

In bug 990290, a WeakMap was added to any JS scope that loaded an XBL
binding. That WeakMap stored the JS prototypes that are injected into
a bound node's prototype chain.

When a binding is removed, we search the prototype chain for the
JS prototype that we'd added, and remove it.

The XUL prototype cache caches numerous things, including nsXBLDocumentInfo,
which we use to get at the nsXBLPrototypeBinding for a particular binding,
which is then used to generate the class object that's put into the WeakMap.

When the XUL prototype cache is flushed, that means that when a binding
is bound, its definition needs to be reloaded off of the disk. If, however,
there was a pre-existing instance of the binding already being used in a
document, now we were in a funny case.

We were in a funny case, because when attempting to remove a binding, we
would look up the nsXBLPrototypeBinding via the nsXBLDocumentInfo that's
being held within the nsXULPrototypeCache, find (or load off the disk) a
_new_ nsXBLDocumentInfo and generate a _new_ nsXBLPrototypeBinding that
did not match to the one that we'd already stored in the WeakMap. This
would mean that removal would go wrong, and things would break horribly.

This patch makes it so that we prioritize checking the nsBindingManager
for a document for the nsXBLDocumentInfo before checking the
global nsXULPrototypeCache. That way, even if the cache gets cleared,
if the binding was ever used in this document, it'll be in the
nsBindingManager, and we'll get the same nsXULProtoypeBinding that
we'd been using before, and sanity will prevail.

MozReview-Commit-ID: G8iLDbCPRAC

--HG--
extra : rebase_source : 4322965c0b7150b22454651ad7a9461ee76d766b
2016-05-16 19:07:26 -04:00
Mike Conley
4e5e8f7b73 Bug 1166351 - Add an assertion to make sure that we use the correct cached XBL binding prototypes. r=bobbyholley+313730
MozReview-Commit-ID: 7MfslXmortQ

--HG--
extra : rebase_source : 478d19031d5820acf2eeb077d689159769318b2a
2016-04-29 14:54:12 -04:00
Boris Zbarsky
61b3aedfa3 Backed out changesets bdb5b50fd858, 74dbcb56456d, 8f319062be85, 9806d7a88802, c08f417d85fd (bug 1273661) for build bustage and CLOSED TREE. 2016-05-19 00:26:24 -04:00
Boris Zbarsky
5938137a2b Bug 1273661 another followup. Guess that msvc is not being happy with OwningNonNull not being pulled in here. r=STILL CLOSED TREE 2016-05-19 00:01:43 -04:00
Boris Zbarsky
1a82ba56e3 Bug 1273661 followup. We need different RootedCallback destructors for the OwningNonNull and RefPtr cases, unfortuntately. r=CLOSED TREE 2016-05-18 23:38:23 -04:00
Ryo Kato
34b9895d54 Bug 1272204 - Rewrite tests in test_animation_performance_warning.html to use setKeyframes r=hiro
* Some tests in gAnimationsTests are moved to gAnimationWithGeometricKeyframeTests.
* `expected.withoutGeometric` represents expected values where 'width' is *not* applied.
* `expected.withGeometric` represents exptected values where 'width' is applied.

MozReview-Commit-ID: 6PJttztMGxI

--HG--
extra : amend_source : 5592317764ff5a9a3db44e7be9073ff426370224
2016-05-17 15:08:29 +09:00
Gerald Squelart
837bdf8c9f Bug 1273691 - Implement 'media.wmf.disable-d3d11-for-dlls' pref - r=cpearce
Format:
"dll1.dll: 1.2.3.4[, more versions...][; more dlls...]"
I.e., DLLs are separated by semicolons, a DLL and all its versions are
separated by a single colon, and versions are separated by commas.
Whitespace between names&numbers is ignored.

Seeding pref with blacklistings from bug 1268905, bug 1269204, and bug 1273406.

MozReview-Commit-ID: LbKCkaxLEis

--HG--
extra : rebase_source : 5a5969addad521669827423d28f8b94c3a8bf903
2016-05-18 15:44:42 +10:00
Bobby Holley
54e2b1cf7e Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 18:14:02 -07:00
Bobby Holley
e4d70db3b1 Bug 1272537 - Atomize the namespace manager. r=bz 2016-05-18 18:14:00 -07:00
Boris Zbarsky
f6c18909d4 Bug 1257849 followup. Add 'search' to the list of supported tokens for <link>, since the spec added it. r=bkelly originally. 2016-05-18 20:27:37 -04:00
Boris Zbarsky
893059f88a Bug 1273661 part 3. Add the codegen bits and Trace implementation to allow Web IDL callbacks to not have to HoldJSObjects until the bindings have determined that someone is actually holding on to the callback object. r=smaug,terrence 2016-05-18 12:23:35 -04:00
Boris Zbarsky
8c3af4a958 Bug 1273661 part 2. Add a way to trace a RefPtr<T> or OwningNonNull<T> via a Rooted. r=terrence,smaug 2016-05-18 12:23:35 -04:00
Boris Zbarsky
384428f2af Bug 1273661 part 1. Add a way to construct a callback object without calling HoldJSObjects. r=smaug 2016-05-18 12:23:35 -04:00
Boris Zbarsky
cf35c3398f Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
Mantaroh Yoshinaga
340fd8c155 Bug 1134163 - Part4. Add tests of getComputedStyle with seeking. r=birtles
MozReview-Commit-ID: 364RmM8QNWQ
2016-05-18 14:14:15 +09:00
Sebastian Hengst
5438f8d848 Backed out changeset 510b8f1c5c36 (bug 1273691) for 8 bytes leak (nsStringBuffer) in mochitests on Windows 8 x64 debug. r=backout on a CLOSED TREE 2016-05-18 23:16:06 +02:00
Sebastian Hengst
2b49b5cab0 Backed out changeset 3fe3775d2f5d (bug 1272537) for Windows build bustage. r=backout on a CLOSED TREE 2016-05-18 22:35:46 +02:00
Sebastian Hengst
542bd271b5 Backed out changeset 48d8323378ac (bug 1273771) for Windows build bustage. r=backout on a CLOSED TREE 2016-05-18 22:32:30 +02:00
Eugen Sawin
e98e0d70e0 Bug 1273523 - [1.2] Don't process output if no duration is available. r=snorp 2016-05-18 22:08:36 +02:00
Alexandre Lissy
20b739aeda Bug 1273520 - NS_NewRunnable* renaming and include task.h r=fabrice
MozReview-Commit-ID: BcAboKGMr3a

--HG--
extra : rebase_source : 6c5050527d8dffbce4a5e867bd48254a1041e657
2016-05-18 18:25:35 +02:00
Bobby Holley
495a804524 Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 12:22:44 -07:00
Bobby Holley
e757c7ef27 Bug 1272537 - Atomize the namespace manager. r=bz 2016-05-18 12:22:40 -07:00
Alexandre Lissy
d03c6f2984 Bug 1273948 - Include push interface even with SimplePush r=kitcambridge
MozReview-Commit-ID: DUy8osdMH3k

--HG--
extra : rebase_source : 8eb1676979bcc22f689f9636cc23f0b318c96337
2016-05-18 18:27:38 +02:00
Andrea Marchesini
98894192c9 Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug 2016-05-18 18:21:56 +02:00
Gerald Squelart
8be5775f6c Bug 1273691 - Implement 'media.wmf.disable-d3d11-for-dlls' pref - r=cpearce
Format:
"dll1.dll: 1.2.3.4[, more versions...][; more dlls...]"
I.e., DLLs are separated by semicolons, a DLL and all its versions are
separated by a single colon, and versions are separated by commas.
Whitespace between names&numbers is ignored.

Seeding pref with blacklistings from bug 1268905, bug 1269204, and bug 1273406.

MozReview-Commit-ID: 8auw4GPNyb9

--HG--
extra : rebase_source : 56c093abce3dcfbf4ddad9384a7e14fd4be6ae51
2016-05-18 15:44:42 +10:00
Mats Palmgren
7137368692 Bug 1273729 - Add some missing #includes and 'using' declarations to fix unified build errors. r=bbirtles 2016-05-18 13:49:32 +02:00
Makoto Kato
fbbac87fd2 Bug 1253284 - Allow reserved attribute without command attribute r=masayuki
MozReview-Commit-ID: A2aEOgTx5Jz

--HG--
extra : rebase_source : f0ecefde7d39b63caf1b69cb88e3ed49b1bef084
2016-05-06 18:38:44 +09:00
Jonathan Watt
55bfea4bac Bug 1177957, part 4 - Tests for the [SecureContext] WebIDL extended attribute. r=bz
MozReview-Commit-ID: IodQqQ3rAfI
2016-05-16 10:04:38 +01:00
Jonathan Watt
1f58b22c60 Bug 177957, part 3 - Make the WebIDL code generator support the [SecureContext] extended attribute. r=bz
MozReview-Commit-ID: 3O3V4MTgLuR
2016-05-16 10:04:38 +01:00
Sebastian Hengst
0c7d203866 Backed out changeset 9d95abc81b04 (bug 1272964) for failing mda test_BufferingWait_mp4.html, at least on Linux x64. r=backout 2016-05-18 11:22:57 +02:00