Commit Graph

60543 Commits

Author SHA1 Message Date
Chris Pearce
756932ea4e Bug 1341894 - Correct encryption subsamples in AVCC -> AnnexB conversion. r=jya
This menas we can have GMPVideoDecoder's AVCC -> AnnexB conversion done by the H264Converter, and
simplify the code in WidevineVideoDecoder.

MozReview-Commit-ID: 3HT5VXth6LL

--HG--
extra : rebase_source : b840489edafa5dc981ba44f722d92083a40e34cd
2017-02-23 11:00:28 +13:00
Daosheng Mu
73147a8a4c Bug 1323328 - Part 4: Delay create VRSystemManagerPuppet for making it only be run for tests; r=kip
MozReview-Commit-ID: 6RxFheaP1sg

--HG--
extra : rebase_source : 6ceccf9068b8d38e94890f5543c512d5b40639bf
2017-03-04 01:27:22 +08:00
Daosheng Mu
d7b6a3ff79 Bug 1323328 - Part 3: Add VR display request present mochitest; r=kip
MozReview-Commit-ID: 13WuFhUFcTo

--HG--
extra : rebase_source : 00d5c0f36f3550c19367c4a9b6882c10175a0862
2017-03-02 00:00:23 +08:00
Daosheng Mu
6021ede12b Bug 1323328 - Part 1: Implement VRServiceTest for helping insert VR test data; r=baku,kip
MozReview-Commit-ID: 9IoUL6MEVGj

--HG--
extra : rebase_source : 7eb854436f0424120e8dbda550c5cb4d922ae277
2017-03-01 18:33:28 +08:00
Sebastian Hengst
d936fbcd20 Backed out changeset 2f9561ccd777 (bug 1342927) for asserting at chrome://browser/content/tabbrowser.xml:3995:25 e.g. in browser/browser_menu_item_01.js. r=backout 2017-03-04 11:50:53 +01:00
Sebastian Hengst
09e761d616 Backed out changeset 7d79c8090f75 (bug 1342927) 2017-03-04 11:49:32 +01:00
Alastor Wu
f973d1e5cf Bug 1343465 - part1 : check audio track to decide the audible state when the media element was muted. r=baku
If the media starts after muting the tab, IsOwnerAudible() would always return
"eNotAudible". It causes that the "play tab" icon can't be displayed because we
only show the "play tab" icon for the "eMaybeAudible" or "eAudible".

We should check whether owner owns the audio track to decide the return value.

MozReview-Commit-ID: DGwkArx0a4R

--HG--
extra : rebase_source : 920968acc744593f4ef383be4068352233c74101
2017-03-04 16:51:12 +08:00
Kearwood Gilbert
5912cbf416 Bug 1293793 - Ensure VRFrameData.timestamp is a monotonically increasing value r=daoshengmu
- Oculus and OSVR VRFrameData.timestamp values were already returning correct
  timestamps using their respective API's timestamp functions.
- OpenVR is now using timestamp values returned by the OpenVR API.
- A pseudo-random base for VRFrameData.timestamp has been implemented
  in order to avoid leaking details related to how long the user has
  been using their VR headset before hitting a page.
- More details on timestamp base within code comments...

MozReview-Commit-ID: 7VdiRn7l8Rb

--HG--
extra : rebase_source : cde5bc9de07cd120294ccd4ef502af030da9d03c
2017-03-03 15:17:19 -08:00
Mike Conley
60a995f719 Bug 1342927 - Add a hidden pref to disable force painting of tabs so that browser_tabSpinnerProbe.js can pass. r=billm
MozReview-Commit-ID: 4q2dSBmvVV9

--HG--
extra : rebase_source : d0aa3ce396cb143061b66b1ec0529f19ed415d8e
2017-03-01 15:36:51 -05:00
Mike Conley
bae06d41c9 Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm
MozReview-Commit-ID: D8vgvQ3MLJN

--HG--
extra : rebase_source : 29192f938b57018eb947cb9d55a3ac3ab8621e76
2017-02-28 17:22:02 -05:00
Wes Kocher
1b29a33fce Merge m-c to autoland, a=merge
MozReview-Commit-ID: K0Q4b2wzvlJ
2017-03-03 17:29:54 -08:00
Wes Kocher
c4f1f63f47 Merge autoland to central, a=merge
MozReview-Commit-ID: tSEg2GfeWi
2017-03-03 17:27:33 -08:00
Sebastian Hengst
83ba9a1193 Backed out changeset 7b38f4123214 (bug 1342927) for asserting @chrome://browser/content/tabbrowser.xml:3995:25. r=backout 2017-03-04 00:21:38 +01:00
Sebastian Hengst
989ceac163 Backed out changeset bba8780c5312 (bug 1342927) 2017-03-04 00:20:35 +01:00
Carsten "Tomcat" Book
45d42cf9c7 Merge mozilla-central to autoland 2017-03-03 13:07:34 +01:00
Carsten "Tomcat" Book
cf269a43bd merge mozilla-inbound to mozilla-central a=merge 2017-03-03 13:03:48 +01:00
Carsten "Tomcat" Book
e9aad6d3f5 Backed out changeset 9c1478a17bf6 (bug 1343749) for frequent timeouts in mda tests 2017-03-03 10:39:21 +01:00
Carsten "Tomcat" Book
954f2dc068 Backed out changeset 04d6b4518dbf (bug 1343749) 2017-03-03 10:38:53 +01:00
JW Wang
57506c3907 Bug 1343787. Part 2 - move the Register() calls to Load(). r=gerald
MozReview-Commit-ID: 2jjZujE1qH8

--HG--
extra : rebase_source : f787346a5631acceb27d88e352d67f66e8053bf9
extra : source : 2d3a5e31f306ab2109f38e070a9881ef2affba60
2017-03-02 18:03:20 +08:00
Carsten "Tomcat" Book
06813a3df9 Merge mozilla-central to mozilla-inbound 2017-03-03 13:06:37 +01:00
JW Wang
d6b69e2a1d Bug 1343787. Part 1 - allow MediaShutdownManager::Register() to fail. r=gerald
MozReview-Commit-ID: 2pnPnq4NlXN

--HG--
extra : rebase_source : c24c38ff5bad0902cc454e606a62e4d2bf60a602
extra : source : 2fe2c0b335ba6d1c17220c0bcabe645d771f77ac
2017-03-02 16:08:28 +08:00
JW Wang
3c60a97e1f Bug 1343458 - Label runnables in dom/media/VideoFrameContainer.cpp. r=cpearce
MozReview-Commit-ID: D0QTbA4UwAZ

--HG--
extra : rebase_source : fa35324fc7e37b54f05f1ddb864a19c51a6cbec9
extra : intermediate-source : e48b7e6127698005749086d8ee9d94ec4fb39ae6
extra : source : 6b8a2a5d9984828d60b2777b2fa5f305340e3219
2017-03-01 14:49:37 +08:00
Kearwood Gilbert
91dea74162 Bug 1343666 - Prevent crash on shutdown due to assertion in VRManagerChild::Get() r=daoshengmu
- Updated VREventObserver::DisconnectFromOwner() to call VRManagerChild::IsCreated()
  before calling the accessor VRManageRchild::Get() containing the assertion.

MozReview-Commit-ID: Ezy08m6V4HV

--HG--
extra : rebase_source : c6631dafa496cb03333ed417c14f1ff1692c8519
2017-03-02 13:07:24 -08:00
JW Wang
6b008ac4cf Bug 1341200. Part 10 - streamline DecoderData::ShutdownDecoder() so it feels like a sync function and MFR doesn't need to explicitly wait for flush/shutdown to complete before creating new decoders. r=jya
MozReview-Commit-ID: F4tf1f7O89U

--HG--
extra : rebase_source : ecd394c118812ee0419fc5307a63dfa62b82cddc
extra : intermediate-source : 7868b87098521a9e843ec4a154681391acf389ca
extra : source : 1cf5946fbd3a309d152ee8e785cafd1e3a96f1b6
2017-02-27 09:56:36 +08:00
JW Wang
8420ad6d55 Bug 1341200. Part 9 - remove unused mShuttingDown. r=jya
MozReview-Commit-ID: 8OWgOB07rEP

--HG--
extra : rebase_source : edc89b4ba3809409ddf3aa71d1c027f6bdbdb6c7
extra : intermediate-source : 71377f45a8ae845332f31761553dad1f3d2d7f85
extra : source : 5d1b66fb3a4b02aa4bd0405e03d199bbafaafb1e
2017-02-27 00:17:16 +08:00
JW Wang
e8e4792c53 Bug 1341200. Part 8 - let DecoderData::ShutdownDecoder() handle shutdown in the middle of flush. r=jya
MozReview-Commit-ID: FW23TFQLStR

--HG--
extra : rebase_source : 9d4e46d120f2ecf6a9d51f38399bf559b56bcc32
extra : intermediate-source : 94eba150cc566811a9324bfefc08ff67de836bad
extra : source : 772bcac7acb4a2c8f146c9ade9298fb16b75ef0e
2017-02-26 22:51:22 +08:00
JW Wang
8f139e4859 Bug 1341200. Part 7 - merge ShutdownDecoderWithPromise() and ShutdownDecoder(). r=jya
MozReview-Commit-ID: 9YRwPJGqrhq

--HG--
extra : rebase_source : 01bc1131ae5443b794369d35c524d7a84aa6ab59
extra : intermediate-source : b46551e3810b5695e9ffd9f13858047ae77b0373
extra : source : d76c075fc8c0a3fa9d1e24aecfdb226b9ef232c8
2017-02-25 07:59:53 +08:00
JW Wang
9b1586e228 Bug 1341200. Part 6 - let ShutdownDecoderWithPromise() return void by tracking the shutdown promise. r=jya
MozReview-Commit-ID: GIYdLXZYEyk

--HG--
extra : rebase_source : 1e3f48b3bdc351e64b8a9820c8bed4734f7de912
extra : intermediate-source : e2807e0c4457e703161418113efbcce67ca89511
extra : source : 90a3f8649308d65e5da6e931f914c024fa92e66e
2017-02-25 07:49:29 +08:00
JW Wang
f0f62f9c3c Bug 1341200. Part 5 - move the definition to .cpp as they will access ShutdownPromisePool in next patches. r=jya
MozReview-Commit-ID: 5Tvh1t4KyoV

--HG--
extra : rebase_source : e497b47e7d7497726b7d385e459ba5b2d982078b
extra : intermediate-source : 8f7c36f8638865781ff523d1c18c34f51bb96d9d
extra : source : f71a8765260b668c6580cd0e58af4c11a1a2918b
2017-02-24 17:27:42 +08:00
JW Wang
f581bfb525 Bug 1341200. Part 4 - remove the check that is unnecessary. r=jya
MozReview-Commit-ID: FC0IkPE4EcR

--HG--
extra : rebase_source : 571a0da04f8687260ef311f79d2d6aff07620e2a
extra : intermediate-source : 8152a19672b5023d279ccdb509c3cf731e97fe7c
extra : source : a54c526d54569dabbd326e44c0930fa66e30ad6c
2017-02-24 17:24:41 +08:00
JW Wang
e2351feb40 Bug 1341200. Part 3 - replace mShutdownRequest with a bool as P2. r=jya
MozReview-Commit-ID: ERERt0ZyvkC

--HG--
extra : rebase_source : a90adf0959c1458fd1ce8dd9c6a4ab52a45ec616
extra : intermediate-source : 0a68fd48e448382dcc4648ca30dd684e108eaf39
extra : source : 09844aff616c3b7ccd73fa01bcdc14d3529e35af
2017-02-24 17:19:12 +08:00
JW Wang
f903aff319 Bug 1341200. Part 2 - replace mFlushRequest with a bool for mFlushRequest.Disconnect() is never used and a bool is sufficient to do the job. r=jya
MozReview-Commit-ID: GFnSvunqtGq

--HG--
extra : rebase_source : 81b168157e04c455d8876c8e2504fad79b889cb8
extra : intermediate-source : aa57748660c8b5858c64ae07e77a60a5114a33fc
extra : source : 20371ccdf3c1f19ae2836e693a8b669a40f9e7a4
2017-02-24 17:04:32 +08:00
Xidorn Quan
3357d0d06e Bug 1344102 - Add a telemetry for xml:base on styled element. r=bz
MozReview-Commit-ID: 9vqlxDi5KB8

--HG--
extra : rebase_source : 70598eecff0c25e82d25a9bf9f2e36d26bf35648
2017-03-03 14:32:11 +11:00
JW Wang
603ff013e0 Bug 1343428 - Label runnables in dom/media/MediaDecoder.cpp. r=gerald
MozReview-Commit-ID: Jv6iXO9ZxZH

--HG--
extra : rebase_source : 1bb7d9adade46dcfc982956b2bf25ddd9901ae25
extra : source : 8e66c8373a28678e500d831993bf7661c84a34ae
2017-03-01 11:36:17 +08:00
JW Wang
93af428900 Bug 1343433 - Label runnables in dom/media/MediaFormatReader.cpp. r=jya
MozReview-Commit-ID: 6BWmq4m18va

--HG--
extra : rebase_source : 98afbe450076333e5b31fcfc6754e50455b3e58b
extra : source : 08dd512f362d7275e0f729016ba2f3df2d2543a4
2017-03-01 11:58:39 +08:00
JW Wang
d6ee299185 Bug 1343732 - use SystemGroup::Dispatch() in ~AutoTaskQueue(). r=jya
MozReview-Commit-ID: IWFs5e8U7VQ

--HG--
extra : rebase_source : e71ae9b777ad8fd421d5a66cefc0086b28af8967
extra : source : 221546a238788a744703380c6023efdf741c48cb
2017-03-01 13:02:29 +08:00
JW Wang
7187ccc58f Bug 1343749. Part 2 - remove the calls to SimpleTest.requestLongerTimeout() when MediaTestManager is used. r=jya
MozReview-Commit-ID: 4wCoA5C70Pu

--HG--
extra : rebase_source : 5bfd69766deae653382854c821e191f169e861c5
2017-03-02 15:00:04 +08:00
JW Wang
d004dc1ef7 Bug 1343749. Part 1 - Let MediaTestManager manage timeout of each test. r=jya
MozReview-Commit-ID: HocDk9FCi6Q

--HG--
extra : rebase_source : f88280fc3d11e14275c5d41c5607cb6c77d90da5
2017-03-02 12:44:40 +08:00
Jean-Yves Avenard
88913538dd Bug 1313548: P3. Return early of we're not longer waiting for a key. r=gerald
The next run of Update would have cleared the mWaitingForKey flag, may as well do it early.

MozReview-Commit-ID: DXiqSDAxnnz

--HG--
extra : rebase_source : ecdaaab1560d3e4637bbc05689cb9ab91294ae7c
2017-02-24 15:00:39 +01:00
Jean-Yves Avenard
e1903d15ee Bug 1313548: P2. Add additional information in dump data. r=gerald
MozReview-Commit-ID: 1OndEp1ZQ9u

--HG--
extra : rebase_source : c7567123a8087fbd8ce0af91932570e7e1b072be
2017-02-23 14:43:01 +01:00
Jean-Yves Avenard
2a41ec036c Bug 1313548: P1. Always resolve waiting promise, when clearing waitforkey. r=gerald
MozReview-Commit-ID: 6xu8Rcn9WMO

--HG--
extra : rebase_source : 54f99f2d4fc6370ee64a6e3dc0bec69f5edc9085
2017-02-23 14:10:12 +01:00
Wes Kocher
901a8c09c1 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AZeTEvGhLd1
2017-03-02 15:03:44 -08:00
Wes Kocher
a9419110b3 Backed out 2 changesets (bug 1334975, bug 1335539) for merge conflicts a=backout
Backed out changeset 429ff39f3d28 (bug 1335539)
Backed out changeset eea959a93ce4 (bug 1334975)

MozReview-Commit-ID: GlvA0B0vHRT
2017-03-02 14:57:21 -08:00
Ben Kelly
9b9b60cfbf Bug 1343874 Remove unnecessary virtual keyword from some nsGlobalWindow methods. r=smaug 2017-03-02 11:36:36 -05:00
Ben Kelly
14680016ee Bug 1343877 Don't allow an extra timer callback beyond configured pref value. r=smaug 2017-03-02 11:33:11 -05:00
Andrea Marchesini
b54dc840c3 Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-02 17:15:29 +01:00
Ursula Sarracini
6b1858e254 Bug 1340181 - Hide Activity Stream URL in URLbar r=fkiefer,mconley
MozReview-Commit-ID: F0P5tn2wyG

--HG--
extra : rebase_source : a9f766913b8340e12a4f526dc741e8ed752e6acf
2017-02-22 13:18:09 -05:00
JW Wang
4a63e253b1 Bug 1341200. Part 1 - satisfy least privilege principle by capturing |mSamplesWaitingForKey| instead of |this|. r=jya
MozReview-Commit-ID: A12HdnP8Vbn

--HG--
extra : rebase_source : 67652f72c1bf0644523c6fc122b98e60e406b0c9
extra : intermediate-source : 340ac9187c2771b3a8cc97eafbb4e8ab7da0f226
extra : source : 8f839ee5b13e06ee1b8cf8c4e520865592a953b6
2017-02-22 16:06:14 +08:00
Carsten "Tomcat" Book
614b0dd569 Merge mozilla-central to mozilla-inbound 2017-03-02 14:06:01 +01:00
Carsten "Tomcat" Book
4a4777d1aa merge mozilla-inbound to mozilla-central a=merge 2017-03-02 14:02:48 +01:00
Iris Hsiao
72a190810a Backed out changeset 588c44c7a966 (bug 1058040)
CLOSED TREE

--HG--
extra : amend_source : 722708bf80daf7d52f18400e4924a77d2aca1b5c
2017-03-02 11:24:33 +08:00
Iris Hsiao
962ca20929 Backed out changeset 87bf65872b56 (bug 1341959) for xpcshell failures 2017-03-02 11:53:44 +08:00
Chris Pearce
2a8e086d7d Bug 1337778 - Use counter for decryptor ID instead of IPDL actor Id. r=gerald
The work I did in bug 1306314 seems to have either regressed or never worked
properly for multiple CDM same origin processes. I'd guess the decryptor IPDL
protocol actor ID must not be as unique as I thought. So if we just use a
counter managed by the GMPDecrytorChild, we'll get a per CDM unique ID, which
is sufficient.

MozReview-Commit-ID: KSh72ptX5fn

--HG--
extra : rebase_source : 9dd558aa9b2e9154e70fc328009b79e1daa884b2
2017-03-01 17:19:08 +13:00
Brad Werth
f210879e4b Bug 1343978 Part 1: Change ClientRectsAndTexts usage of DOMStringList to Sequence<DOMString>. r=smaug
MozReview-Commit-ID: 8mKxdPTq4Ej

--HG--
extra : rebase_source : bd2fb4e9e9c1962f4a678bbb42816e5cfb738fa0
2017-03-02 13:13:12 -08:00
Milan Sreckovic
3298568334 Bug 1341959: Part 2. Check if WebGL2 is blocked before creating it. r=jgilbert
MozReview-Commit-ID: Div1umXOMV

--HG--
extra : rebase_source : 6557d49dfcb7c55c7ce4bfc7ba7d7a22396443fc
2017-03-02 15:48:12 -05:00
Andrea Marchesini
4d21d3a57a Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
Milan Sreckovic
96d364e756 Bug 1341959: Part 2. Check if WebGL2 is blocked before creating it. r=jgilbert
MozReview-Commit-ID: 7ZsVKpP5V6j

--HG--
extra : rebase_source : f1b340ab87a1d65798f7bb76a62cd3584a9baa32
2017-02-24 14:14:46 -05:00
karo
3c2b014e09 Bug 1343409 - HTMLMediaElement::MozRequestDebugInfo returns EMEInfo. r=cpearce
MozReview-Commit-ID: 1iQP3OJmwdP

--HG--
extra : rebase_source : 171155ab5e58cac8cc9db9109a5c2fc88b1930d3
2017-03-01 12:56:29 +13:00
Wes Kocher
9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Alfredo.Yang
69731f92d5 Bug 1341967 - remove MOZ_RUST_MP4PARSE. r=kinetik
MozReview-Commit-ID: SgTlIo8wEi

--HG--
extra : rebase_source : 263a6cfcf50ee3582f3dc1bfc43d4fa0dcc00800
2017-03-01 14:44:42 +08:00
Mantaroh Yoshinaga
e255a0466a Bug 1343415 - Add test for SMIL with xmil:href attribute which specifying outer element. r=birtles
MozReview-Commit-ID: BeyWbdYCaxe

--HG--
extra : rebase_source : b04b0858b064323a482fc687e33a845b78f7801e
2017-03-01 16:42:29 +09:00
Markus Stange
fa5619d298 Bug 1343436 - Fix filter result for baseFrequency="0" type="fractalNoise". r=longsonr+218550
MozReview-Commit-ID: LLAr9ifux98

--HG--
extra : rebase_source : 7e70fa361b2377ba180f96862d19ce22a2725438
2017-03-01 10:03:15 -05:00
Sebastian Hengst
53a7c500b2 Backed out changeset a6db4cae9990 (bug 1313326) for failing browser_UsageTelemetry_content.js on Linux x64 asan and debug (at least). r=backout on a CLOSED TREE 2017-03-01 19:48:09 +01:00
Ben Kelly
50f268f7ad Bug 1343308 P1 Make Clients.matchAll() only return Clients controlled by the current service worker. r=baku 2017-03-01 13:08:54 -05:00
Georg Fritzsche
5094a3ae8d Bug 1313326 - Part 1: Support recording events in child processes. r=dexter, r=froydnj 2017-02-14 14:43:51 +01:00
Nico Grunbaum
c157cf2acb Bug 1337525 - add mochitests for inbound-rtp and outbound-rtp stats; r=jib
MozReview-Commit-ID: 1RX4DsBEkQA

--HG--
extra : rebase_source : 1086ac95b4bc92dfbadb9cf0209ff55292cde0ce
2017-02-07 13:46:55 -08:00
Alastor Wu
20af818a6f Bug 1338137 - part2 : remove function IsServiceStarted(). r=baku
The reason we introduced the IsServiceStarted(), check bug1338466 comment5 for
more details.

The patch1 introduces more robust way to check the alive media component, so
we can remove IsServiceStarted().

MozReview-Commit-ID: LIma8hZTuhA

--HG--
extra : rebase_source : 4687ef41cc765f4ffeb97aeac63b727897456167
2017-03-04 01:14:28 +08:00
Alastor Wu
77053f1035 Bug 1338137 - part1 : ref media content when the media element bind to tree. r=baku
In bug1319771, we found that the tab would become visible unexpectly in short
period in some situations. We don't want to resume the tab in this kind of
situation, so we check whether there is any alive media component in the tab
using IsServiceStarted(). However, since we have lots different ways to create
the service, this function is not accurate at all.

Therefore, we can add media element directly to the document when it binds to
tree so that we can really know whether there is any alive media component.

MozReview-Commit-ID: FvZFg91IqgE

--HG--
extra : rebase_source : 43c2460f6e9a39d44bf2ca1638c992a0e27b196c
2017-03-04 01:14:24 +08:00
Mike Conley
18c1bb6eaa Bug 1342927 - Add a hidden pref to disable force painting of tabs so that browser_tabSpinnerProbe.js can pass. r=billm
MozReview-Commit-ID: 4q2dSBmvVV9

--HG--
extra : rebase_source : 70fcc277918498fa71046b9d57419781be55bcf8
2017-03-01 15:36:51 -05:00
Mike Conley
7e54395fcb Bug 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm
MozReview-Commit-ID: D8vgvQ3MLJN

--HG--
extra : rebase_source : 29192f938b57018eb947cb9d55a3ac3ab8621e76
2017-02-28 17:22:02 -05:00
Wes Kocher
bd0bfddf8e Merge m-c to inbound, a=merge
MozReview-Commit-ID: Fypud50dqYw
2017-03-02 15:03:11 -08:00
Randell Jesup
6ed9899667 Bug 1337777: Add test for SDP answer without a=ssrc r=drno
MozReview-Commit-ID: 9YKjoeDSPFx
2017-03-02 16:36:37 -05:00
Daniel Holbert
95a650ec1b Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
  find . -name "*.cpp" -exec fromdos {} \; && \
  hg revert -C gfx/angle \
               gfx/sfntly \
               media/webrtc \
               media/libstagefright \
               media/openmax_il \
               other-licenses

MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Andrea Marchesini
d8051391f9 Bug 1331580 - Construct URLSearchParams from record<>, r=qdot 2017-03-02 21:48:51 +01:00
Randell Jesup
f709468851 Bug 1337777: if no receive-SSRC was signaled for video, on the first packet reset the VideoReceiveStream r=bwc
Note that this stumbles over the use of the PCHandle as a global when
initializing the OpenH264 gmp plugin.

MozReview-Commit-ID: 7GEvIwwsitk
2017-03-02 15:11:22 -05:00
Daniel Holbert
8bc9305fd4 Bug 1343665 part 1: Remove all mentions of about:config pref "layout.css.object-fit-and-position.enabled" from source files. r=mats
MozReview-Commit-ID: 1mHzzU7YVoL
2017-03-02 10:04:00 -08:00
bechen
ea5fd5a6e9 Bug 1307710 - part3: fix ProcessingInstruction node for testcase. r=rillian
MozReview-Commit-ID: 9Wc98cOVjHD

--HG--
extra : rebase_source : 91e8c85f2372bba59af4685f1905301f8d691410
2017-03-03 11:34:33 +08:00
bechen
2210d5e1e8 Bug 1307710 - part2: webvtt cue voice span and language span need annotation. r=rillian
MozReview-Commit-ID: FqUMAt436ZP

--HG--
extra : rebase_source : ee75d2e5ac518cb8e5f8f3735ef54359e4a5db5b
2017-03-01 15:16:51 +08:00
bechen
5527619fbb Bug 1307710 - part1: Return Documentfragment instead of div for convertCueToDOMTree. r=rillian,smaug
MozReview-Commit-ID: KV1MNaMhNOG

--HG--
extra : rebase_source : 4ef3b2565cc890a9e7ffc230b61aef3d24c58568
2017-03-01 15:01:52 +08:00
Jonathan Watt
5680a225ba Bug 1058040, part 12 - Make SVGImageContext's ctor's aViewportSize parameter optional. r=dholbert 2017-01-27 02:22:43 +00:00
Wes Kocher
8d2ba463c0 Backed out changeset bfc13d436dd4 (bug 1338328) for browser_context_menu_autocomplete_interaction.js failures a=backout
MozReview-Commit-ID: DfOAidZWnWF
2017-03-01 15:38:21 -08:00
Trevor Saunders
e8562200c5 bug 1340579 - look up this DocAccessibleParent in live docs instead of using this in DocAccessibleParent::Destroy() r=davidb 2017-03-01 17:23:48 -05:00
Mats Palmgren
6ef6efaea3 Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead.  r=tn

MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren
d13aaf9ce0 Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Michael Layzell
c689bdaa35 Bug 1332783 - Null out privateWin and testBrowser, r=ehsan
MozReview-Commit-ID: KVi1okXUqGV
2017-02-09 11:07:11 -05:00
Michael Layzell
2f4b475ed1 Bug 1338328 - Change error type for custom-clipdata mime type, and add test for correct exception type, r=baku
MozReview-Commit-ID: 9qwwXxWgWrO
2017-03-01 15:15:36 -05:00
Jon Coppeard
82cbd987a2 Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Stone Shih
b7fd0755d6 Bug 1331551 - [Pointer Event] Turn on PointerEvent preference on Windows nightly. r=smaug 2017-01-17 14:16:24 +08:00
Ho-Pang Hsu
e4dd777d56 Bug 1175163 - Part 1: Migrate claim_fetch_worker to wpt. r=bkelly 2017-03-01 11:30:15 +08:00
Carsten "Tomcat" Book
b43c07a10c Merge mozilla-central to mozilla-inbound 2017-03-01 16:39:27 +01:00
Ben Kelly
26f74266ea Bug 1341678 P1 Make Request::Constructor() expect over-writing a copied body with an initializer. r=asuth 2017-03-01 09:59:01 -05:00
Carsten "Tomcat" Book
3b3f4c17a2 merge mozilla-inbound to mozilla-central a=merge 2017-03-01 11:40:59 +01:00
Dylan Roeh
efb7f9566e Bug 1261894 - Update InitDeviceMotionEvent to handle high-res timestamps. r=smaug 2017-02-28 16:50:15 -06:00
Andrea Marchesini
9d68a92efe Bug 1298823 - Make Request constructor throw less often, r=qdot 2017-03-01 11:44:38 +01:00
Ben Kelly
d03573312b Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug 2017-02-28 22:12:27 -05:00
Ben Kelly
68348a54d1 Bug 1266747 P2 Track last focus time on ServiceWorkerClient. r=smaug 2017-02-28 22:12:27 -05:00
Ben Kelly
763b8b1bcd Bug 1266747 P1 Track the last focus time on the nsIDocument. r=smaug 2017-02-28 22:12:27 -05:00
Wes Kocher
c12df814fe Backed out 2 changesets (bug 1298823) for fetch/request failures a=backout
Backed out changeset f2606ea1b31d (bug 1298823)
Backed out changeset 7a11dda7af71 (bug 1298823)

MozReview-Commit-ID: C3488SlyhiX
2017-02-28 17:53:30 -08:00
Wes Kocher
63a80f0589 Backed out 2 changesets (bug 1341678) under suspicion of causing wpt failures in test_fetch_event.html a=backout
Backed out changeset 87ea3256dd8b (bug 1341678)
Backed out changeset ccc9257cda4d (bug 1341678)

MozReview-Commit-ID: KqHfX6DZuwf
2017-02-28 17:10:23 -08:00
Sebastian Hengst
a0902d9855 Backed out changeset d19ad1c1c214 (bug 1266747) for failing dom/workers/test/serviceworkers/test_claim.html. r=backout 2017-02-28 18:56:14 +01:00
Sebastian Hengst
4a1eb5e2a6 Backed out changeset e54c8d21e4c1 (bug 1266747) 2017-02-28 18:54:24 +01:00
Sebastian Hengst
78abfe9e2f Backed out changeset 274999e28c07 (bug 1266747) 2017-02-28 18:54:20 +01:00
Andrea Marchesini
f4d88a4bee Bug 1298823 - Make Request constructor throw less often, r=qdot 2017-02-28 18:53:53 +01:00
Boris Zbarsky
d2afbdd254 Bug 1342197 part 4. Move GetSelectionRange from nsTextControlFrame to the editor state. r=ehsan
At this point, all this method does is ensure editor initialization and then ask
the editor state for various information.  Let's cut out the middleman.

MozReview-Commit-ID: p491umScJO
2017-02-28 12:41:37 -05:00
Boris Zbarsky
e8df2552ae Bug 1342197 part 3. Speed up nsContentUtils::GetSelectionInTextControl a bit by removing some refcounting and virtual calls. r=ehsan
MozReview-Commit-ID: GuBVki5QFwz
2017-02-28 12:41:37 -05:00
Boris Zbarsky
12dc2641c8 Bug 1342197 part 1. Change nsITextControlElement::GetRootEditorNode to return Element*. r=ehsan
MozReview-Commit-ID: BmTw3rAzCuc
2017-02-28 12:41:37 -05:00
Boris Zbarsky
445459b942 Bug 1342513. Set up a scripted caller override in AutoEntryScript. r=bholley
Otherwise if we have no explicit incumbent script we can end up getting an
incumbent off the script stack _above_ the AutoEntryScript, which is wrong.

MozReview-Commit-ID: LG3540tgRQ
2017-02-28 12:41:35 -05:00
Ben Kelly
895f116b72 Bug 1341678 P1 Make Request::Constructor() expect over-writing a copied body with an initializer. r=asuth 2017-02-28 11:48:48 -05:00
Benjamin Smedberg
d9c7494134 Bug 1332639 - Remove the external string API: nsStringAPI.h/cpp and nsEmbedString.h, r=glandium
MozReview-Commit-ID: 9dZcmMAI0Vk

--HG--
extra : rebase_source : 5561cf7f3318c60f082fff02c5e78aba661f6437
2017-02-27 11:41:52 -05:00
Joel Maher
f297f17181 Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Carsten "Tomcat" Book
b0b075d2a9 Backed out changeset 6d0ac4c74fd5 (bug 1298823) for frequent failures in test_request.html 2017-03-01 14:18:32 +01:00
Andrea Marchesini
95269bdb47 Bug 1298823 - Make Request constructor throw less often, r=qdot 2017-03-01 11:44:38 +01:00
Gerald Squelart
bcdfea341d Bug 1343156 - Remove unnecessary MP4Metadata::HasCompleteMetadata - r=jya
MP4Metadata::Metadata() contains the same code at the beginning, so calling
HasCompleteMetadata() is unnecessary, so we should just remove it completely.

(Except to get a better error message, but this will be reinstated in an
upcoming bug.)

MozReview-Commit-ID: 2C3GI5fE0Ja

--HG--
extra : rebase_source : 2bdb6199222dcb0ca4012121a3fd4694b440be3e
2017-02-27 10:06:45 +11:00
Gerald Squelart
a39a22468d Bug 1343152 - Move TrackTypeToStr(TrackInfo::TrackType) to MediaInfo.h/cpp - r=jya
MozReview-Commit-ID: 57U5ySHsIn1

--HG--
extra : rebase_source : d244ff6ec9564eade25858743cec29d0ddcf40bb
2017-02-27 17:15:36 +11:00
Bryce Van Dyk
db776543e5 Bug 1343407 - Fix attribute name video_uri -> base_uri when logging stalls. r=maja_zf
When logging a stall a non-existent attribute was attempting to be printed.
This changeset fixes the name being used so that the logging will work
correctly.

Also contains a drive by change to make _video_var_script more consistent.
There was a inconsistency with how objects were referenced which has been
removed.

MozReview-Commit-ID: hTHC9VIxBW

--HG--
extra : rebase_source : 47c65a04c24a1f33888a2034c10c3f54adaa0dc3
2017-03-01 14:12:06 +13:00
Ben Kelly
b019e8eace Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug 2017-02-28 10:48:51 -05:00
Ben Kelly
21c36b41bf Bug 1266747 P2 Track last focus time on ServiceWorkerClient. r=smaug 2017-02-28 10:48:51 -05:00
Ben Kelly
bab13d406b Bug 1266747 P1 Track the last focus time on the nsIDocument. r=smaug 2017-02-28 10:48:51 -05:00
Ehsan Akhgari
0fea8eec91 Bug 1342720 - Optimize away the cost of creating and destroying nsBidi from CanvasRenderingContext2D::DrawOrMeasureText(); r=baku
The ICU implementation of ~nsBidi is particularly expensive because
it calls free() several times.
2017-02-28 09:13:48 -05:00
Carsten "Tomcat" Book
24bb9f3ffe Merge mozilla-central to mozilla-inbound 2017-02-28 13:03:04 +01:00
Masatoshi Kimura
020990644d Bug 1295877 - Remove accidentally added |debugger;|. r=marcosc
MozReview-Commit-ID: Hxp02da6p1z

--HG--
extra : rebase_source : ffa1203320a0dcf65b2aff767d78704eedf4abbf
2017-02-28 20:26:53 +09:00
Carsten "Tomcat" Book
9c1c7106ee merge mozilla-inbound to mozilla-central a=merge 2017-02-28 11:24:33 +01:00
Boris Chiou
bb298790fe Bug 1342957 - Fix incorrect MOZ_ASSERT in AnimationEffectReadOnly. r=hiro
MozReview-Commit-ID: 6amRZ9AGudQ

--HG--
extra : rebase_source : 350c0d64f371aea0568fc25e345e5de733142abc
2017-02-28 01:38:52 +08:00
Chris Pearce
035505f62b Bug 1342822 - Move Widevine decryption throughput limit into Gecko. r=gerald
This means each stream that's being decrypted will have its own throughput
limiting, independent of other streams.

MozReview-Commit-ID: DiOiRx19OuC

--HG--
extra : rebase_source : c2205e37caec9c89620b4ec09d7fa962a30d9357
2017-02-27 15:57:41 +13:00
Blake Kaplan
9fb1ff597d Bug 1334716 - Make process selection a service and implementable in JS. r=krizsa
MozReview-Commit-ID: CViRvZB8nKe
2017-02-27 16:09:06 -08:00
Ben Kelly
2f8d218126 Bug 1342854 Run a limited number of timer callbacks in the same event loop runnable. r=smaug 2017-02-27 17:33:30 -05:00
Chris Pearce
6425456721 Bug 1342822 - Backed out changeset 70bc7d4e8512 (bug 1338924). r=gerald
MozReview-Commit-ID: DXGgfMMghOD

--HG--
extra : rebase_source : e5d329122754dfab6750ff2aedadc1f65a52f0f8
2017-02-27 13:58:27 +13:00
Chris Pearce
892e18f12e Bug 1342822 - Backed out changeset a379d64f8496 (Bug 1338924 patch 3). r=gerald
MozReview-Commit-ID: 4aFx52mwpQ6

--HG--
extra : rebase_source : 45cfb3aba27e93d49c5ebf64510d0143f1c57654
2017-02-27 13:57:39 +13:00
Xidorn Quan
4f69533cec Bug 1342348 part 1 - Don't check fragment url in tree sanitizer. r=hsivonen
MozReview-Commit-ID: 8tIiMtexHxd

--HG--
extra : rebase_source : f7b4277b4c0878444cc2bb3a555ef7bdffc9e189
2017-02-28 10:21:33 +11:00
Wes Kocher
1e793592af Backed out 2 changesets (bug 1342348) for xpcshell bustage a=backout
Backed out changeset 6e181ffefa61 (bug 1342348)
Backed out changeset 4f0fce98dd3a (bug 1342348)

MozReview-Commit-ID: F7bUbScVyfN
2017-02-27 16:56:04 -08:00
Xidorn Quan
42b953a7d9 Bug 1342348 part 1 - Don't check fragment url in tree sanitizer. r=hsivonen
MozReview-Commit-ID: 8tIiMtexHxd

--HG--
extra : rebase_source : e7dd8262c1d7c69209ce57323dc4c24a19774ec7
2017-02-28 10:21:33 +11:00
Andrew McCreight
c18b2db7ea Bug 1341890 - Fix line endings for ContentPrefs.h. r=billm
Also fix the indentation of gInitPrefs.

MozReview-Commit-ID: 1vNwCSxyTo

--HG--
extra : rebase_source : 161b5460d125b4110700196af9e9df4862f27085
2017-02-24 10:23:53 -08:00
Andrew McCreight
3b89a59a9d Bug 1341887 - Add fuzzing.enabled to gInitPrefs in FUZZING builds. r=billm
MozReview-Commit-ID: Faw7Vohw6Lm

--HG--
extra : rebase_source : 025865006b7a2d82bf91a34f5cd605d731b3ca61
2017-02-22 14:16:30 -08:00
Gerald Squelart
418963d5c8 Bug 1343161 - MediaDecoderOwner::DecodeWarning and HTMLMediaElement implementation - r=jya
Similar to DecodeError, except we allow decoding to continue.

MozReview-Commit-ID: FN9m03o6GXV

--HG--
extra : rebase_source : a6ca0cc28d2990ab143676758cd880baaca7bcb7
2017-02-27 12:12:37 +11:00
Gerald Squelart
bfa6625f32 Bug 1343161 - StoreDecodeError from HTMLMediaElement::DecodeError - r=jya
MozReview-Commit-ID: 8Q66JScrrxS

--HG--
extra : rebase_source : d2c6703fde49e65bcacd775c4a0098e5724cf80a
2017-02-21 14:02:11 +11:00
Gerald Squelart
b949250f8c Bug 1343161 - DecoderDoctorDiagnostics::StoreDecodeError/Warning - r=jya
Code to capture decode errors/warnings in Decoder Doctor.
No analysis yet.

MozReview-Commit-ID: 8Aim7vv72xE

--HG--
extra : rebase_source : 95de63b365549369043a4d20a80963227efcc0be
2017-02-21 14:07:23 +11:00
Bevis Tseng
69a59cfe93 Bug 1328517 - Part 2: Add Assertion to Each ActorEventTarget. r=janv
MozReview-Commit-ID: DDQ0ytBiwm3

--HG--
extra : rebase_source : d3a724e9d69e492621948436cc68cf1d59cdb3a6
2017-02-10 15:13:45 +08:00
Andrew Overholt
637c548067 Bug 1271457 - Add use counters for non-standard IDB extensions. r=janv, r=qDot
--HG--
extra : amend_source : 69de0ee4427d1b4d88fd475600f13b071f950f1d
extra : histedit_source : 24d5c506c273e71a349803b974960de5243e6977
2017-02-07 19:57:00 -05:00
Andrea Marchesini
0c0a744d4f Bug 1342361 - Get rid of ArchiveReader API, r=smaug 2017-02-27 17:50:46 +01:00
Jon Coppeard
2c2e96fdc0 Bug 1340865 - Handle non-parser-created module scripts r=smaug 2017-02-27 15:04:21 +00:00
Hiroyuki Ikezoe
f268b13da5 Bug 1341987 - Part 4: Use nsIFrame's nsPresContext instead of getting from element. r=birtles
MozReview-Commit-ID: 3pWt7d2MKsZ

--HG--
extra : rebase_source : cb34e1aa141d3a6aaa13f3482c8abf1cf83c14f9
2017-02-27 11:34:48 +09:00
Hiroyuki Ikezoe
feb893ec07 Bug 1341987 - Part 3: Update the last refresh time for transform only when we send transform animations to the compositor. r=birtles
We don't need to update the time during composing style, we just need to
update when transform animations are sent to the compositor. The most
recent refresh time of nsRefreshDriver should be the same in either side.
If the time is skewed, that means we skip composing style, if it happened
that's another bug.

MozReview-Commit-ID: Dxtuocf1ml1

--HG--
extra : rebase_source : 93e8fad24948b1c0b89fa7946639154a82f4a3ae
2017-02-27 11:34:46 +09:00
Hiroyuki Ikezoe
821747a2d1 Bug 1341987 - Part 2: Drop cascade level from last refresh time for transform. r=birtles
We no longer need separate time for cascade levels respectively since we do
send all type of animations on the same element to the compositor regardless
of cascade level.

MozReview-Commit-ID: 7cGQGE3yHvm

--HG--
extra : rebase_source : 009e0cc510faea2b83760c141da545e87de8aeaf
2017-02-27 11:30:56 +09:00
Hiroyuki Ikezoe
0911fca845 Bug 1341987 - Part 1: Rename AnimationRuleRefreshTime to LastTransformSyncTime. r=birtles
It's just for transform animations on the compositor.

MozReview-Commit-ID: 288CcG4kko4

--HG--
extra : rebase_source : 943f67beeecd3c05b7ae2c6608b7a725c47f2b23
2017-02-27 11:29:27 +09:00
Phil Ringnalda
410f9b646b Merge m-c to autoland 2017-02-26 10:58:52 -08:00
Phil Ringnalda
ab84dcd8f5 Merge m-i to m-c, a=merge 2017-02-26 10:48:26 -08:00
Masatoshi Kimura
0156dda3e4 Bug 1342760 - Remove remaining version parameters of script elements from dom/. r=smaug
MozReview-Commit-ID: DAVs5oVe5R6

--HG--
extra : rebase_source : f9f740d9b439a20f4a9d71328760142422a68e78
2017-02-26 21:41:01 +09:00
Jean-Yves Avenard
afb15861d6 Bug 1342645: Rename low latency preference. r=gerald
Make it available if either FFmpeg or FFVPX is configured

MozReview-Commit-ID: 7VTWQ7km4tV

--HG--
extra : rebase_source : 453db0336f47f6dcd657c33345d3894aaa54f882
2017-02-25 23:53:53 +01:00
Masatoshi Kimura
b8ab6903ab Bug 1342144 - Restore test_getFileId.html and stop using legacy generators in the test. r=jaws
I guess bug 994190 accidentally removed this test from mochitest.ini.

MozReview-Commit-ID: FeqJY5V0GXH

--HG--
extra : rebase_source : f2c75f7b56e25c28a7863d1db101c1bbdf43a9a8
2017-02-24 19:41:59 +09:00
Phil Ringnalda
13720d9c89 Merge m-c to m-i 2017-02-25 13:35:20 -08:00