Commit Graph

50588 Commits

Author SHA1 Message Date
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
Andreas Pehrson
065c4d2522 Bug 1208373 - Test that ended tracks that are cloned are also ended. r=jib
MozReview-Commit-ID: 4YU31TK0Mdf

--HG--
extra : rebase_source : af0faa81c410f2dc0bcff5d94266d08414edffdc
extra : source : 0d4ff0ff0dac011751329d23122e8e55e37ee3f7
2016-05-04 11:28:14 +02:00
Andreas Pehrson
51e6dbb8cd Bug 1208373 - Add test for MediaStreamTrack "ended" event and "readyState" attribute. r=jib
MozReview-Commit-ID: INZ0XtRTgt1

--HG--
extra : rebase_source : 95a58df0b41c266bc0baa527537e323378aa4799
extra : source : dc5697d8abd4454539a67966cf2e110d2a1ce081
2016-05-12 14:02:10 +02:00
Andreas Pehrson
ef96745407 Bug 1208373 - Test that a peerConnection's received tracks end on close(). r=jib
MozReview-Commit-ID: 1iVTt6XBRpZ

--HG--
extra : rebase_source : ed75227342e1bbec9ebf7e1edc784422c1e844dd
extra : source : 548b2be660a128084e1916409add6bd97d5efed3
2016-05-12 14:30:51 +02:00
Andreas Pehrson
359e611c96 Bug 1208373 - Check that we don't get "ended" event for tracks after calling stop(). r=jib
MozReview-Commit-ID: K9gOZtUNQ5K

--HG--
extra : rebase_source : 60a6a854563a7af78b02a995da79f9806e98e94c
extra : source : 2996367191d23fd1aa4630d4a964b2577c7fbf8c
2016-05-12 13:50:34 +02:00
Andreas Pehrson
4abd5e4c78 Bug 1206708 - Make all WebRTC ImageContainers async. r=jesup,nical
This avoids expensive copying when compositing these frames on e10s.

MozReview-Commit-ID: LIeUhh6rjCf

--HG--
extra : rebase_source : 1919596f2cb61d25474993f209a632531d3797fa
2016-04-11 16:13:26 +02:00
Dan Glastonbury
332d6f1a7d Bug 1272422 - Part 3: Don't reset audio queue. r=jya
When resuming from suspended video, don't reset the audio queues or
audio demuxing state in MFR.

Extracted the code from ResetDemuxers() and inlined it at calling sites
as recommended by jya.

MozReview-Commit-ID: 3wpH075RrKW
2016-05-13 15:50:11 +10:00
Dan Glastonbury
a059e47876 Bug 1272422 - Part 2: Vidoe -> Video. r=cpearce
Fix spelling of video.

MozReview-Commit-ID: JGlxxHfE5tW
2016-05-13 15:50:11 +10:00
Andrea Marchesini
09e4321de2 Bug 1270451 - A Blob URL object's origin property should not be "null" for unknown Blob URLs, r=smaug 2016-05-13 07:47:06 +02:00
Ethan Tseng
7bf2d7f142 Bug 1214071 - Replace Get/RemoveCookiesForApp() with Get/RemoveCookiesWithOriginAttributes() r=ehsan
MozReview-Commit-ID: JTi1BwBVvyA
2016-01-08 17:58:56 +08:00
Ben Turner
859a0eeab3 Bug 1133540 - Add Test Coverage for the Assertion. r=khuey 2015-02-16 09:41:00 +08:00
Chris Pearce
ac79946809 Bug 1272521 - Reject Widevine keysystem requests on MacOSX 10.6. r=gerald
The Widevine CDM is crashing trying to determine the screen layout, and since
10.6 is being deprecated in August, we're not going to bother making it work.


MozReview-Commit-ID: K1k1WZqjoyy

--HG--
extra : rebase_source : 7862852195a796e6bb18ef763f1b20837801531a
2016-05-13 14:00:29 +12:00
Gerald Squelart
427e52c389 Bug 1270607 - Handle already-shutdown state in EMEDecryptor::Input - c?cpearce r=cpearce
Based on crash reports, it seems Input() is actually called after Shutdown(),
which causes a nullptr deref when trying to access mSamplesWaitingForKey's
mProxy in mSamplesWaitingForKey->WaitIfKeyNotUsable().

So like other MediaDataDecoder's we should just gracefully handle this case.

Keeping a warning like in Decrypted(), to catch this situation in future
debugging sessions.

MozReview-Commit-ID: 6qspmej2tZM

--HG--
extra : rebase_source : eed2c2879d0d43b00bb1cc426e389256cffc5ee7
2016-05-13 11:13:17 +10:00
Brian Birtles
e05007f59e Bug 1268858 part 5 - Add tests that getProperties() returns the correct result for CSS variables; r=heycam
MozReview-Commit-ID: D0t1CFaa7DZ
2016-05-13 11:56:10 +09:00
Brian Birtles
f85abe7efb Bug 1268858 part 4 - Add tests that getKeyframes() returns the correct result when CSS variables are used; r=heycam
MozReview-Commit-ID: BZrd3FAhrrf
2016-05-13 11:56:10 +09:00
Brian Birtles
16e027ce5c Bug 1268858 part 3 - Make CSS Animations store computed values; r=heycam
This allows us to represent values specified using CSS variable references in
a predictable fashion.

MozReview-Commit-ID: D9KUUhCxPW4
2016-05-13 11:56:10 +09:00
Brian Birtles
4dafc82388 Bug 1268858 part 2 - Distinguish between valid and invalid token stream values in keyframe value handling; r=heycam
In order to support CSS variable references in animation properties we need to
handle token stream values. However, we already use token stream values for two
other purposes:

* To store shorthand property values
* To store invalid longhand property values

The shorthand property value case is already handled correctly, however for
longhand values we need to distinguish between valid token streams (e.g.
values that contain variable references) and invalid values stored as token
streams.

This patch makes us do that by looking at the mPropertyID member of the
nsCSSValueTokenStream object which will be eCSSProperty_UNKNOWN for an invalid
value but will be set to something sensible for a valid token stream.


MozReview-Commit-ID: AXUaO5dopBC
2016-05-13 11:56:10 +09:00
Jean-Yves Avenard
80fb61d88f Bug 1272182: P2. Reject upfront videos for which we have no decoder. r=cpearce
Similar logic with audio tracks, but those are ignored instead.

MozReview-Commit-ID: 6p9ej66aFgD

--HG--
extra : rebase_source : 01406ed958ce9e71d886955cf728d625acc779e1
2016-05-12 12:00:21 +10:00
Jean-Yves Avenard
ee67f44c7c Bug 1272182: P1. Ignore invalid video tracks. r=cpearce
MozReview-Commit-ID: BdCdLkCMBRt

--HG--
extra : rebase_source : c83e636f9d34d909ed1f9c086eb89af1391a5adb
2016-05-12 11:42:20 +10:00
Brian Birtles
90fb66a530 Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE

--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Ralph Giles
a8bc972afe Bug 1272142 - Consider application/x-mpegurl as HLS. r=SingingTree
streambox.fr is serving .m3u8 files which this media type.
There are probably others, so accept this as well.

MozReview-Commit-ID: 1ZUan7TsBzD

--HG--
extra : rebase_source : 50530ed00e87cfe2a76ae355f7b356c6bc8adff8
2016-05-11 14:23:11 -07:00
Terrence Cole
010e6e8304 Bug 1268992 - Assert that the heap is empty after a shutdown GC; r=jonco
--HG--
extra : rebase_source : 089c7d6750bae6a53e8b952806353539faf8ff9b
2016-04-26 15:25:29 -07:00
Mike Taylor
5d6c56cc8d Bug 1262921. Part 2 - Add UseCounter telemetry for AppCache event handlers. r=mrbkap, mayhemer 2016-05-12 17:52:57 -05:00
Mike Taylor
b0b6f1fe75 Bug 1262921. Part 1 - Add UseCounter telemetry for AppCache API. r=mrbkap, mayhemer 2016-05-12 17:52:33 -05:00
Kit Cambridge
29e9262000 Bug 1272054 - Replace "PermissionDeniedError" with "NotAllowedError" in the Push API. r=mt
MozReview-Commit-ID: Bn0bE3eALj4

--HG--
extra : transplant_source : %83%A7%C1%CB%00%BD%C8%60A%09%CA%FB%02M%5DbU%AB%04C
2016-05-11 10:48:31 -07:00
Tom Tung
cbc57001d9 Bug 1271069 - caches.match with wrong name should resolve to undefined. r=bkelly 2016-05-11 09:52:48 +08:00
Kyle Huey
c85171ace9 Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj 2016-05-12 15:15:43 -07:00
Kyle Huey
c8143d07d7 Bug 1272415: Don't include task.h everywhere. r=froydnj 2016-05-12 15:15:43 -07:00
Wes Kocher
43bc24c499 Backed out 2 changesets (bug 1271585) for media test failures
Backed out changeset 3967d009efc0 (bug 1271585)
Backed out changeset 01262a32c45f (bug 1271585)
2016-05-12 14:28:52 -07:00
Randell Jesup
505d7dd5ea Bug 1271585: Remove AudioGUM thread from MediaEngine getUserMedia input r=padenot
MozReview-Commit-ID: EhaMVSq54IK
2016-05-12 15:34:11 -04:00
Jeff Muizelaar
1838c2a407 Bug 1272442. Make RootedDictionary, NullableRootedDictionary and SequenceRooter final. r=ehsan
This eliminates a bunch of clang warnings.
2016-05-12 15:01:27 -04:00
Kartikaya Gupta
d671429ba2 Bug 1266066 - Add a console warning for attempts to preventDefault() from a passive listener. r=smaug
MozReview-Commit-ID: G1nzkUxMEuE
2016-05-12 14:51:02 -04:00
Kartikaya Gupta
b867e298b4 Bug 1266066 - Ignore passive event listeners for APZ purposes. r=botond,smaug
MozReview-Commit-ID: 1F41jHsVOyY
2016-05-12 14:50:58 -04:00
Kartikaya Gupta
a412581b20 Bug 1266066 - Implement DOM support for the 'passive' event listener flag. r=smaug
MozReview-Commit-ID: EvSCDxYC7g6
2016-05-12 14:50:22 -04:00
Andrew McCreight
6c277c9ba0 Bug 1026713 - Give DOMEventTargetHelper classes proper names in the CC log. r=smaug 2016-05-12 10:54:34 -07:00
Byron Campen [:bwc]
bf8a5a183d Bug 1019579: Check remote tracks immediately on SRD success. r=drno
MozReview-Commit-ID: B1gL2RJSszN

--HG--
extra : rebase_source : 2609742ea748e4f4f10a1dd2f1313f68fdf0e07c
2016-05-11 17:02:49 -05:00
Dan Minor
de01c6c54d Bug 1263910 - Make AudioBufferAddWithScale handle unaligned buffers; r=padenot
ReverbAccumulationBuffer often produces unaligned buffers due to the way
it wraps around results. This modifies AudioBufferAddWithScale on SSE2
platforms to handle unaligned buffers by performing scalar operations
until both the input and output buffers are aligned to 16 bytes. It then
does as many vector operations as possible and switches back to scalar
operations for anything that is left over.

This could also be done within the ReverbAccumulationBuffer code but doing
it directly within the AudioNodeEngine code makes it available to other
callers in the future, at the cost of a few extra branches in the case
where everything was aligned anyway.

MozReview-Commit-ID: Ky0uIe5LMVq

--HG--
extra : rebase_source : 0c9970807262c8a13be5ad866e470d78ff6c1bb9
2016-05-10 06:37:45 -04:00
Jeff Muizelaar
6c2297a047 Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-12 10:39:43 -04:00
Ben Kelly
2518010d98 Bug 1254741 Keep service worker alive while dispatching message event. r=baku 2016-05-12 07:30:42 -07:00
Ben Kelly
ad7768df50 Bug 1271905 P2 Test Cache.put() using a Response for a shutdown origin. r=asuth 2016-05-12 07:29:20 -07:00
Ben Kelly
cab3fd4eb2 Bug 1271905 P1 Don't crash if a closed cache::ReadableStream is serialized. r=asuth 2016-05-12 07:29:20 -07:00
Sebastian Hengst
5bd0507354 Backed out changeset e8354c6f439c (bug 1272182) for missing latest updates. r=backout request by developer 2016-05-12 13:40:42 +02:00
Sebastian Hengst
266bbbd332 Backed out changeset d5eac62c7880 (bug 1272182) 2016-05-12 13:39:36 +02:00
Jean-Yves Avenard
9bc456e050 Bug 1272182: P2. Reject upfront videos for which we have no decoder. r=cpearce
Similar logic with audio tracks, but those are ignored instead.

MozReview-Commit-ID: 6p9ej66aFgD

--HG--
extra : rebase_source : 0d696fed85bc53feabfe248e9ae16c5380e70261
2016-05-12 12:00:21 +10:00
Jean-Yves Avenard
ff6e5b2b5f Bug 1272182: P1. Ignore invalid video tracks. r=cpearce
MozReview-Commit-ID: BdCdLkCMBRt

--HG--
extra : rebase_source : c83e636f9d34d909ed1f9c086eb89af1391a5adb
2016-05-12 11:42:20 +10:00
Sebastian Hengst
acc64686c7 Backed out changeset 3ff28843a8f8 (bug 1088761) for failing form-validation-reportValidity.html on OSX 10.10 debug. r=backout 2016-05-12 13:19:22 +02:00
Sebastian Hengst
bf7ef7a9a1 Backed out changeset 403d9c085544 (bug 1088761) 2016-05-12 13:19:15 +02:00
Sebastian Hengst
64bc0da725 Backed out changeset f757f585e618 (bug 1088761) 2016-05-12 13:19:08 +02:00
Jean-Yves Avenard
88d66c4a43 Bug 1271490: Use MediaPrefs to read preferences. r=cpearce
MozReview-Commit-ID: Ak5mUfGA4kc

--HG--
extra : rebase_source : 8ac6e232081bbf512354f006bd5ae78c09240924
2016-05-10 11:27:05 +10:00
Jean-Yves Avenard
d31cb0499b Bug 1206637: P2. Replace all cached preferences with MediaPrefs ones. r=cpearce
Additionally, clean up stray and unused Preferences.h header.

MozReview-Commit-ID: IcPrD2inkDE

--HG--
extra : rebase_source : c3c6e37767627db3601090c2855a3dfa98cb4368
2016-05-10 11:02:28 +10:00
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
John Dai
4971a1fd72 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
--HG--
extra : rebase_source : 027f8d8e7aa2ebbec5561dd83149b19c16814665
2016-05-11 04:26:00 +02:00
John Dai
def16ce1d5 Bug 1088761 - Support reportValidity() for form controls. r=smaug
--HG--
extra : rebase_source : 56206e694b413ad1afdd7ded5dd12ef3a0d296f1
2016-05-11 04:24:00 +02:00
John Dai
b0ac1b27cb Bug 1088761 - Remove redundant trailing spaces. r=smaug
--HG--
extra : rebase_source : aea196343737511284cbe3ea2c7fc052987a8c85
2016-05-11 04:23:00 +02:00
Alastor Wu
e24e5bdcbd Bug 1269672 - part4 : remake audio and modify test. r=jwwang.
MozReview-Commit-ID: BM691tnmVNd
2016-05-12 15:05:09 +08:00
Alastor Wu
2d52873a0d Bug 1269672 - part2 : move audible data checking from MDSM to DecodedAudioDataSink.
MozReview-Commit-ID: 8uYJ9UA2Jf2
2016-05-12 14:18:53 +08:00
Alastor Wu
5a7ed4aa14 Bug 1269672 - part1 : revert sampling rate changing of the bug1235612.
MozReview-Commit-ID: GxwaZ8qUk1z
2016-05-12 14:15:34 +08:00
Morris Tseng
8d74a6e68f Bug 1268155 - GetAsSourceSurface might return nullptr, let's handle it. r=jgilbert
MozReview-Commit-ID: 6uH9esA2PqC
2016-05-12 14:08:24 +08:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Masayuki Nakano
1663e01f1f Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
MozReview-Commit-ID: FHUaUOE5eIB

--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano
0902859a3a Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
MozReview-Commit-ID: JaE0S7BIgVF

--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Takahiro Aoyagi
75f4ef756f Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki
--HG--
extra : rebase_source : 75298d438e6c6c77113ba252c955bc084f216015
2016-05-12 13:28:31 +09:00
Masayuki Nakano
a369570d88 Backout bug 1259669 due to commited with wrong user name
--HG--
extra : rebase_source : eec830244783ded2e16bbe1e123849fbab0b3c8e
2016-05-12 13:23:43 +09:00
Phil Ringnalda
c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Kaku Kuo
99248811be Bug 1271581 - use newCurrentTime, instead of GetMediaTime() to decide the nextState; r=jwwang
MozReview-Commit-ID: K7VCHFEMxib

--HG--
extra : transplant_source : %94%AD%12%26%DFf%97Cf%06%19%B4%C0%00%9Ak%88%B3%84%BF
2016-05-10 17:53:42 +08:00
Thomas Nguyen
7a6cb90bcf Bug 1261298 - W3C referrer policy attribute is not passed to image. r=jdm
MozReview-Commit-ID: 3S642wheFu1

--HG--
extra : transplant_source : 8%5B%3Eu%40%D2%26%F4%C4%BF4%A2%EDu%0C%D1.%19%C5%86
2016-05-11 09:38:05 +08:00
JerryShih
cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
Jean-Yves Avenard
d4512b29ea Bug 1270154: P1. Forget the media element's media-resource-specific tracks when error occurs. r=jwwang
MozReview-Commit-ID: BFpw2sS7aa7

--HG--
extra : rebase_source : 70dc3a468341c57cef1baefefea66902e66b07ae
2016-05-11 21:18:46 +10:00
Seth Fowler
1678f1d3bb Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange 2016-05-11 19:27:27 -07:00
Seth Fowler
180fb0583d Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
JW Wang
1039567f4e Bug 1271517. Part 2 - remove use of FlushableTaskQueue. r=jya.
MozReview-Commit-ID: 8pkErp6UjC5
2016-05-11 11:30:57 +08:00
JW Wang
92da48deee Bug 1271517. Part 1 - remove use of FlushableTaskQueue::Flush() from FFmpegDataDecoder::Flush(). r=jya.
MozReview-Commit-ID: 2jAyXo2P6p7
2016-05-11 11:30:55 +08:00
Xidorn Quan
efc89967ed Bug 1269157 - Add Document.fullscreen attribute. r=smaug
MozReview-Commit-ID: 7mMjGoc7cvA

--HG--
extra : source : 0a5755272461d84a6a8082ca706d10b1ece84bc6
2016-05-12 10:28:56 +10:00
Xidorn Quan
adac331402 Bug 1268798 part 4 - Mark Document.fullscreenElement and fullscreenEnabled with LenientSetter. r=smaug
MozReview-Commit-ID: B2F2sCLm0G8

--HG--
extra : source : be1844a64bb5207f84692a9a2ed73c2dacb45aa9
2016-05-12 10:28:56 +10:00
Xidorn Quan
114633161f Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
MozReview-Commit-ID: 61wybyS36KE

--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Xidorn Quan
fe0ed0d00a Bug 1268798 part 2 - Add result summary for WebIDL parser test. r=khuey
MozReview-Commit-ID: DMgATDa9yXX

--HG--
extra : source : 94aba7834b4c813251b8a8714ef7a9b10b1f3603
2016-05-12 10:28:56 +10:00
Xidorn Quan
82fa51890c Bug 1268798 part 1 - Fix exception whitelist in WebIDL parser. r=khuey
MozReview-Commit-ID: 5rBXjHgQuGd

--HG--
extra : source : 0fbdf91d6cec99db9baf0646c372da0f5cb664e4
2016-05-12 10:28:56 +10:00
Matt Woodrow
96fd641cc2 Bug 881832 - Fix test_bug602962.xul to not assume that resizes have finished flushing when the resize event fires. r=tnikkel
--HG--
extra : rebase_source : 435b12ae6f61e63d2f0cb421a7a06e50ed2f2e14
2016-05-12 12:09:50 +12:00
Mats Palmgren
e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Dan Glastonbury
526fdd85f6 Bug 1224973 - Part 5: Implement suspend decoding for background video. r=cpearce,jwwang,jya
Implemented by short-circuiting calls to RequestVideoData in MDSM so no
frames are decoded. Resuming playback when video moves to foreground by
using the SeekTask/SeekJob/Seek in MDSM with result of GetMediaTime().

Special consideration is made to only seek the video part of Seek() to
remove an audible glitch in the audio playback when the video becomes
visible again.

MozReview-Commit-ID: 7YFDTanslXu
2016-05-12 09:54:15 +10:00
Dan Glastonbury
26d0966736 Bug 1224973 - Part 4: Pref media.suspend-bkgnd-video.enabled. r=cpearce,jwwang
Pref to control feature. Enabled at request of :cpearce.

MozReview-Commit-ID: 7Ci7mNqugOh
2016-05-12 09:54:00 +10:00
Dan Glastonbury
78730160f5 Bug 1224973 - Part 3: Plumb element visibility into MDSM. r=jya,jwwang
change MediaDecoder::mIsVisible to be a Canonical<bool> and plumb through to
the MediaDecoderStateMachine.  This will be used to trigger suspending the
decoding of video frames.

MozReview-Commit-ID: F3Dpf0ogE7c
2016-05-12 09:53:51 +10:00
Dan Glastonbury
9f98a19f8c Bug 1224973 - Part 2: Set MediaDecoder visibility via NotifyOwnerActivityChanged. r=cpearce,jwwang
Make MediaDecoder::SetElementVisibility private.

MozReview-Commit-ID: GjCuSNPalkE
2016-05-12 09:53:02 +10:00
Dan Glastonbury
d4be2cf480 Bug 1224973 - Part 1: Remove MediaDecoderOwner->IsHidden(). r=cpearce,jwwang
Used only by dormant mode calculations, remove IsHidden() and replace with
mIsVisible in MediaDecoder.

MozReview-Commit-ID: CksjiXsbsrb
2016-05-12 09:52:43 +10:00
Jeff Gilbert
80f726ea0b Bug 1271478 - Implement WebGLContextCreationError. - r=jrmuizel,smaug,mtseng 2016-05-11 16:45:43 -07:00
David Keeler
3a4d7b486c bug 883718 - remove nsIEntropyCollector and implementation r=mgoodwin,mrbkap
The rationale behind nsIEntropyCollector was to supplement NSS' source of
entropy with randomness from mouse move events. This obviously doesn't work on
platforms without a mouse (e.g. mobile platforms). Furthermore, as NSS seeds its
random number generator with robust randomness from the operating system, this
is unnecessary anyway. The primary concern is that initialization of the random
number generator must happen after forking, which is exactly what we do with the
child process in e10s mode.

MozReview-Commit-ID: GYQDElSCZy0

--HG--
extra : rebase_source : 6273a78203121c4d4ddf3ed97451f393ceef4b88
2016-05-10 16:24:44 -07:00
Kyle Huey
406bdf1bee Bug 1272066: Slap the compiler. r=khuey 2016-05-11 11:46:36 -07:00
Kyle Huey
b6e81a079e Bug 1267819: Revalidate the state of the world after processing control runnables. r=baku 2016-05-11 11:45:58 -07:00
Wes Kocher
5949ec87d1 Bug 1272066 - Try to stop assertions until a better fix can land rs=khuey
--HG--
extra : rebase_source : 188bad42f87f23026315146d059fc36fbe07063c
2016-05-11 11:37:59 -07:00
Wes Kocher
5c9f141313 Backed out changeset af74581564bc (bug 711886) for wpt bustage 2016-05-11 10:28:53 -07:00
Jason Duell
d3772280b8 Bug 711886. Fail Websocket if server replies with non-matching subprotocol r=mcmanus 2016-05-11 08:50:13 -07:00
Ben Kelly
23a521f80e Bug 1271493 Dispatch fetch control runnable even in opt builds. r=mccr8 2016-05-11 07:42:05 -07:00
Neil Deakin
780d816c25 Bug 1270277, HasDataMatchingFlavors should only return true for text/unicode, r=snorp 2016-05-11 10:04:19 -04:00
Neil Deakin
a4ee9d8df2 Bug 1249522, when a file is present, only specify file type, r=smaug 2016-05-11 10:04:19 -04:00
Neil Deakin
405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Brian Birtles
e518a8a1ed Bug 1263488 - Make AnimValuesStyleRule re-use PropertyStyleAnimationValuePair; r=hiro
Rather than defining the same type redundantly but with a name that overlaps
with a struct in KeyframeEffect.h (that has a different type).

MozReview-Commit-ID: 3MbvXWL8XlL
2016-05-11 16:43:32 +09:00
Andrea Marchesini
067604a67d Bug 1268253 - MainThreadStopSyncLoopRunnable doesn't need to be exposed, r=khuey 2016-05-11 08:05:38 +02:00
Andrea Marchesini
59521d1cef Bug 1268252 - XHR doesn't need to use MainThreadStopSyncLoopRunnable, r=khuey 2016-05-11 08:05:08 +02:00
Jean-Yves Avenard
2184cba811 Bug 1266260: P3. Limit maximum sampling rate to some sane value. r=gerald
MozReview-Commit-ID: 5ulAivVkec5

--HG--
extra : rebase_source : 2aa4f50a00b6fbd75acfcdd30f965c12cb311852
2016-05-11 12:15:55 +02:00
Jean-Yves Avenard
bf129486d9 Bug 1266260: P2. Check for OOM. r=gerald
Additionally, indicate in clearer fashion where setting length can't fail.

MozReview-Commit-ID: LSZtCclqhK1

--HG--
extra : rebase_source : 2dd254649809bc534c1dfc78e33ce3f46fae323c
2016-05-11 12:15:36 +02:00