Commit Graph

50588 Commits

Author SHA1 Message Date
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
Sebastian Hengst
c2c5086178 Backed out changeset 993c685703fa (bug 1272964) 2016-05-18 11:22:49 +02:00
Sebastian Hengst
3f839a4b05 Backed out changeset f2425c95f50f (bug 1272964) 2016-05-18 11:22:40 +02:00
Makoto Kato
6a497d128a Bug 1238522 - Don't use float type for absmiddle attirubte. r=eeejay
SAPI's absmiddle attibute doesn't allow float type.  Example, when pitch was 0.75, abmiddle was -2.5.  So ISpVoice.Speak() will return error.

MozReview-Commit-ID: 2AnrSEDTFkl

--HG--
extra : rebase_source : 155733e3ef8d28970318b0cb47b98fa0d26edf58
2016-05-13 13:23:52 +09:00
Sebastian Hengst
51ba720edc Backed out changeset b9b23b61401f (bug 1273203) for breaking many tests. r=backout 2016-05-18 10:38:17 +02:00
Jean-Yves Avenard
6070728c61 Bug 1272964: [MSE] P3. Do not skip over gaps when searching for the next keyframe. r=gerald
MozReview-Commit-ID: 1wPbp6JOaa8

--HG--
extra : rebase_source : 0bdbc9bfafe69d73b4a204e10b1377b6f184fdd4
2016-05-17 16:18:07 +08:00
Jean-Yves Avenard
1b551846ce Bug 1272964: P2. Don't activate skip to next keyframe until we passed the internal seek target. r=gerald
currentTime may be past the start of the internal seek time, but before its end, which would have triggered a false positive: we do not want to jump to the next key frame here.

MozReview-Commit-ID: H5O9XXnk84T

--HG--
extra : rebase_source : 4958d4c70e5fb212bebba4d6dbbb197b8f597516
2016-05-18 11:48:05 +08:00
Jean-Yves Avenard
291fd5ef8b Bug 1272964: P1. Only activate skip to next keyframe logic when next keyframe time is known. r=gerald
MozReview-Commit-ID: DoAstqSRnyc

--HG--
extra : rebase_source : 96fcff0869bbdb0a80f35a8da0d2a94a231cb502
2016-05-17 22:26:34 +08:00
JW Wang
84e2b30a72 Bug 1273390. Part 5 - remove use of FlushableTaskQueue. r=jya.
MozReview-Commit-ID: TYbvfH5gp7

--HG--
extra : rebase_source : 7e582ef4b481e099d0d94250c9fb0dec019cf30b
2016-05-17 14:57:26 +08:00
JW Wang
c54e2c8f44 Bug 1273390. Part 4 - remove use of FlushableTaskQueue::Flush(). r=jya.
MozReview-Commit-ID: HTIZQ5XoprF

--HG--
extra : rebase_source : 2eb123d9be20a525953a7049c2758f413e88775f
2016-05-17 14:56:05 +08:00
JW Wang
3eddceb36d Bug 1273390. Part 3 - rename some functions to be consistent with other sub-classes of MediaDataDecoder. r=jya.
MozReview-Commit-ID: 5npeU0n1WQz

--HG--
extra : rebase_source : a289e8c41dbb6f28705a6cfc0f5661ed80819e51
2016-05-17 14:46:02 +08:00
JW Wang
690ca8b74d Bug 1273390. Part 2 - add assertions. r=jya.
MozReview-Commit-ID: DoXLJA4XUSP

--HG--
extra : rebase_source : a0d552c74f1b5839daaeb52de092b81935aea1cf
2016-05-17 14:42:21 +08:00
JW Wang
ca71bcacfe Bug 1273390. Part 1 - move some functions to private. r=jya.
MozReview-Commit-ID: 4t2j5H9kh6

--HG--
extra : rebase_source : 0f9cf8926c0add19fd65685fe3101935b64b039e
2016-05-17 14:35:42 +08:00
Boris Zbarsky
b2ec3ee967 Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
JW Wang
d27b3f1144 Bug 1273063 - remove ChannelMediaResource::mIsTransportSeekable. r=cpearce.
MozReview-Commit-ID: DvBaIzbh72D

--HG--
extra : rebase_source : d507ef58c8556ee45be49668422c3843c92ed5bc
2016-05-17 10:33:34 +08:00
Brian Birtles
5d0853aef8 Backed out changeset 551e75373ed1 (Bug 1134163) for introducing a new intermittent failure on a CLOSED TREE
--HG--
extra : amend_source : d2df25809dafadf63769bb904939d31c03afa0bb
2016-05-18 12:53:26 +09:00
Jean-Yves Avenard
37f3397832 Bug 1264694: [MSE] P3. Remove no longer necessay methods. r=jwwang
P2 let all tasks run until completion, as such we don't need to deal with interrupted tasks anymore.

MozReview-Commit-ID: 45lYcIGk2ce

--HG--
extra : rebase_source : 33438284685d8f1b48f54fd109880baf0353b976
2016-05-16 21:14:28 +08:00
Jean-Yves Avenard
94d52db9f7 Bug 1264694: [MSE] P2. Clear mTaskQueue early when no longer required. r=jwwang
We need to ensure that the MSE TaskQueue gets shutdown as soon as possible and not wait for the MediaSource parent to be destroyed by the cycle collector.
XPCOM shutdown will deadlock if any SharedThreadPool are still in use, and it possible for the cycle collector to only occur after xpcom has shutdown.
So it's important to ensure mTaskQueue is cleared when the MediaSourceDecoder has been shutdown.

This is done by queueing a new DetachTask that will clear mTaskQueue when run.

MozReview-Commit-ID: C3FXcRtq1wy

--HG--
extra : rebase_source : 79a7c5cb451655c4679b9d4e11d0b5ca0d9814b9
2016-05-16 18:30:19 +08:00
Jean-Yves Avenard
9225d32861 Bug 1264694: [MSE] P1. Ensure we only add source buffer tasks on the task queue. r=jwwang
This ensures that the tasks are processed in the expected order.

MozReview-Commit-ID: JPxlwReZ4Az

--HG--
extra : rebase_source : 4ffac9deaf531c9dfd8443b2e26812d7c8a89102
2016-05-17 17:15:45 +08:00
Ryan VanderMeulen
fadb49d352 Backed out changeset 7f656d673a98 (bug 1273079) for bustage. 2016-05-17 22:49:14 -04:00
John Dai
11eb07ed31 Bug 1264947 - HTMLTableElement.rows return element in the order. r=smaug 2016-05-17 03:08:00 -04:00
John Dai
73b4a91e3f Bug 1264947 - Remove redundant trailing spaces. r=smaug 2016-05-17 02:54:00 -04:00
Wei-Cheng Pan
8e81e61205 Bug 1273079 - Use MOZ_MUST_USE in hal. r=gsvelto
MozReview-Commit-ID: 7VLDpz34DRu

--HG--
extra : transplant_source : %D5%E0%AF%84%AE%B2%0B%B8%E3%8D%A4%A8/%A41M%FA%81%AA%7D
2016-05-16 17:24:03 +08:00
Bevis Tseng
72c8e58003 Bug 823371 - Fire "blocked" event if deleteDatabase is blocked by other open connection. r=khuey 2016-05-11 16:36:52 +08:00
John Dai
942872afd3 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
From eb8351d4f84cb69cff2bc431539158ad046d51ee Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : fabca273682343ee6ca0e4061852c92065cbb89e
2016-04-15 16:12:46 +08:00
John Dai
1545cb9d2f Bug 1088761 - Support reportValidity() for form controls. r=smaug
From 2c2f7223e9d88f431f3e3fee7384dffbca07d8a9 Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 7daace21a903c55c893f0c6e7b0e0380b6ddca12
2016-04-15 16:13:00 +08:00
John Dai
e05f13cdbb Bug 1088761 - Remove redundant trailing spaces. r=smaug
From b52ed31558ac41e31b7a885a988475b07f3aa3fe Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 42f91a3fa39a277c486342baad523d95e044b309
2016-04-12 19:02:42 +08:00
JMortelliti
b122e889a9 Bug 1015318 - Factor out the common code from IDLNullableType, IDLSequenceType, and IDLMozMapType into a new superclass, IDLParameterizedType. r=bzbarsky
MozReview-Commit-ID: 20darfFam9f
2016-05-14 10:17:44 -04:00
Mantaroh Yoshinaga
a98b4f8acf Bug 1134163 - Part4. Add tests of getComputedStyle with seeking. r=birtles
MozReview-Commit-ID: 6JcjLnjJkOI

--HG--
extra : rebase_source : 21c935f55d85a468787769dfe2b83cff320d22ce
2016-05-16 15:29:09 +09:00
Mantaroh Yoshinaga
6e75ea71ce Bug 1134163 - Part3. Modify the currentTime and startTime tests. r=birtles
I modified several tests which related animationstart event delay.

animation-starttime and animation-currenttime tests:
 - Moved the getComputedStyle tests to test/style.
 - Removed the animation.playState tests. This tests contained by playState tests of web-platform-tests.
 - Lining common function. (e.g. calculating current/start time. etc)

MozReview-Commit-ID: 9kD9ZR1KxGv

--HG--
extra : rebase_source : 26e37568769fd4e939ebbde36d8b4af5ad4d2658
2016-05-16 15:29:09 +09:00
Jonathan Watt
c708a6bc4b Bug 1177957, part 2 - WebIDL parser tests for the [SecureContext] extented attribute. r=bz
MozReview-Commit-ID: 7hIblAhdBYw
2016-05-13 23:11:16 +01:00
Jonathan Watt
057734ea40 Bug 1177957, part 1 - Make the WebIDL parser support the [SecureContext] extented attribute. r=bz
MozReview-Commit-ID: Hm6ZvBoGeUj
2016-05-13 23:11:16 +01:00
Xidorn Quan
2addb968ed Bug 1270648 part 5 - Setup the sandboxed fullscreen flag and make it work properly. r=smaug
MozReview-Commit-ID: 3EKRbOyXwNi

--HG--
extra : source : 03b0ee1a3ba13b252cb3276adc098266979c3741
2016-05-18 09:08:12 +10:00
Xidorn Quan
51e715f73c Bug 1270648 part 4 - Make fullscreen enabled flag not be affected after document is loaded. r=smaug
MozReview-Commit-ID: L2dMAUr63qv

--HG--
extra : source : 363d7ac04cbf98fa67cad3214ac62330c2652fa8
2016-05-18 09:08:12 +10:00
Xidorn Quan
2baf1f45c4 Bug 1270648 part 3 - Make document state not affect the value of fullscreenEnabled. r=smaug
The function GetFullscreenError() is only used in fullscreen element
ready check and computing value of fullscreenEnabled attribute. And for
the latter case, the state of the document (visibility and subdocument
fullscreen) should not be considered as a factor per spec.

In addition, allowing chrome to enter fullscreen when the document is
invisible or already has a fullscreen subdocument would likely ruin
things, as we have assumptions elsewhere those should not happen at all.

MozReview-Commit-ID: ETSBQMQpJPv

--HG--
extra : source : aacffb72253037e0d6a89f741c0c218edc63b919
2016-05-18 09:08:12 +10:00
Xidorn Quan
0bcdce79ef Bug 1270648 part 2 - Merge nsContentUtils::ParseSandboxAttributeToFlags into HTMLIFrameElement::GetSandboxFlags. r=smaug
nsContentUtils::ParseSandboxAttributeToFlags is not used anywhere else,
and given that sandbox flags would also be affected by allowfullscreen
attribute, this function alone could be misused.

MozReview-Commit-ID: EzlGQ7iY8WG

--HG--
extra : source : 3d58c6e5372e360706045e23c601604c49fc3b43
2016-05-18 09:08:12 +10:00
Xidorn Quan
e0aa1f5add Bug 1270648 part 1 - Move #include out from sandbox keyword list. r=smaug
MozReview-Commit-ID: 18GeTZTcZPp

--HG--
extra : source : 21021768b091a48ca639c0b222211c385e680d7f
2016-05-18 09:08:12 +10:00
Gerald Squelart
cddbbd8719 Bug 1273406 - Ugly macros transform into beautiful constexpr goodness - r=cpearce
MozReview-Commit-ID: K5cyEbvPWhQ

--HG--
extra : rebase_source : b25cacd1ce3d0b1926b1e37986d74baaf9977141
2016-05-17 19:32:31 +10:00
Gerald Squelart
a9fce7dee5 Bug 1273406 - Disable D3D11 with some iSonyVideoProcessor DLLs - r=cpearce
MozReview-Commit-ID: EWgqJ6OJhRD

--HG--
extra : rebase_source : 2659699b172a90d3b2cc1e8f2b74c7b513c70a06
2016-05-17 19:00:30 +10:00
Blake Kaplan
bcf0609588 Bug 1267844 - fix bustage r=bustage 2016-05-17 15:56:52 -07:00
Blake Kaplan
75c1fabad5 Bug 1267844 - Make swapping render frames swap update observers too. r=mconley 2016-05-17 15:43:27 -07:00
Trevor Saunders
a868a5867f bug 1271436 - use do_GetInterface() a little less r=smaug 2016-05-17 18:16:07 -04:00
Trevor Saunders
256fff4fc9 bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug 2016-05-17 18:16:07 -04:00
Trevor Saunders
1e81548029 bug 1271436 - use nsIDocShellTreeItem::GetDocument() more r=smaug 2016-05-17 18:16:07 -04:00
Trevor Saunders
72bac46477 bug 1271436 - use nsIDocShellTreeItem::GetWindow() more r=smaug 2016-05-17 18:16:07 -04:00
Jonathan Watt
e242d3f9fe Bug 1263060, part 2 - Prevent nsFrameLoader from loading sub-documents in XBL bindings documents. r=smaug 2016-05-12 17:22:25 +01:00
Jonathan Watt
d270af6900 Bug 1263060, part 1 - Replace redundant nsIDocument::IsResourceDoc() checks in nsFrameLoader with asserts. r=smaug 2016-05-12 17:22:25 +01:00
Wes Kocher
96732fa5cd Backed out changeset cf899587f05e (bug 1271249) for browser_privatebrowsing_blobUrl.js failures 2016-05-17 13:07:44 -07:00
Jessica Jong
eb72222ba6 Bug 1265968 - fire change event after selected item is changed in dropdown. r=smaug 2016-05-17 12:50:50 -07:00
Cykesiopka
18c21f386e Bug 1271495 - Replace uses of ScopedPK11Context with UniquePK11Context. r=keeler,mcmanus
ScopedPK11Context is based on Scoped.h, which is deprecated in favour of the
standardised UniquePtr.

MozReview-Commit-ID: HE8UY1hOuph

--HG--
extra : transplant_source : 4%BF%81M%09Q-%2A%E6%04%86i%18%1B%3CL%90%88%04%C7
2016-05-13 05:53:57 -07:00
Kartikaya Gupta
b9e4a263e3 Bug 1270019 - Add a SetRestoreResolution API for fennec's SessionRestore to use. r=rbarker
MozReview-Commit-ID: 7WqmgAkFItQ
2016-05-17 14:50:08 -04:00
Andrea Marchesini
9d6c9f459a Bug 1271249 - Blob URL should not be shared across non-private and private windows, r=ehsan 2016-05-17 20:34:39 +02:00
Ryan VanderMeulen
d665e900e2 Backed out changesets 5f4c3f3c188b, 0114f37a7742, and 7a336216b9c4 (bug 1264694) for web-platform-test asserts/crashes. 2016-05-17 11:28:59 -04:00
Andrew McCreight
d47917df1b Bug 1272707, part 1 - Shrink down TV mock data test file so as to not exceed pref size limit. r=mantaroh
The next patch will limit the size of preferences sent to content
processes to MAX_ADVISABLE_PREF_LENGTH characters. This patch
eliminates whitespace by converting to and from a JSON data
structure. In addition, I reduced the size of the names and
descriptions in mock_data.json.
2016-05-17 07:55:49 -07:00
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Jean-Yves Avenard
a240a3d77e Bug 1264694: [MSE] P3. Remove no longer necessay methods. r=jwwang
P2 let all tasks run until completion, as such we don't need to deal with interrupted tasks anymore.

MozReview-Commit-ID: 45lYcIGk2ce

--HG--
extra : rebase_source : db9c8db1b3f1d51d57ad090fdeb2cad6682de2be
2016-05-16 21:14:28 +08:00
Jean-Yves Avenard
62469ee531 Bug 1264694: [MSE] P2. Clear mTaskQueue early when no longer required. r=jwwang
We need to ensure that the MSE TaskQueue gets shutdown as soon as possible and not wait for the MediaSource parent to be destroyed by the cycle collector.
XPCOM shutdown will deadlock if any SharedThreadPool are still in use, and it possible for the cycle collector to only occur after xpcom has shutdown.
So it's important to ensure mTaskQueue is cleared when the MediaSourceDecoder has been shutdown.

This is done by queueing a new DetachTask that will clear mTaskQueue when run.

MozReview-Commit-ID: C3FXcRtq1wy

--HG--
extra : rebase_source : 38c0b5548b32e89b0994704c1318ff77fba76eba
2016-05-16 18:30:19 +08:00
Jean-Yves Avenard
ce63a808d5 Bug 1264694: [MSE] P1. Ensure we only add source buffer tasks on the task queue. r=jwwang
This ensures that the tasks are processed in the expected order.

MozReview-Commit-ID: JPxlwReZ4Az

--HG--
extra : rebase_source : 873a373c5a6ccf20eb69f6d36b1ebdf25e6ddea3
2016-05-17 17:15:45 +08:00
Valentin Gosu
451803ecf5 Bug 1148161 - rename PluginModuleParent::OfflineObserver to PluginOfflineObserver r=jimm
The class name clashes with mozilla::net::OfflineObserver and ends up crashing in nsTraceRefcnt::GetBloatEntry because the two classes have a different size.
2016-05-12 17:43:34 +02:00
Yoshi Huang
b0b5fc2bf1 Bug 1250063 - Part 2: don't call notifyTabContextUpdated(). r=sicking 2016-05-17 19:49:10 +08:00
Sebastian Hengst
c470acb725 Backed out changeset aa4ee7364898 (bug 1264694) for frequent crash in mediasource-append-buffer.html [@ mozilla::TrackBuffersManager::ProcessTasks()] on OSX 10.10 after hitting its new assertion. r=backout 2016-05-17 09:50:38 +02:00
Sebastian Hengst
2963660445 Backed out changeset 14b8c2f4764f (bug 1264694) 2016-05-17 09:50:29 +02:00
Brian Birtles
b7858fac74 Bug 1264822 part 4 - Ignore shorthand properties when all their subproperties are not-animatable; r=hiro
This patch also includes a tweak to not-animatable.html to match the order in
which properties are enumerated on the object. This test was always in error but
we never noticed since the test failed before reaching the test in question.

Making the test dependent on the order in which object properties is enumerated
is not good but we will remove this test in the next patch. In this patch we
just make sure it passes.

MozReview-Commit-ID: AKXdHj4nUMv

--HG--
extra : rebase_source : 64270ae9d9cf68cdf534baaf198583fb1974025c
2016-05-17 14:09:11 +09:00
Bob Owen
c43bf02cda Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
MozReview-Commit-ID: 5AiktOArpfU

--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Bob Owen
71b3258726 Bug 1035125 Part 4: Back out changeset 8ae39d920f5c and associated subsequent changes. r=glandium
The original changeset that is being backed out had comment:
Bug 1023941 - Part 2: Static-link the CRT into plugin-container.exe.

MozReview-Commit-ID: 1iPJghgd0t2

--HG--
extra : rebase_source : cbed4e43f51af8ea0c3adbfc150ed029fe0d0f57
2016-05-15 16:23:57 +01:00
Bob Owen
fab68be5ea Bug 1035125 Part 3: Back out changeset fa15c3e929d0 and associated subsequent changes. r=glandium
The original changeset that is being backed out had comment:
Bug 1023941 - Part 3: Static-link the CRT into plugin-hang-ui.exe.

MozReview-Commit-ID: G0DmyyKqGWg

--HG--
extra : rebase_source : a7e5f38a7bb70d595c3fdbb26bc5e7f86b4c5926
2016-05-15 16:23:57 +01:00
Gerald Squelart
010b643fd7 Bug 1269204 - Disable D3D11 with idg10umd32 9.17.10.2857 - r=cpearce
MozReview-Commit-ID: Keo14BhdA6P

--HG--
extra : rebase_source : 08f00a2ab566bcc55a1120ddd0c188e3790bdbab
2016-05-17 13:58:08 +10:00
Gerald Squelart
953f43a8b4 Bug 1268905 - Disable D3D11 with some Toshiba DLLs - r=cpearce
MozReview-Commit-ID: Eoyo7VszBnS

--HG--
extra : rebase_source : a2effba08e11411428e11095b3e692cc78eec61d
2016-05-17 12:06:59 +10:00
Chris Peterson
2674f069a9 Bug 1272930 - Fix some -Wshadow warnings in dom/media/systemservices. r=gerald
dom/media/systemservices/MediaSystemResourceManager.cpp:71:33 [-Wshadow] declaration shadows a local variable
dom/media/systemservices/MediaUtils.h:85:32 [-Wshadow] declaration shadows a local variable
dom/media/systemservices/MediaUtils.h:85:60 [-Wshadow] declaration shadows a local variable
dom/media/systemservices/MediaParent.cpp:250:19 [-Wshadow-local] declaration of 'buffer' shadows a previous local
dom/media/systemservices/MediaParent.cpp:258:18 [-Wshadow-compatible-local] declaration of 'count' shadows a previous local
dom/media/systemservices/MediaParent.cpp:259:18 [-Wshadow-compatible-local] declaration of 'rv' shadows a previous local
2016-05-14 18:41:52 -07:00
Jean-Yves Avenard
b4a0208665 Bug 1273018: P3. Adjust range of audio assertions. r=gerald
With the new video-only seek type, we need to ignore the current audio decoding state whenever video-only seeking is in progress.

MozReview-Commit-ID: 5eynmG2UyyA

--HG--
extra : rebase_source : 7e9bdd7c44cb4a80129bfc468da87288e520c984
2016-05-16 16:15:45 +08:00
Jean-Yves Avenard
48ddbe88b9 Bug 1273018: P2. Don't reject audio waiting promise when performing a video only seek. r=gerald
MozReview-Commit-ID: G1MeZWxLayy

--HG--
extra : rebase_source : ea07192655c474997d7a3253adf9f13eefd45212
2016-05-16 14:50:04 +08:00
Jean-Yves Avenard
9773d374d9 Bug 1273018: P1. Rename some members. r=gerald
MediaFormatReader::mOriginalSeekTarget now has different use and the name was no longer reflective of the actual usage.

MozReview-Commit-ID: Fu0fmgUlbgr

--HG--
extra : rebase_source : 7c106fc4832def7c6a4b91e1950ed5b3e1109129
2016-05-16 14:47:57 +08:00
JW Wang
bd544fa97d Bug 1272232. Part 5 - remove use of FlushableTaskQueue. r=jya.
MozReview-Commit-ID: F3gzwztV03k

--HG--
extra : source : 1c5b4511ae0031c3b3b1bb13ef6f076fa5690683
2016-05-15 20:14:56 +08:00
JW Wang
b2c3232dd1 Bug 1272232. Part 4 - remove use of FlushableTaskQueue::Flush(). r=jya.
MozReview-Commit-ID: 93svIzpCuJM

--HG--
extra : source : 0180bb257d98ecd960b7620c90acf1227e3bab87
2016-05-15 20:14:56 +08:00
JW Wang
1a5803df64 Bug 1272232. Part 3 - constify some members and make them private when possible. r=jya.
MozReview-Commit-ID: LTFFBRTB9Pr

--HG--
extra : source : 1862fbd90be3153902936ace4385200af1dec839
2016-05-15 20:14:55 +08:00
JW Wang
0d5d669b62 Bug 1272232. Part 2 - extract common code to the parent class. r=jya.
MozReview-Commit-ID: 7Psgw8VcX8B

--HG--
extra : source : 63e569ef1cc6b7996dc0fcd39649adb1c008cfeb
2016-05-15 20:14:55 +08:00
JW Wang
86994c19ca Bug 1272232. Part 1 - move code around so we can extract common code in P2. r=jya.
MozReview-Commit-ID: 9sTVOjRoDdP

--HG--
extra : source : 2776d38a6d2f1bf60568576b78269d1b4dd99a1b
2016-05-15 20:14:55 +08:00
Jean-Yves Avenard
568abdd787 Bug 1264694: [MSE] P2. Remove no longer necessay methods. r=jwwang
P1 let all tasks run until completion, as such we don't need to deal with interrupted tasks anymore.

MozReview-Commit-ID: 45lYcIGk2ce

--HG--
extra : rebase_source : 87731ae2ef2c1aa2fae57ef4b232374f9ad5e0bc
2016-05-16 21:14:28 +08:00
Jean-Yves Avenard
8449a3f79b Bug 1264694: [MSE] P1. Clear mTaskQueue early when no longer required. r=jwwang
We need to ensure that the MSE TaskQueue gets shutdown as soon as possible and not wait for the MediaSource parent to be destroyed by the cycle collector.
XPCOM shutdown will deadlock if any SharedThreadPool are still in use, and it possible for the cycle collector to only occur after xpcom has shutdown.
So it's important to ensure mTaskQueue is cleared when the MediaSourceDecoder has been shutdown.

This is done by queueing a new DetachTask that will clear mTaskQueue when run.

MozReview-Commit-ID: C3FXcRtq1wy

--HG--
extra : rebase_source : 034319517bd8b90668b6311efb54c3a1a864cb5b
2016-05-16 18:30:19 +08:00
Sotaro Ikeda
bf89cf3e57 Bug 1273056 - Remove redundant ConvertYCbCrToRGB() r=nical 2016-05-16 19:45:12 -07:00
kshitija
43bdd72262 Bug 1259666 - Part 3- change displayPanFeedback to mDisplayPanFeedback - r=masayuki
MozReview-Commit-ID: LWOiakDEEx7

--HG--
extra : rebase_source : 4208b4cf8fe8593fec5be3de36bf4dfe0b5b87a8
2016-05-14 18:03:50 -07:00
kshitija
81668a7fc9 Bug 1259666 - Part 2 - Change panDirection to mPanDirection - r=masayuki
MozReview-Commit-ID: JVLB0Z6JUFc

--HG--
extra : rebase_source : a39f0973d8c71dbbff1540449b596357f0ed5f70
2016-04-29 03:34:46 -07:00
kshitija
118598553f Bug 1259666 part 1 - rename variable and definition change - r=masayuki
MozReview-Commit-ID: 1FWJypkoqYz

--HG--
extra : rebase_source : b3faef1abb72e8230ac70a963be96c19392632d4
2016-04-21 19:32:59 -07:00
Ralph Giles
86ac5f9689 Bug 1273310 - Simplify DecoderDoctor failure flags. r=gerald
This is a bit easier to read. Currently there's no difference
since Startup is only called once, but it's probably better
future-proofing too, since the diagnostics should care more
about the current state than whether there's every been a
failure. Likewise reset the flags if the decoder is turned
off by a preference change.

MozReview-Commit-ID: 4zD7rkD6A3J

--HG--
extra : rebase_source : 800112ddf5d7548274e8d9f0e50a88b28ae10637
2016-05-16 15:53:17 -07:00
Michael Layzell
d09810392d Bug 1208217 - Enable paste event listener in documents with no editor component, r=enndeakin 2016-05-16 18:09:41 -04:00
Hiroyuki Ikezoe
fe5c0e702f Bug 1271846 - Drop old Frame Timing interfaces. r=baku
MozReview-Commit-ID: FXihZGbeCHq

--HG--
extra : rebase_source : 98c331c764ed16a670e4b43d5240a68adc2e553a
2016-05-13 18:54:26 +09:00
Olli Pettay
2eab9bb421 Bug 1273202, make sure to not keep objects alive too long because of some useless event dispatching, r=jwatt
--HG--
extra : rebase_source : 687d28c00589327d00a8fb0e652e8adb5aa6101b
2016-05-16 21:42:24 +03:00
Jonathan Watt
9aa4a6d7d5 Bug 1270174 - Follow-up to only return early in the case that we find insertAnonymousContent content. r=orange
--HG--
extra : rebase_source : e8b34d71776856ab09735e067741f9203aa61890
2016-05-16 19:39:16 +01:00
Michael Layzell
a0e9525087 Bug 1270299 - Modify browser_ConsoleAPITests.js to run in e10s, r=baku 2016-05-16 13:54:55 -04:00
Jonathan Watt
bdfb04809e Bug 1270174 - Scope SVG ID references in content inserted via Document.insertAnonymousContent() to the inserted element. r=smaug 2016-05-09 18:33:19 +01:00
James Graham
2d4b6790d3 Bug 1272698 - Allow specifying tests in |mach webidl-parser-test|, r=gps
MozReview-Commit-ID: 8i6qgdF963i

--HG--
extra : rebase_source : b4a1a4db6545ddfc481429c6fac39edd75c9af87
2016-05-13 17:58:46 +01:00
Masayuki Nakano
1252a7bf75 Bug 1254755 part.5 Rename WidgetKeyboardEvent::isChar to WidgetKeyboardEvent::mIsChar r=smaug
MozReview-Commit-ID: 58mri5IP3dV

--HG--
extra : rebase_source : fadfc0eb40c2ea9a3a60ba54b0ae7c5cae94f96e
2016-05-12 18:31:05 +09:00
Masayuki Nakano
e2fb1c839c Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug
MozReview-Commit-ID: CjT7izri6Vq

--HG--
extra : rebase_source : 1e82d581b8bf1cce3d3154402f3bb435f7a004f6
2016-05-12 18:17:22 +09:00
Masayuki Nakano
8a70a17c6a Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.

MozReview-Commit-ID: JMT614copjG

--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano
3359bad586 Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.

MozReview-Commit-ID: IKjQ1nr8XYe

--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Sebastian Hengst
0403458e2a Backed out changeset 454ff63e5995 (bug 1271585) for crash in mediatest test_dataChannel_basicAudio.html on Android. r=backout 2016-05-16 16:20:01 +02:00
Randell Jesup
9e6a346332 Bug 1271585: Remove AudioGUM thread from MediaEngine getUserMedia input r=padenot
MozReview-Commit-ID: EhaMVSq54IK
2016-05-12 15:34:11 -04:00
Edwin Flores
662e4f47a3 Bug 1272277 - Force content process device reset when the compositor is updated - r=nical 2016-05-16 12:55:02 +01:00
Gregor Wagner
aa9ea27050 Bug 1271697 - B2GOS: Fix DOMCameraControl.cpp nsIAudioChannelAgent::NotifyStartedPlaying. r=baku 2016-05-16 12:06:42 +02:00
Bob Owen
2d161a3465 Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Bob Owen
3a3dd7efbb Bug 1189846 Part 7: Create nsPrintingProxy and PrintingParent during process initialization. r=jimm
MozReview-Commit-ID: 98g7eZUJ6bY
2016-05-16 10:40:54 +01:00
Hiroyuki Ikezoe
00e2f46aeb Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
MozReview-Commit-ID: 3tTkDtxkHcT

--HG--
extra : rebase_source : 388f548cb30f5384cceb620a595dd10b5fd22e4e
2016-05-16 16:25:46 +09:00
David Anderson
800882adb1 Move CompositorBridgeParent::IsInCompositorThread to CompositorThreadHolder. (bug 1273017 part 3, r=mattwoodrow) 2016-05-15 23:40:13 -07:00
David Anderson
03a3af51b6 Move CompositorBridgeParent::CompositorLoop to CompositorThreadHolder. (bug 1273017 part 2, r=mattwoodrow) 2016-05-15 23:39:30 -07:00
Chris Pearce
b4b5bfb254 Bug 1270689 - Clear WidevineDecryptor::mCallback in WidevineDecryptor::DecryptingComplete(). r=gerald
The OnSessionClosed() callback is happening on a timer, after
WidevineDecryptor::DecryptingComplete() has been called. So mCallback could
actually be non-null because DecryptingComplete() has been called, but the
object pointed to by mCallback has been deallocated, and mCallback is a
dangling pointer.

MozReview-Commit-ID: 4xdHYRn7EAS

--HG--
extra : source : 55d79997aa3e3e2133d9155c37f4435317b44061
2016-05-16 14:34:20 +12:00
Kan-Ru Chen
c5d6a959b2 Bug 1261612 - Allow <iframe mozbrowser> in chrome doc to use transparent attribute. r=smaug
MozReview-Commit-ID: JjiPKnw95pS
2016-05-16 10:56:09 +08:00
Kan-Ru Chen
d5e601ce6f Bug 1261612 - Remove TabChild::IsRootContentDocument and related methods. r=smaug
MozReview-Commit-ID: 2ms1lBfimfv
2016-05-16 10:56:07 +08:00
Xidorn Quan
cbf6f73785 Bug 1271160 - Add telemetry items for fullscreen transition. r=smaug data-review=bsmedberg
MozReview-Commit-ID: EvmLvE5VWOu

--HG--
extra : source : ad09f13328a7455e5b3ae9610fb1b4c9b1baa4bf
2016-05-16 11:30:36 +10:00
Jean-Yves Avenard
cb12cb9282 Bug 1272916: [MSE] P1. Don't rely only on dts gap to establish if we have a gap in our source buffer. r=gerald
Also check that the pts have similar gap.

MozReview-Commit-ID: 4Hk24S78HjF

--HG--
extra : rebase_source : abc13534748ae649117e7679918d8a4a5800c51a
2016-05-15 18:58:46 +08:00
Ben Kelly
62ecdfc256 Bug 1093357 P3 Convert Cache to use IPCStream and AutoIPCStream. r=asuth
* * *
Bug 1093357 P3 interdiff 001 Use AutoIPCStream in dom/cache
2016-05-15 10:32:09 -07:00
Ben Kelly
749d2c1626 Bug 1093357 P1 Implement an actor for streaming pipes from child to parent. r=jld
* * *
Bug 1093357 P1 interdiff 001 address review feedback
2016-05-15 10:32:09 -07:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Jonathan Watt
6207628ecb Bug 951082 - Make nsReferencedElement::Reset fail if its call to nsContentUtils::ConvertStringFromEncoding fails. r=dholbert 2016-05-06 14:21:12 +01:00
JW Wang
e6ab7f654d Bug 1272553. Part 3 - make mTaskQueue private. r=jya.
MozReview-Commit-ID: 7A7GuatX98k
2016-05-14 09:08:58 +08:00
JW Wang
b025e4dca1 Bug 1272553. Part 2 - extract common code to the parent class. r=jya.
MozReview-Commit-ID: EhHLaIy9lyq
2016-05-14 09:04:48 +08:00
JW Wang
1f754c14d3 Bug 1272553. Part 1 - move code around to be able to extract common code in P2. r=jya.
MozReview-Commit-ID: GBsEOnuO224
2016-05-14 09:04:40 +08:00
Boris Zbarsky
3c3e4fad9c Bug 1272160. Fix XPCWrappedNativeScope::AddSizeOfIncludingThis to not blindly poke at non-DOM globals as if they were DOM globals. r=khuey
I did audit the XPConnect callers of TraceProtoAndIfaceCache and DestroyProtoAndIfaceCache, and they all check JSCLASS_DOM_GLOBAL.
2016-05-13 20:21:40 -04:00
Boris Zbarsky
0a8135300a Bug 1270783. If we end up erroring out of a worker main-script load before we get to creating a global for the worker, don't try to enter that global's compartment to throw an exception. Just squelch it instead. r=khuey 2016-05-13 20:09:50 -04:00
Andrea Marchesini
6f820b5dd7 Bug 1272298 - nsFormSubmission should support "\0" input string, r=smaug 2016-05-13 22:48:03 +02:00
Randall Barker
d278d619b6 Bug 1267928 - Part 1, Do not auto zoom on focused content that has an empty bounds r=botond 2016-05-13 13:25:51 -07:00
David Keeler
cbc656ba88 bug 1271350 - work around PK11_CreatePBEV2AlgorithmID generating a random salt when it shouldn't r=ttaubert
MozReview-Commit-ID: KHjiwPg2SBb

--HG--
extra : rebase_source : b712a557064a6b278f085bac2cbd9bbbc4591c42
2016-05-12 11:12:57 -07:00
Jan-Ivar Bruaroey
0645564b21 Bug 1257950 - getUserMedia switched from SecurityError to NotAllowedError. r=jesup
MozReview-Commit-ID: Di8fDDFkpwX

--HG--
extra : rebase_source : d6f69321bc1a469ad29ec541aaf25ca2a62661cf
2016-05-08 22:29:46 -04:00
Andrea Marchesini
e5ac72be11 Bug 1258490 - patch 3 - Fix Android error failures for root paths, r=me 2016-05-13 17:20:26 +02:00
JW Wang
0218fe027e Bug 1272225. Part 3 - remove use of FlushableTaskQueue. r=jya.
MozReview-Commit-ID: LLCk0sL8dgO
2016-05-12 16:02:56 +08:00
JW Wang
3d9ceb5551 Bug 1272225. Part 2 - remove use of FlushableTaskQueue::Flush(). r=jya.
MozReview-Commit-ID: 6D9tfRhEbSk
2016-05-12 16:02:50 +08:00
JW Wang
1215d8cd32 Bug 1272225. Part 1 - add assertions to make thread constraints clear. r=jya.
MozReview-Commit-ID: I3YCiHtsLWv
2016-05-12 15:14:53 +08:00
Jan-Ivar Bruaroey
5f0b39e57e Bug 802326 - make getUserMedia fail audio+video request unless user shares both. r=jesup
MozReview-Commit-ID: GG9ZkEe5Eao

--HG--
extra : rebase_source : a0e21953c882faebbc8a2953fffd03a951c2abbd
2016-05-05 21:54:04 -04:00
Jan-Ivar Bruaroey
6cd0bf07c3 Bug 802326 - make getUserMedia fail audio+video request unless user has both. r=jesup
MozReview-Commit-ID: 8o7p3B6fD5r

--HG--
extra : rebase_source : efe99cfeb7c99c53d3840292a61acc484414d116
2016-05-05 17:11:53 -04:00
Jan-Ivar Bruaroey
c0d9a22841 Bug 802326 - test that getUserMedia fails w/required video constraint, regardless of audio. r=jesup
MozReview-Commit-ID: DtvgDGIiZaN

--HG--
extra : rebase_source : fc72d29cb823d3c2af0e7ffb991935ad65154cec
2016-05-05 16:11:08 -04:00
Jan-Ivar Bruaroey
f8910bc751 Bug 802326 - make getUserMedia fail if required video constraints aren't met, regardless of audio. r=jesup
MozReview-Commit-ID: BVT7vyNbatH

--HG--
extra : rebase_source : 81c90431da89f6e78bbb7db9e3120e34ab197323
2016-05-05 15:46:04 -04:00
Andrea Marchesini
598d0d9c4d Bug 1258490 - patch 2 - Directory::WebkitBlinkDirectoryPickerEnabled must be able to retrieve the WorkerPrivate also without having a JSContext, r=me 2016-05-13 14:38:00 +02:00
Carsten "Tomcat" Book
9201048b08 Backed out changeset e6614cb53f0a (bug 1208373) for mda testfailures in test_peerConnection_setLocalOfferInHaveRemoteOffer.html
--HG--
extra : amend_source : c1699ce07f9ec8ddd2c65ed3b0e51adc3f207a83
2016-05-13 13:51:54 +02:00
Carsten "Tomcat" Book
c8b8c1f17c Backed out changeset b09fd2894b02 (bug 1208373) 2016-05-13 13:51:51 +02:00
Carsten "Tomcat" Book
706a10fa58 Backed out changeset e24de2c6fdb6 (bug 1208373) 2016-05-13 13:51:48 +02:00
Carsten "Tomcat" Book
7a87aa569d Backed out changeset 133c1cb39c00 (bug 1208373) 2016-05-13 13:51:44 +02:00
Carsten "Tomcat" Book
2211bc30a2 Backed out changeset 5c3ed1091455 (bug 1208373) 2016-05-13 13:51:37 +02:00
Carsten "Tomcat" Book
54853544b8 Backed out changeset ee525e8953bd (bug 1208373) 2016-05-13 13:51:34 +02:00
Carsten "Tomcat" Book
90d4054a6f Backed out changeset 64d446651351 (bug 1208373) 2016-05-13 13:51:30 +02:00
Dan Glastonbury
02af730fcf Bug 1272562 - Don't check audio asserts when seeking video. r=jya
MozReview-Commit-ID: 8njbfw7ni24

--HG--
extra : rebase_source : 59bee06a39cc627831e160127120511eb5304fe8
2016-05-13 16:35:43 +10:00
Andrea Marchesini
c2b21ae750 Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug 2016-05-13 13:12:34 +02:00
Andrea Marchesini
6441b9d372 Bug 1258490 - Implement file.webkitrelativepath, r=smaug 2016-05-13 13:11:38 +02:00
Jean-Yves Avenard
4e25a1e963 Bug 1271491: P7. Remove unused members. r=alfredo
MozReview-Commit-ID: FEY5j7PWmJy

--HG--
extra : rebase_source : 436c4458337ed3d2857ed02555a3e02afac7fd26
2016-05-12 19:06:14 +10:00
Jean-Yves Avenard
cc8c8725df Bug 1271491: P6. Remove the need to call PDMFactory::Init(). r=cpearce
PDMFactory will automatically load and initialize the required frameworks upon first use.
Also fix constness of some methods.

MozReview-Commit-ID: HFbvTMRFAey

--HG--
extra : rebase_source : ce3e7ff6cefc35b32674c9a81c3488fe21b48626
2016-05-12 18:54:35 +10:00
Jean-Yves Avenard
3a843c40d0 Bug 1271491: [GMP] P5. Allow GMPDecoderModule::Init() to be called off the main thread. r=cpearce
MozReview-Commit-ID: FLToT0yNTbX

--HG--
extra : rebase_source : c74ddd61d0160c3551380e5a141013759cfc4ec9
2016-05-10 18:01:22 +10:00
Jean-Yves Avenard
c16d1665b7 Bug 1271491: [ffmpeg] P4. Remove requirements to call Init on the main thread. r=cpearce
FFMpegRuntimeLinker/FFVPXRuntimeLinker::Init() aren't thread safe, but they can be called on any threads.

MozReview-Commit-ID: 4B9yn7zSyf1

--HG--
extra : rebase_source : 5a5ee52b72afbd01d6477fc312ff9f226ab95248
2016-05-10 17:28:47 +10:00
Jean-Yves Avenard
cc7667d484 Bug 1271491: P3. Remove refcounting the number of time apple's linkers are called. r=cpearce
This code was unused as Link() / Unlink() are only ever called once in the life time of the gecko.

MozReview-Commit-ID: LK42vooSSx9

--HG--
extra : rebase_source : e4c09f8f6d891045a07cb11b0c3ba324c8ea7735
2016-05-10 17:19:31 +10:00
Jean-Yves Avenard
6e2b718e6a Bug 1271491: P2. Allow initialization of WMFPlatformDecoderModule from any threads. r=mattwoodrow
This is a very rough and lame attempt at making some parts of gfx thread-safe, however some parts rely on Preferences::AddBoolCache which isn't thread-safe.
Must still be called once gfx has been initialized.

MozReview-Commit-ID: BSpr9cp6USR

--HG--
extra : rebase_source : 395ac23cafeb1509f89b72deda5fccdc7726c1bb
2016-05-12 19:24:43 +10:00
Jean-Yves Avenard
c1e4f58ec9 Bug 1271491: [WMF] P1. Don't use main thread only preferences methods. r=cpearce
Instead rely on MediaPrefs.

MozReview-Commit-ID: 2O1eGHYycTX

--HG--
extra : rebase_source : 275b9e8cdbcd8c5deb738d279cef47f9490b6ac6
2016-05-10 12:15:58 +10:00
Andreas Pehrson
f2d98c7674 Bug 1208373 - Fix test_peerConnection_capturedVideo.html to wait for close() promise. r=jib
MozReview-Commit-ID: AOrm5JkfxAG

--HG--
extra : rebase_source : 8294e3abce8e7cfb0d4b76a2b782ee9d9d6d4642
extra : source : b9c629250c90c42950b2b91ccf248dd1da6cdbf5
2016-05-04 16:32:17 +02:00
Andreas Pehrson
11e0c929f7 Bug 1208373 - Implement MediaStreamTrack.readyState. r=jib,smaug
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : e329085837c597610d32823c6c5b6efad23f27a1
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson
df1fe74fee Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=jib,smaug
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : 2f8f2b5b141e4384555abd21de7fa823a9b34cf9
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00