Граф коммитов

56221 Коммитов

Автор SHA1 Сообщение Дата
Andi-Bogdan Postelnicu cf2f92a099 Bug 1301333 - Add mark-initialisation-func annotation to functions Init and DoInitOnMainThread from GetUsageOp. r=baku
MozReview-Commit-ID: KKUX4FE0pth
2016-10-18 12:57:57 +03:00
Carsten "Tomcat" Book b9686db6da Merge mozilla-central to mozilla-inbound 2016-10-18 10:44:04 +02:00
Carsten "Tomcat" Book 5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Wes Kocher 9abb1e1c41 Merge m-c to inbound, a=merge 2016-10-17 15:37:34 -07:00
Wes Kocher 573dc19393 Merge inbound to central, a=merge 2016-10-17 15:34:14 -07:00
Ehsan Akhgari ea467855d3 Bug 1310721 - Remove support for the b2g PAC generator; r=mcmanus
This effectively backs out bug 1115495.
2016-10-17 14:10:45 -04:00
Ehsan Akhgari c1d2c29601 Bug 1310094 - Part 2: Remove UserCustomizations.jsm; r=myk 2016-10-17 14:08:30 -04:00
Ehsan Akhgari 4a51ebacfa Bug 1310378 - Remove support for mozwidget; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari e2fdfd7548 Bug 1310366 - Remove support for app redirects; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari 2680a1d8e9 Bug 1310097 - Remove MessageBroadcaster.jsm; r=myk 2016-10-17 13:15:36 -04:00
Ehsan Akhgari 1978fee9f2 Bug 1310385 - Remove support for UndoManager; r=smaug
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.

We can revive this from VCS history in the future if we decide
to start working on it again.  In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
Ehsan Akhgari 80ad2ce758 Bug 1310436 - Remove support for verifying the presence of app in the presentation API; r=baku 2016-10-17 10:05:12 -04:00
JW Wang c841d66e5e Bug 1310086. Part 3 - let SeekingState/ShutdownState::Enter() return a promise. r=kaku
MozReview-Commit-ID: 4TvsISriclT

--HG--
extra : rebase_source : c6557664b974f7cfd12848e152aab0499827b429
extra : source : f91fef194c601a5d63e835d00e69c30cd50a885e
2016-10-13 13:53:32 +08:00
JW Wang 8e136dd5e8 Bug 1310086. Part 2 - devirtualize StateObject::Enter() so it can have different parameters and return types for each subclass. r=kaku
MozReview-Commit-ID: 4RDL99rSIFD

--HG--
extra : rebase_source : 916fa5d52c6499acaa18b1b27ce770d5928562ee
extra : source : 2749279482798232c60dd1fe98cf179350882d19
2016-10-12 14:16:40 +08:00
JW Wang bfa7fbd6cc Bug 1310086. Part 1 - add an assertion to StateObject::SetState(). r=kaku
It can be proven that SetState() always transitions to a different state except for the seeking state
for it is possible to seek again in the middle of seeking.

MozReview-Commit-ID: 4bdkAelcZoO

--HG--
extra : rebase_source : 71c9f62f3827217cd985c446697aa3aa2d027cd5
extra : source : 510fa57f83ee80c63588a408b4d6e3d3a8014527
2016-10-12 14:04:25 +08:00
Andi-Bogdan Postelnicu 359856eb75 Bug 1308868 - Add ignore-initialization-check annotation to mErrorCode from U2FStatus. r=baku
MozReview-Commit-ID: 1dIKcbbeStW
2016-10-17 16:10:17 +03:00
Jonathan Hao ad4fb47b95 Bug 1264595 - Test whether auto-revocation is removed. r=karlt 2016-10-18 15:56:00 +08:00
Daosheng Mu a11c74d154 Bug 1299928 - Part 6: Making GamepadManager is only run at the same process at VRMangerChild; r=kip
MozReview-Commit-ID: HrPHptVNgtq

--HG--
extra : rebase_source : 0b2dab59cbbc23a6cec07a386589cc20f1135fa5
2016-10-11 10:45:25 +08:00
JW Wang 2459912478 Bug 1302613 - add elements to the document so we can print debugging info when the test case times out. r=bechen
MozReview-Commit-ID: HQCfodjm99i

--HG--
extra : rebase_source : b2329ee5787ab09eeabde0722e6372c691180157
2016-10-17 18:01:00 +08:00
Wes Kocher 664cdfb48f Merge m-c to autoland, a=merge 2016-10-17 15:37:57 -07:00
Cervantes Yu f0f2a09c5a Bug 1278443 - Part 2: Continue to run the worker even if BackgroundChild fails to create. r=mrbkap
MozReview-Commit-ID: LBBN4hfXigf

--HG--
extra : rebase_source : f35e75eebf051ec5eb6948bbeb7742a573168602
2016-10-05 16:57:31 +08:00
Cervantes Yu 9b89fed177 Bug 1278443 - Part 1: Don't open PBackground actors after PContentChild is closed. r=billm
MozReview-Commit-ID: FMtHF3yMQFG

--HG--
extra : rebase_source : 901de005a8f18ea7e406abae48d623fb60537c04
2016-10-04 17:48:46 +08:00
Daosheng Mu 570a208647 Bug 1299928 - Part 3: Construct IPC channel between Gamepad and VRManager; r=kip
MozReview-Commit-ID: 9hpxlLlIdh7

--HG--
extra : rebase_source : f50bf15bef94129a4a8fbd659c8551a3f153e32c
2016-10-04 16:30:04 +08:00
Daosheng Mu a5c0fea409 Bug 1299928 - Part 1: Make GamepadManager knows the gamepad is from VRController when adding gamepads; r=kip,lenzak800
MozReview-Commit-ID: IBFqj2JTHxh

--HG--
extra : rebase_source : 7716900c17bedfef5b1dff10229f377e17ccb173
2016-10-04 10:57:04 +08:00
Carsten "Tomcat" Book 54cb47289d Merge mozilla-central to autoland 2016-10-17 11:38:07 +02:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
John Dai 48b937b61e Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y

--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
JerryShih c6e555cb0b Bug 1295456 - Update Gecko tests for css-color-4 color function changes. r=dholbert
--HG--
extra : rebase_source : 8040d61d2a7130e3014676a78f75199509abd236
extra : histedit_source : f017c1ba5e2adeb810d95aaa15fd92cf1a9ec016
2016-10-16 03:15:36 +08:00
JerryShih 158cde6c2f Bug 1295456 - Support <angle> value for hue component in CSS hsl() color function. r=dholbert
MozReview-Commit-ID: EYhbAEOlpLm

--HG--
extra : rebase_source : 3b898452000ea5f0f0f1819dac2d93d0a6d1c426
extra : histedit_source : a929cf0e25b0035218c4ea61abfc9135a05def15
2016-10-16 03:15:36 +08:00
JerryShih a0a437f47c Bug 1295456 - Support percentage opacity value in CSS color functions. r=dholbert
--HG--
extra : rebase_source : 79bf692da80a5ea861482e9bc021834f60b6d81a
extra : histedit_source : 384f41d812fecf511be8b319d91a687e9c02673d
2016-10-16 03:15:35 +08:00
Eric Rahm 52edf921c1 Bug 1310017 - Remove nsISupportsArray usage from nsITransferable and nsIFormatConverter. r=smaug
This converts |nsITransferable.flavorsTransferableCanExport| and
|nsITransferable.flavorsTransferableCanImport| to return a |nsIArray|.

|nsIFormatConverter.getInputDataFlavors| and
|nsIFormatConverter.getOutputDataFlavors| are updated as well.
2016-10-16 12:43:56 -07:00
Robert Longson e1ceba9dc4 Bug 1241899 - Make SVGZoomAndPan [NoInterfaceObject]. r=cam r=peterv
--HG--
rename : dom/webidl/SVGZoomAndPan.webidl => dom/webidl/SVGZoomAndPanValues.webidl
2016-10-16 12:24:25 +01:00
Andrea Marchesini 9215b7b957 Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug 2016-10-16 08:46:10 +02:00
Andi-Bogdan Postelnicu 1e1268fdc7 Bug 1308868 - Add ignore-initialization-check annotation to variables from TelephonyCall and TelephonyCallGroup. r=echen
MozReview-Commit-ID: GT8oz6sCxaX
2016-10-14 17:01:12 +03:00
William Chen f208316cdd Bug 862395 - Part 3: Add preference for web notification requireInteraction flag. r=baku
--HG--
extra : rebase_source : 751db25819dbd441d549721757d9bcb0bc67ec8e
extra : histedit_source : 10337b25798cc73cce0b2779fab4e01076cd0423
2016-10-12 16:43:27 -07:00
William Chen 2e57e150b9 Bug 862395 - Part 1: Add requireInteraction property to web notifications. r=baku
--HG--
extra : rebase_source : c1519b7a501427b67638fd3ddacb2ce4e06c3c98
2016-10-12 17:27:40 -07:00
Jorg K 4bb58198d9 Bug 1263357 - When the caret is placed after visible line break, associate caret with frame on the next line instead. r=mats
--HG--
extra : amend_source : a0068b0c841189204e07cc6c0a19f83d5dac8da3
2016-10-14 14:21:00 -04:00
Kartikaya Gupta 76e61ea656 Bug 1275314 - Add an API to allow flushing out in-progress checkerboard reports. r=botond,ehsan
MozReview-Commit-ID: 6G4uIHcGQAv
2016-10-15 08:45:01 -04:00
Andi-Bogdan Postelnicu a432ae70da Bug 1301333 - Add mark-initialisation-func annotation to function Init from PresentationReceiver. r=baku
MozReview-Commit-ID: JNCBpgHjhs1
2016-10-14 17:18:26 +03:00
Andi-Bogdan Postelnicu 32daac2711 Bug 1308868 - Add ignore-initialization-check annotation to mWorkerPrivate from ClientNavigateRunnable. r=baku
MozReview-Commit-ID: 2dLsmPWeqSk
2016-10-14 16:44:08 +03:00
Boris Zbarsky 0566cdeea4 Bug 1310275. Fix the document.load() warning and telemetry to have a shot at actually being noticed. r=froydnj 2016-10-14 22:49:10 -04:00
Chris Pearce c2998283ca Bug 1309299 - make navigator.requestMediaKeySystemAccess() reject with TypeError for empty keysystem string or config. r=gerald
This makes us match the spec and pass more cases of
http://www.w3c-test.org/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html
but we still need to adjust the test so that it's consistent, as pointed out
by bz.

MozReview-Commit-ID: KEfRk4QnJKR

--HG--
extra : source : 72af37aaf2a0a42c20e64b3b455f0cb79e2b7eb1
2016-10-11 10:37:34 -07:00
Dhanesh B. Sabane a2ef7b10a8 Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
MozReview-Commit-ID: 96g2DBfpfX9

--HG--
extra : rebase_source : e8a299ab8ca6af6e93cf29ab9351282076e2aa1d
2016-10-16 18:05:17 +05:30
kearwood a9750ed3cd Bug 1306486 - Ensure that VRDisplay.getPose and VRDisplay.getFrameData return the same values until the next VRDisplay.submitFrame,r=dmu
--HG--
extra : rebase_source : 3185cf5b978849c9a748a3c08b13259e5dcd9a22
2016-10-06 16:32:16 -07:00
Ryan VanderMeulen 3a3d2f98ed Bug 960345 - Re-enable OOP browser-element tests on OSX debug.
--HG--
extra : rebase_source : bce1d5aed40310c61cf59b00beead2b5582ff2d7
2016-10-14 20:15:07 -04:00
Kearwood (Kip) Gilbert 2743764335 Bug 1306427 - Remove pose parameter from VRDisplay.submitFrame,r=smaug,r=gw280
MozReview-Commit-ID: LZSDm73XrIa

--HG--
extra : rebase_source : 9627a96ad333e952795ed70af0f8878a21c3c697
2016-09-30 16:43:24 -07:00
Wes Kocher aeac5ac648 Backed out changeset 73a60f9b3c2f (bug 1275314) for GTest bustage CLOSED TREE
--HG--
extra : histedit_source : 5498a231b3e43706e93835242d246489697dcd9c%2C1ba18b3300a0dfd8b03881bf431334be1f866eb8
2016-10-14 14:52:44 -07:00
Wes Kocher 727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
Wes Kocher 42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07:00
Kartikaya Gupta 5c98a9d950 Bug 1275314 - Add an API to allow flushing out in-progress checkerboard reports. r=botond,ehsan
This is useful for talos tests that record checkerboarding. In those tests, the
page might still be in a checkerboard state at the end of the test, so it may be
necessary to flush out the report for measurement.

MozReview-Commit-ID: CtafG4NAGHN
2016-10-14 15:37:58 -04:00
Ehsan Akhgari 87f7da8481 Bug 1310014 - Avoid capturing JS backtraces in TabChild::DidRequestComposite(); r=tromey 2016-10-14 15:33:39 -04:00
Randell Jesup 4875bcdbf9 Bug 1300818: bustage fix rs=kwierso on a CLOSED TREE 2016-10-14 15:13:30 -04:00
Carsten "Tomcat" Book 415f86e41d Merge mozilla-central to autoland 2016-10-14 15:03:01 +02:00
Carsten "Tomcat" Book 260c42fadb Merge mozilla-central to mozilla-inbound 2016-10-14 15:00:30 +02:00
Carsten "Tomcat" Book e90a683f18 Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
Carsten "Tomcat" Book fed18a42c0 Backed out changeset 5af415bbb107 (bug 1308615) 2016-10-14 14:58:51 +02:00
Xidorn Quan 80c70397ac Bug 1292432 part 10 - Make style/link elements return StyleSheet. r=heycam
MozReview-Commit-ID: EIcfdYGZ8UH

--HG--
extra : source : 3fd1c648a97cef67b9ae080f26e22dba4f7be62f
2016-10-14 22:25:38 +11:00
Xidorn Quan ea2d289c2c Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
MozReview-Commit-ID: 5AXhsuvvrwe

--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Eric Rahm b8cfe3a083 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm 441292eb71 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Boris Zbarsky e158454b4e Bug 1309970. Add a way to return frozen arrays to chrome callers with a .contains defined on them, returning the same value as .includes. r=qdot 2016-10-13 22:14:26 -04:00
Michael Layzell d85d6ed949 Bug 1309645 - Stop providing image/jpeg files as a string to websites, r=enndeakin
MozReview-Commit-ID: 1NsWeMk5V5s
2016-10-13 16:58:19 -04:00
Ehsan Akhgari 13850f4183 Bug 1309628 - Hide support for dispatching selection events on the contents of text controls behind a pref; r=mystor
This patch adds a pref to control whether we dispatch the selection
events for changes in the contents of input and textarea text controls.
The spec for this feature hasn't been written yet, and we need to exclude
this part of the selection API from the part we want to ship.
2016-10-13 16:52:07 -04:00
Gijs Kruitbosch 50d9c231a4 Bug 1309838, r=jrmuizel
MozReview-Commit-ID: BPj83XzAcqw

--HG--
extra : rebase_source : ddec0ceff01f05951fd419caab95ad2a488379b0
2016-10-13 11:55:06 +01:00
Ehsan Akhgari 430e61c30f Bug 1248148 - Disable firing selection events during HTML editor initialization; r=mystor
This is similar to what we do for the plaintext editor initialization.
2016-10-13 13:46:40 -04:00
Ehsan Akhgari 75d4b96af8 Bug 1306800 - Remove support for app theming; r=myk,baku 2016-10-13 13:23:03 -04:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Boris Zbarsky c2b1b76799 Bug 1309326. Fix the HTML serializer's handling of self-closing tags inside <pre> to correctly keep track of our mPreLevel. r=ehsan
The test change makes sure the test actually tests this codepath. The resulting
test expectation changes are all due to the test now recognizing <pre> as preformatted.
2016-10-13 12:44:20 -04:00
Boris Zbarsky 17ccfd1011 Bug 1306472. Back out bug 1268047, because the spec it tried to implement backs the web. r=smaug 2016-10-13 12:10:23 -04:00
Carsten "Tomcat" Book 5194fbe95c Merge mozilla-central to mozilla-inbound 2016-10-14 12:20:46 +02:00
Jon Coppeard 529ca3aff2 Bug 1308919 - Fix typo in comments r=bz on a CLOSED TREE 2016-10-14 10:24:56 +01:00
Jon Coppeard 6ca64e3652 Bug 1308919 - Don't make Handles to Heap<T> as it avoids the read barrier r=bz 2016-10-14 09:45:28 +01:00
Stone Shih ad4a2218e7 Bug 1307707 - Part 1: [Pointer Event] Refine pointer events related codes with modern our style. r=masayuki
MozReview-Commit-ID: 1aRwP7FsiB0

--HG--
extra : rebase_source : 9b63b22c4356d02ce3ae49996cdb10e53b9ab43c
2016-10-05 15:16:02 +08:00
Edgar Chen 64cc70e197 Bug 1308069 - Clear pending error event fired by src="" case if src changed before it fired. r=bz
MozReview-Commit-ID: B8f975mZNN9

--HG--
extra : rebase_source : b44b969c733160a9e96139b6b55ac60fb140e478
2016-10-06 12:30:35 +08:00
Andreas Farre cd295fba64 Bug 1310139 - Add missing namespace qualifiers in nsHostObjectProtocolHandler. r=baku
MozReview-Commit-ID: KcdyoocM3Z9

--HG--
extra : rebase_source : 577ce2aa6c7aaf8473015652a1dede334d9eccb1
2016-10-14 02:41:00 -04:00
Paul Adenot 0fea3fd083 Bug 1300818 - Cap latency at 512 frames for some mac models. r=jesup
MozReview-Commit-ID: B40Tu7r8GG2
2016-10-14 18:35:35 +02:00
Christoph Kerschbaumer 066a3827af Bug 1307321 - Use correct length of CSP report when sending violations. r=jrgm,freddyb 2016-10-14 20:07:32 +02:00
Botond Ballo b3a474aa99 Bug 1307557 - Fix an out-of-bounds access in Element::DescribeAttribute(). r=dveditz
MozReview-Commit-ID: 15ItbWAQAPv

--HG--
extra : rebase_source : 4375d0268a633e964fd91427cb4b9e67c63d30b2
2016-10-07 15:12:00 -04:00
Gerald Squelart e076c9edaa Bug 1263665 - media.libavcodec.allow-obsolete=true bypasses blocking - r=jya
If "media.libavcodec.allow-obsolete" is set to true, the checks for older
libavcodec library versions are ignored.

MozReview-Commit-ID: HBhHfFomsrr

--HG--
extra : rebase_source : 6bfe06bd4354fcda90d7d33bedcbd176663cab31
2016-10-05 15:04:04 -07:00
Michelangelo De Simone d089be15c2 Bug 1306778 - Remove DOM/tv and related code. r=jst
MozReview-Commit-ID: 25Mch3xznlh

--HG--
extra : rebase_source : 8ed0967556ee709fb7ca00713d29049a4515f1c7
2016-09-30 16:38:03 -07:00
JW Wang 51234deb68 Bug 1309761 - Some tweaks to MediaDecoder::DumpDebugInfo(). r=bechen
MozReview-Commit-ID: 9e7sImUs2vz

--HG--
extra : rebase_source : 6699aea482efac0e996ccee51ecc6009c1de64e3
extra : source : 640ba5ebf3e8898796c7d34c899add9a05a6a396
2016-10-11 16:58:09 +08:00
Hiroyuki Ikezoe db9f210a8c Bug 1283754 - Part 5: Run tests with subtree:true option. r=boris
We should run basically tests with subtree true or false option.

MozReview-Commit-ID: 8HDAnKh7Xq

--HG--
extra : rebase_source : 13d1551240bf68b776df5111c512cd13e248a0ea
2016-10-14 09:34:37 +09:00
Hiroyuki Ikezoe 5e4865cab0 Bug 1283754 - Part 4: Split test cases for script animations which can be re-written to synchronous test in test_animation_observers.html. r=boris
All of the split out test cases were re-written with synchronous API.
Also, cleanup codes in the end of each test cases, e.g. anim.cancel(), were
dropped because we now create a new MutationObserver and a new element for
each test respectively.

MozReview-Commit-ID: 9Bx0OUOU9On

--HG--
extra : rebase_source : c51b9e850bfdc692344012b9176a17083187ab89
2016-10-14 07:58:32 +09:00
Hiroyuki Ikezoe 16b8fd8f57 Bug 1283754 - Part 3: Add setupSynchronousObserver to write synchronouse tests for MutaionObserver. r=boris
MozReview-Commit-ID: 1sV5QHVeEyw

--HG--
extra : rebase_source : 766a282f486a9b68c53771a7d56de3fe659b57ca
2016-10-14 06:52:11 +09:00
Hiroyuki Ikezoe 4e61e83811 Bug 1283754 - Part 2: Replace await_frame() with waitForFrame(). r=boris
MozReview-Commit-ID: 3PhjL7H5qip

--HG--
extra : rebase_source : 222e405e52e8cab709318680151761bc97534d4f
2016-10-14 06:51:48 +09:00
Hiroyuki Ikezoe 4b0ac89265 Bug 1283754 - Part 1: Drop await_timeout() and await_timeout(). r=boris
No one uses these functions.

MozReview-Commit-ID: DLZXQdOzBZA

--HG--
extra : rebase_source : 8471202815f4baf0d0ea911ceb21e21f59800d50
2016-10-14 06:51:37 +09:00
Sebastian Hengst 83c48072d6 Backed out changeset 6a4cf8732cb1 (bug 1308615) for failing browser-chrome tests like browser_devices_get_user_media.js. r=backout on a CLOSED TREE 2016-10-14 01:17:08 +02:00
Sebastian Hengst 47dffb47bc Backed out changeset dbf7653be16f (bug 1308615) 2016-10-14 01:16:08 +02:00
Eric Rahm 06a26b0b8c Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva

--HG--
extra : rebase_source : afc25d91dfcabf6f8f5c9aca6828d41acac9e97e
2016-10-10 13:14:38 -07:00
Eric Rahm 62ae2ac79e Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : 069b6ec173bb98ab08d93279b5e983494184f8c0
2016-10-10 13:14:34 -07:00
Mike Conley edf079f24b Bug 1303077 - Annotate hangs that occur on the content process main thread during paint forcing. r=aklotz,billm
MozReview-Commit-ID: 9UBsoy5sIJE

--HG--
extra : rebase_source : f05a7735690c92b284c01c4b92425ed451d23fd5
2016-10-13 16:41:28 -04:00
JW Wang dd6efb8d23 Bug 1306551 - don't update playback position for video-only seek when seek is completed. r=kaku
MozReview-Commit-ID: 7vByX0pPNo

--HG--
extra : rebase_source : e8a818eb38c37c41060ec03ce6d31357bb15c218
extra : source : b0732e355e045fc859e740a996d98c54f5b8a61e
2016-10-06 17:06:58 +08:00
Carsten "Tomcat" Book f3a0e0a65e Merge mozilla-central to autoland
--HG--
extra : rebase_source : ed5871b95beeb440688654cc676c5438c2898ccf
2016-10-13 12:00:23 +02:00
Carsten "Tomcat" Book 802e7b16f9 merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
Ehsan Akhgari 960c84d107 Bug 980586 follow-up: Remove PContentDialog.ipdl
This is a remnant of the patch originally landed.  The file is unused.
2016-10-12 20:59:03 -04:00
Carsten "Tomcat" Book 124ddbc375 Backed out changeset fe84473a739c (bug 567954) for failing mda tests due to own test
--HG--
extra : rebase_source : 2dff4cc1499b5016edb11f208262e57927ecfab7
2016-10-13 11:32:45 +02:00
Andreas Pehrson adb5ba763c Bug 1304950 - Reduce timeslice to avoid races with the source ending. r=jwwang
Media element capture pushes data to MSG ahead of currentTime which together
with the direct listeners that we use in MediaRecorder we end up finishing
the recording in less than the 250ms that this test uses as the recording
timeslice.

Lowering the timeslice here seems to fix this. I'm using 1 here since it's the
minimum valid number.

MozReview-Commit-ID: KAlRoHWHPSV

--HG--
extra : rebase_source : cc2af7829dca734b0411383a6b92dd0691533411
2016-10-12 16:02:56 +02:00
Andreas Pehrson 05686d2182 Bug 1304950 - Defer mozCaptureStream() until after "loadedmetadata". r=jwwang
Starting capture after tracks are known ensures that we can start getting data
immediately as we play() the element. Before there was a risk of missing some
initial data, which caused this intermittent.

MozReview-Commit-ID: FxaiiVtKaKD

--HG--
extra : rebase_source : 15eac09da8757fba81d52c66c22a4439ee956e84
2016-10-11 16:08:37 +02:00
Chia-hung Tai 2da209c936 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : e292d0bffd3ac1b107f5372e7526c59cfecd8220
2016-10-03 17:48:03 +08:00
Dan Minor 17432ed5b9 Bug 1308298 - Remove duration and interToneGap attributes from RTCDTMFSender; r=jib,smaug
MozReview-Commit-ID: KfcPGIBt0bb

--HG--
extra : rebase_source : 4e398bbef7010592e20b5bf7b903a4452b24305a
2016-10-11 14:05:08 -04:00
Hiroyuki Ikezoe 9d5b7d6fc9 Bug 1223658 - Part 6: Remove Animation::HasInPlayEffect and AnimationEffectReadOnly::IsInPlay. r=birtles
MozReview-Commit-ID: JQ167ol4Ty9

--HG--
extra : rebase_source : 4a2a5090f1af9d39c3143fd4552f43c1fd3efb03
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe ca0f6e0ff5 Bug 1223658 - Part 5: Send animations to compositor even though it's in delay phase. r=birtles
To send animations to compositor in the delay phase we need to
modify Animation::IsPlaying returning true in the delay phase.

Note about background-position-in-delay.html:
After this patch, background-position animation also creates an active layer
from its delay phase.

Also note about test cases in test_animations_omta.html:
After landing bug 1279071, getOMTAStyle() returns the style value only
specified by animations, also in this patch we don't apply any opacity or
transform values in the delay phase, as a result we can't tell animating
value during delay phase on the compositor.

MozReview-Commit-ID: ILYKig3c08d

--HG--
extra : rebase_source : 5715c1f9ec43da3c8374f08cdca82e2ca29fe474
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe c9f76b2935 Bug 1223658 - Part 4: Add a function to check active duration is zero. r=birtles,dholbert
We are going to pass animations to the compositor in before phase but not to
pass when active duration is zero.  To distinguish this state we need a new
function to check that the active duration is zero.

MozReview-Commit-ID: 2Lckmt4LQcV

--HG--
extra : rebase_source : aa059b8c75bcea4ff4c5788aac98d1e17a4a5d7b
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe d8ec730df8 Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more.  But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync.  This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).

Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.

MozReview-Commit-ID: IVE2IFfNgm0

--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00
Carsten "Tomcat" Book ac47637175 Merge mozilla-central to autoland 2016-10-14 12:34:25 +02:00
Mantaroh Yoshinaga e04fc55c09 Bug 1287983 part 7 - Add negative delay tests for CSS-Transitions event. r=birtles
MozReview-Commit-ID: KOVljOtRqFt

--HG--
extra : rebase_source : 324e0075339a99e7abadb82f3033ec7e4e7175e8
2016-10-21 11:37:53 +09:00
Mantaroh Yoshinaga cf59836bae Bug 1287983 part 6 - Integrate ElapsedTimeToTimeStamp function to the Animation class. r=birtles
MozReview-Commit-ID: 43AGaTYQoqn

--HG--
extra : rebase_source : 728380db2c6f3e035d05b6c746d2c0f08a1369b7
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga f48cb567a6 Bug 1287983 part 4 - Add transition event handler test for checking elapsed time. r=birtles
MozReview-Commit-ID: KwtsVbII95v

--HG--
extra : rebase_source : 5204130473f452d2bca028f34ca2d4199aa18206
2016-10-19 15:16:52 +09:00
Mantaroh Yoshinaga 3d795f2c3e Bug 1287983 part 1 - Add transitionstart/transitionrun event handlers. r=masayuki,smaug
This transitionstart and transitionrun event is defined in
editor's draft of CSS Transition Level 2.

https://drafts.csswg.org/css-transitions-2/#transition-events

MozReview-Commit-ID: 6c0GqlaOOPZ

--HG--
extra : rebase_source : 9d16572634a388da25e16096f06087e808ec57ae
2016-10-19 15:16:51 +09:00
JW Wang 6c6fc5896a Bug 1309142. Part 2 - add StateObject::HandleShutdown(). r=JamesCheng
MozReview-Commit-ID: 64VPA1fxLzF

--HG--
extra : rebase_source : 271d75f4766dda88b2da68db6061cafda1e76295
extra : source : 3f62381eb06918fb2e591c245e96c519967cc59b
2016-10-11 16:20:23 +08:00
JW Wang 93a211fec5 Bug 1309142. Part 1 - move some code to the entry action of ShutdownState. r=JamesCheng
MozReview-Commit-ID: 81RgoNaTDVH

--HG--
extra : rebase_source : 726bf9e2c20ee049aebac26d4ddc053d5f3bc4a3
extra : source : 781a6c66fa81fc1928aa016f244302c19a5cbf9c
2016-10-11 16:10:14 +08:00
JW Wang f3aedb4375 Bug 1309136 - Move MDSM::MaybeStartBuffering into DecodingState. r=JamesCheng
MozReview-Commit-ID: 37cuIsA3j7F

--HG--
extra : rebase_source : e72eb4647f5b00dfcff4aa2e4edd744e0bb00e73
extra : source : 401d2d9b388c3c712a0c2980bdc10a8313d6680c
2016-10-11 15:54:33 +08:00
JW Wang 0b36e33035 Bug 1309116. Part 4 - fix remaining calls to MDSM::SetState() and remove unused functions. r=kaku
MozReview-Commit-ID: EytZ8qrQJRn

--HG--
extra : rebase_source : 9512a4842bf86330c1fee7afd9708e5761ff399f
extra : source : 4c5f19d7af733a9000b760ac35942ed109be3255
2016-10-11 14:58:29 +08:00
JW Wang ca4b714f23 Bug 1309116. Part 3 - replace InitiateSeek() with StateObject::SetState(). r=kaku
MozReview-Commit-ID: 3iXZ5r402rz

--HG--
extra : rebase_source : 8a7c61b2840f11d27a9e47314c1abdc99764a2ff
extra : source : c765531f33ccf1de728e4369d90af445f60f16d3
2016-10-11 14:56:52 +08:00
JW Wang 11177e21ce Bug 1309116. Part 2 - rewrite StateObject::SetState using variadic template. r=kaku
MozReview-Commit-ID: 3ofT2po9B4Q

--HG--
extra : rebase_source : 8603ebb4bb263d4fbe7df56e66e548e34d4148f1
extra : source : a232f3d9806de564f460cf83f71a54db46f0809f
2016-10-11 14:41:07 +08:00
JW Wang 70a2e4675b Bug 1309116. Part 1 - move some functions out of class definition because we need to see the complete definition when trying to 'new' an object. r=kaku
MozReview-Commit-ID: 3pOPiFeAnPI

--HG--
extra : rebase_source : 1a9a070a9384f33101d8807a806209da5b2654bd
extra : source : 59d5a453d6aa43441b6d02d880d834afa4af316d
2016-10-11 14:22:24 +08:00
Paul Bignier 48fae840d8 Bug 1305959 - Initialize a ClientNavigateRunnable member. r=baku 2016-09-29 10:40:26 +02:00
Ho-Pang Hsu d9e7012d7a Bug 1311269 - Part 2: Update related testcases. f=sshih, r=smaug 2016-10-19 20:35:00 -04:00
Ho-Pang Hsu 459af0b367 Bug 1311269 - Part 1: Improve PE test automation framework. f=sshih, r=smaug 2016-10-19 20:31:00 -04:00
Gerald Squelart d86c5be6f3 Bug 1263665 - DecDoc handling of libavcodec linking issues - r=jya, r=smaug
If libavcodec is present but cannot be used, Decoder Doctor sends a distinct
notification to better help the user find the issue.

MozReview-Commit-ID: IGXPIY1b8AS

--HG--
extra : rebase_source : e2884e442f611464bd995e0b2d8b32bec05a148a
2016-09-22 00:06:45 -07:00
Gerald Squelart 653c89f1cb Bug 1263665 - Expose reason for libavcodec linking failure - r=jya
FFmpegLibWrapper returns a precise success/failure code.
FFmpegRuntimeLinker uses that to record the most interesting issue and
associated library name (if any).

MozReview-Commit-ID: J7asDfngw5e

--HG--
extra : rebase_source : 206c5bccc1ca2e2284dd836aef4b4781447459b2
2016-09-22 01:59:59 -07:00
Michelangelo De Simone 42dd1f7367 Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
MozReview-Commit-ID: JDSqQnYD6xL

--HG--
extra : rebase_source : 43008cd2eaf97d77d32a6faa9fb4854e3d1f29a8
2016-10-13 15:11:41 -07:00
Wes Kocher 524df273d6 Merge m-c to autoland, a=merge 2016-10-14 14:49:31 -07:00
Andreas Pehrson 37d5531de0 Bug 1284102 - Guard against double-deallocating devices in release. r=jib
MozReview-Commit-ID: 29ySAF3AHIi

--HG--
extra : rebase_source : 5e6af7dc3cbaba078ca18f80e0d2e6c7be748766
extra : source : 71fb9f5efa1c0cd1023b0f8bf717c3b68347b4af
2016-09-21 17:18:25 +02:00
Andreas Pehrson e53071bee0 Bug 1284102 - Notify chrome of stopped tracks in next stable state. r=jib
If content stops multiple gUM tracks in the same event loop we should only
notify chrome once to avoid unnecessary chrome updates.

MozReview-Commit-ID: 93aAPUvydPt

--HG--
extra : rebase_source : 685a842acce4970df9a495af1d7fac267b3d252b
extra : source : ed8face75a4664fa11eb64c62a289adf5bcca6db
2016-09-21 15:17:23 +02:00
Carsten "Tomcat" Book ee4955527c Backed out changeset 92a0dbf7b707 (bug 1308432) for bustage on a CLOSED TREE 2016-10-19 14:38:12 +02:00
Carsten "Tomcat" Book fdd9093f30 Backed out changeset 1982ca04dbf4 (bug 1308432) 2016-10-19 14:37:56 +02:00
Carsten "Tomcat" Book 0c3c4236aa Backed out changeset 0317358641df (bug 1308432) 2016-10-19 14:37:54 +02:00
Dan Minor dc14db22db Bug 1308432 - Implement ConstantSourceNode; r=padenot
MozReview-Commit-ID: DZ6Zq1rzRwP

--HG--
extra : rebase_source : e31d589fc2938248398479bd7762d321a2021451
2016-10-13 15:17:04 -04:00
Dan Minor 6586d04987 Bug 1308432 - Add webidl for ConstantSourceNode; r=smaug
MozReview-Commit-ID: 1VtsBk7icrW

--HG--
extra : rebase_source : bf8d1f1e16c8cbfacc7a92ed6fe6092031f7f8c6
2016-10-13 10:40:29 -04:00
Dan Minor d46df0c031 Bug 1308432 - Add missing includes to PannerNode.h and PannerNode.cpp; r=padenot
The missing includes were hidden due to the unified build.

MozReview-Commit-ID: 5M3YnyIOW8C

--HG--
extra : rebase_source : 5bd060db73c9f531bef0599d3e916e8a79d43e18
2016-10-13 10:41:24 -04:00
Jan-Ivar Bruaroey fb49e07898 Bug 1284910 - Add scary boolean to mediaDeviceInfo. r=jesup
MozReview-Commit-ID: 2A7QZgUQH8l

--HG--
extra : rebase_source : 15f534bd11d1b8bb4e85de7bc8cac45c99654ce4
2016-09-29 15:37:25 -04:00
Andi-Bogdan Postelnicu df2baaebfd Bug 1308868 - Add ignore-initialization-check annotation to mPosition and mLine from TextTrackCue. r=giles
MozReview-Commit-ID: AYPnCUEtMrE
2016-10-18 15:52:54 +03:00
Gerald Squelart 206f9a0404 Bug 1263665 - Block libav < 54.35.1 - r=jya
MozReview-Commit-ID: HgTXlDnj2Gw

--HG--
extra : rebase_source : c579cdc2bc0d0cde58da0dd621e8c09f74bc59eb
2016-09-21 00:04:12 -07:00
Andreas Farre 7d049815d5 Bug 1309916 - Add missing namespace qualifier for BlobImpl. r=baku
MozReview-Commit-ID: 1RolRKrrZbc
2016-10-13 09:01:00 +02:00
Chia-hung Tai 6cbbd57bb8 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : 0fa06adf8dcf25e8403f4d82413684a7eb3332e1
2016-10-03 17:48:03 +08:00
Kate McKinley 26490f6904 Bug 1310955 - Fix nsSiteSecurityService cache retrieval r=ckerschb,keeler
MozReview-Commit-ID: 55DpKrqcL1x

--HG--
extra : rebase_source : 5e068cc70c45dd1844a0e59559875cde659f202a
2016-10-18 20:09:15 +09:00
JW Wang d30c88bef8 Bug 1309111 - Some macros are not expanded correctly by MSVC. r=gerald
MozReview-Commit-ID: BGJXOgslSt8

--HG--
extra : rebase_source : a62efe2e0653f009a7010e5c95dcbb09bed2213b
extra : source : f8a392e8034e1ca216aaf7084f860b0a03e021eb
2016-10-11 13:28:56 +08:00
JW Wang dd4edf6409 Bug 1307725. Part 8 - move DonePrerolling{Audio,Video} into DecodingState. r=kikuo
MozReview-Commit-ID: I173Qo7hH9X

--HG--
extra : rebase_source : 5d23e1c4599953644098b852cc6e413b554cc9ee
extra : source : c6f967679de1d4c6595de0bd8f27add588af5a6d
2016-10-05 17:40:01 +08:00
JW Wang 2484a7a911 Bug 1307725. Part 7 - move mIsPrerolling into DecodingState. r=kikuo
MozReview-Commit-ID: kHNnGepY53

--HG--
extra : rebase_source : 9f826ff50bfa6c8f282e18bd90d658dac64082c5
extra : source : ae8c423b9095e9ff71b9854bb865451f54e9c949
2016-10-05 17:30:38 +08:00
JW Wang 315755870d Bug 1307725. Part 6 - move mIsPrerolling out of MDSM::DumpDebugInfo(). r=kikuo
MozReview-Commit-ID: 3BkJIRcW5oV

--HG--
extra : rebase_source : 88a3ad0826af41564543811de1e0adfd072c2d69
extra : source : ba8d9d4ef2058de81aaeb9e6ce661d50cd90af43
2016-10-05 17:28:13 +08:00
JW Wang 8d17e94aef Bug 1307725. Part 5 - move the check of mIsPrerolling out of MaybeStartPlayback(). r=kikuo
Note CompletedState doesn't need to check this flag because prerolling should be done when entering the COMPLETED state.

MozReview-Commit-ID: 4Z7mFYf7wdR

--HG--
extra : rebase_source : fba2f8dfb7544225531e8b816154205d42cf9784
extra : source : 3335ed64b39859a2211017a5794ff46da2ce605c
2016-10-05 17:21:47 +08:00
JW Wang 6281d1257d Bug 1307725. Part 4 - move MaybeStopPrerolling() into DecodingState. r=kikuo
MozReview-Commit-ID: JiedugPhOMU

--HG--
extra : rebase_source : ec9f7e8c9d1291c64a2353ce9e00bf0cb5758c59
extra : source : 3e4313fc7b0f31f84faa64008103e9cc3b378f13
2016-10-05 17:15:27 +08:00
JW Wang e32e3565ca Bug 1307725. Part 3 - add StateObject::HandleWaitingForData to handle NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA. r=kikuo
MozReview-Commit-ID: 9SO9cwVMQK7

--HG--
extra : rebase_source : 098fe3aa4caa0b6f8f5a678a5cb220c8adfe3bbc
extra : source : 9677486f5f15509c721f2b496e1a7f6cc7b9a0bf
2016-10-05 17:11:41 +08:00
JW Wang 7b87fa2df9 Bug 1307725. Part 2 - handle prerolling in DecodingState::HandleEndOfStream() and move it to the public section. r=kikuo
MozReview-Commit-ID: DMlLV8KLXvQ

--HG--
extra : rebase_source : ece3213b5c2c1179bb1ec7bacb6fc7989a5702bb
extra : source : 871ad4af55ba397aa71508e404753c4057924f93
2016-10-05 17:07:55 +08:00
JW Wang 19ec826989 Bug 1307725. Part 1 - add StateObject::HandleAudioCaptured() to handle audio capture. r=kikuo
MozReview-Commit-ID: JoBQSte4MML

--HG--
extra : rebase_source : 93797079202f53f3bf6ade898ec0177e274e09d2
extra : source : a9a8e198d82df3c1d95d8e5ba67a4096028c77a7
2016-10-05 17:03:08 +08:00
JW Wang b387fd9352 Bug 1308603 - add some assertions to debug crash. r=kaku
MozReview-Commit-ID: DpWRbgwIzla

--HG--
extra : rebase_source : 07e54af87c5d9f13cdf05dad8d3e112bc2dc08cc
extra : source : 7761cbb3e9aae1756bc4cbc2acc6452c7e3d40a2
2016-10-11 11:11:42 +08:00
Jan-Ivar Bruaroey cfc1a09d64 Bug 1308605 - Fail with OverconstrainedError on bad constraint. r=jesup
MozReview-Commit-ID: JJ1Y3G5b1wl

--HG--
extra : rebase_source : 0ac85ff7c2438aef4ea9e6230fb3816148993fb6
2016-10-12 17:31:20 -04:00
Wes Kocher 2337995bb0 Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
Wes Kocher 2142de26c1 Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Wes Kocher 3770ad1b24 Merge inbound to m-c a=merge 2016-10-12 14:23:33 -07:00
Andrea Marchesini 4f20f137bf Bug 1309139 - Get rid of NS_NewDOMMessageEvent, r=smaug 2016-10-12 15:17:10 +02:00
Andrea Marchesini 19a783cce8 Bug 1308667 - WorkerPrivate::QueueRunnable can be used by any parent thread; assertion fixed, r=bkelly 2016-10-12 15:15:04 +02:00
J. Ryan Stinnett 3befba8d87 Bug 1308955 - Remove leftover invocations of ContentPanning. r=kanru
MozReview-Commit-ID: CKMEILwr0WV

--HG--
extra : rebase_source : 4434b1df5585b650c2c5285e18aeace98c80e0ab
2016-10-10 10:52:23 -05:00
Carsten "Tomcat" Book 6c0aec63b8 Merge mozilla-central to mozilla-inbound 2016-10-12 12:03:34 +02:00
Carsten "Tomcat" Book 2844380bd4 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
2016-10-12 12:01:48 +02:00
Carsten "Tomcat" Book f21768dc9c Backed out changeset aa789d732c6c (bug 1309299) for wpt-4 test failures on own test 2016-10-12 08:49:30 +02:00
Chris Pearce b34a32e0bb Bug 1309299 - make navigator.requestMediaKeySystemAccess() reject with TypeError for empty keysystem string or config. r=gerald
This makes us match the spec and pass more cases of
http://www.w3c-test.org/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html
but we still need to adjust the test so that it's consistent, as pointed out
by bz.

MozReview-Commit-ID: KEfRk4QnJKR

--HG--
extra : source : a54ae0c94eefcf30270abad6463ed0becd0331db
2016-10-11 10:37:34 -07:00
Phil Ringnalda 6182caa3b9 Backed out 2 changesets (bug 1278136) for failures in no-stacking-context-opacity-removing-animation-in-delay.html
Backed out changeset 62cf4a7d6007 (bug 1278136)
Backed out changeset 5f2db29e67ca (bug 1278136)

MozReview-Commit-ID: K9WcZFjL2XB
2016-10-11 20:40:36 -07:00
Sotaro Ikeda 1d3ceeff04 Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
Hiroyuki Ikezoe d7f92dae54 Bug 1278136 - Part 5: Create a stacking context for opacity/transform animations even if it's in delay phase and even if the property is overridden by !important rules. r=birtles
This patch introduces a new functions named HasEffectiveAnimationOfProperty.
This function checks that a given CSS property is overridden by !important
rules.
On the other hand, now KeyframeEffetReadOnly::HasAnimationOfProperty() does
just check that the effect has a given CSS property.  This is used to create
a stacking context because we should create a stacking context for opacity or
transform animations even if the property is overridden by !important rules.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-12 09:59:03 +09:00
Kearwood (Kip) Gilbert ae21916d63 Bug 1306422 - VRDisplay.exitPresent must only be allowed by content that started VR Presentation,r=gwright
- While fixing the VRDisplay.exitPresent to resolve fail its returned
  promise, I noticed that VRDisplay.isPresenting is returning the global
  state of the VRDisplay.  I have updated this as well in the patch so
  that the isPresenting attribute only returns true for VR presentations
  started within the same Javascript context.
2016-10-11 15:26:57 -07:00
Kearwood (Kip) Gilbert ed12a4e09a Bug 1306468 - Remove VRDisplay.getImmediatePose,r=smaug,r=gwright
- The WebVR 1.1 Spec update has removed the VRDisplay.getImmediatePose function.
2016-10-11 15:01:02 -07:00
Michelangelo De Simone 6b31140392 Bug 1309030 - Remove DOM/identity and related code. r=Ehsan
MozReview-Commit-ID: 2v2ZCSoX4Mz

--HG--
extra : rebase_source : 72cbccd1f59758e290294bfcca56523372978120
2016-10-10 13:55:16 -07:00
Morris Tseng caefbd2d51 Bug 1304767 - Deprecated ImageBitmapRenderingContext.transferImageBitmap. r=Ehsan
Deprecated ImageBitmapRenderingContext.transferImageBitmap and replaced
it with ImageBitmapRenderingContext.transferFromImageBitmap.

MozReview-Commit-ID: BbNgKrluhT7

--HG--
extra : rebase_source : 2aa3dbfc3acc5d8b1e451111ddbb2cac63f40433
2016-10-07 17:14:34 +08:00
Jean-Yves Avenard 02a3f88827 Bug 1285883: Limit how many frames we will parse to detect HE-AAC. r=kamidphish
MozReview-Commit-ID: JJEGomJZLio

--HG--
extra : rebase_source : d9b1f1770f3e2a345cc3709ee33efddd00e115f6
2016-10-07 13:49:42 +11:00
Wes Kocher ccdd87c2f4 Backed out changeset 8559d0b32326 (bug 1309299) for causing a wpt test to fail a=backout CLOSED TREE 2016-10-11 16:49:55 -07:00
Chris Pearce 2f576c0089 Bug 1309299 - make navigator.requestMediaKeySystemAccess() reject with TypeError for empty keysystem string or config. r=gerald
This makes us match the spec and pass more cases of
http://www.w3c-test.org/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html
but we still need to adjust the test so that it's consistent, as pointed out
by bz.

MozReview-Commit-ID: KEfRk4QnJKR

--HG--
extra : rebase_source : feba0407aa8742b58b8f976bf31a494ea65c5319
2016-10-11 10:37:34 -07:00
Bryce Van Dyk 0b2ecfd134 Bug 1309035 - Addresses insufficient fix from Bug 1307016 by converting to unicode before ascii. r=maja_zf
Bug 1307016 attempted to address issues with output not being ascii and thus
being incompatible with terminals on test machines. However my changes in that
bug introduced two issues:
- They introduced a bug where field names were being read from an incorrect
  source.
- They attempted to construct a string internally then converted that string to
  ascii replacing non-ascii chars. This is an issue as in python 2 strings are
  implicitly ascii, so the initial conversion to a string would fail if the
  underlying object couldn't be represented as ascii.

Both of these issues are addressed here. The first by fixing the bad source in
the code, the second by converting to unicode for the intermediate
representation.

MozReview-Commit-ID: HC6Fd9TLRe2

--HG--
extra : rebase_source : bb7493b9074baa0273fb4110465f8bd13477f1d6
2016-10-11 10:02:16 +13:00
Andreas Pehrson 0a4fb06422 Bug 1305601 - Increase test_gUM_mediaElementCapture_tracks.html timeouts to 50 seconds. r=jib
MozReview-Commit-ID: 1wY3Y3MxPGA

--HG--
extra : rebase_source : baf14a09ffc0cb6767199beddee8136b01376e86
2016-10-11 17:22:26 +02:00
kearwood c7632b77c1 Bug 1306415 - Part 2: Add VRFrameData to test_interfaces.html,r=smaug
--HG--
extra : rebase_source : 6bfb046d8b9653a9e5f58a2fbed7f658a9cc3ac4
2016-10-06 13:28:37 -07:00
Steven Englehardt 226661a0bc Bug 1277803 - Part 5 : A test to verify the loadingPrincipal of favicon loads. r=ckerschb 2016-10-12 17:32:11 +08:00
Tim Huang caaf3e63f4 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-12 17:32:05 +08:00
Tim Huang 0ceca5575d Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-10-12 17:32:03 +08:00
Jessica Jong 19414ca429 Bug 1295403 - Implement the step attribute for <input type=week>. r=smaug 2016-10-07 15:04:54 +08:00
Thomas Wisniewski a8940b87e6 Bug 1305928 - Part 2: Only allow <svg>, <math>, XUL, and HTML elements to requestFullscreen. r=smaug 2016-10-11 12:04:59 -04:00
J.C. Jones 91e424db5d Bug 1306142 - Unchecked return code in U2F. r=keeler
The U2F.cpp code fails to test all returns from CryptoBuffer.Assign(),
leading (when OOM) to potentially empty registration keys (during Register),
or empty attestations (during Sign).

This is a protocol violation, and forced testing at Dropbox,
u2fdemo.appspot.com, and u2f.bin.coffee show that those Relying Parties'
implementations properly error out if the registration or attestation is empty,
as would happen in this instance.

As this is only on an OOM condition, it's not really feasible to add an
automated test.

Also catches one other Assign() that isn't properly returning
"NS_ERROR_OUT_OF_MEMORY".
2016-10-07 16:48:55 -07:00
Kearwood (Kip) Gilbert 423a243482 Bug 1306415 - Part 1: Implement VRFrameData and VRDisplay.getFrameData,r=smaug,r=dmu
MozReview-Commit-ID: HlZUtZ7iZb5

--HG--
extra : rebase_source : 2d5de1522c0b06aa49d5a0ad3fe2170fff78ec37
2016-09-30 16:43:33 -07:00
David Anderson 43c76f1bba Use CrashReporterHost/Client in the GPU process. (bug 1278717 part 3, r=billm) 2016-10-11 14:25:41 -07:00
David Anderson 45fe47d352 Add a PCrashReporter alternative that uses shmem instead of IPDL. (bug 1278717 part 1, r=billm) 2016-10-11 14:25:17 -07:00
Kearwood (Kip) Gilbert 3c70cd899e Bug 1306429 - Remove VRPose.timestamp,r=smaug
- VRPose.timestamp has been removed with WebVR 1.1
- Has been replaced with VRFrameData.timestamp

MozReview-Commit-ID: 8hHRQ0SrMVk
2016-09-30 16:43:28 -07:00
Randell Jesup 07c0f87e39 Bug 1306940: Use a pref to disable system-load monitoring in webrtc calls r=pkerr 2016-10-11 15:40:06 -04:00
Neil Deakin 0c8bb0cb96 Bug 1308479, use [NSApp isFullKeyboardAccessEnabled] to get keyboard access state, r=mstange 2016-10-11 14:13:36 -04:00
Boris Zbarsky 259fd6811e Bug 1308675. Fix the XHTML serializer's handling of self-closing tags inside <pre> to correctly keep track of our mPreLevel. r=ehsan
The test change makes sure the test actually tests this codepath.  The resulting
test changes are all due to the test now recognizing <pre> as preformatted.
2016-10-11 13:49:39 -04:00
Andrea Marchesini 68662fa565 Bug 1308073 - Remove app:// specific special cases in XHR, r=ehsan 2016-10-11 19:00:55 +02:00
Chris Pearce ef74aeb8a8 Bug 1308076 - Use PsshParser to validate CENC init data. r=jwwang
Now that we can link gmp-clearkey's PSSH parser into Gecko, we can
simply use that inside MediaKeySession to validate that the CENC
init data matches the spec.

This change enforces that CENC init data uses the common system Id.
As far as I can tell, Widevine only uses that now.

MozReview-Commit-ID: HrlKQHcv5DI

--HG--
extra : source : f61138f1030e87026eb432e83d36e46c81e55b33
2016-10-06 23:17:44 +13:00
Chris Pearce a52e1adba5 Bug 1308076 - Validate keyids json format. r=smaug
Use a WebIDL dict to define the "keyids" EME init data format, and
then use that to parse and validate incomint "keyids" EME init data
and ensure it's in the expected JSON format, i.e.:

https://w3c.github.io/encrypted-media/format-registry/initdata/keyids.html

This means we now pass the "generateRequest() with too short key ID."
case of encrypted-media-generate-request-disallowed-input.html
(upstream that is, our local copy of that WPT is out of sync).


MozReview-Commit-ID: 6W7j2a9Bg7E

--HG--
extra : source : fed2a26df89a5c2a600a6e6d1ab63ab86706fc45
2016-10-06 17:57:08 +13:00
Chris Pearce 1678efebbf Bug 1308076 - Basic validation of EME initData. r=jwwang
Implement more of MediaKeySession.generateRequest() to validate initData before
passing to CDM.

Also throw TypeErrors when initData is not valid, as per the spec.

Only trivial validation happens here, I'll add more comprehensive validation in
subsequent patches.

MozReview-Commit-ID: 3jTOsJNvRDo

--HG--
extra : source : d023aec75d1ef1486116510efcc31e2b587e6e50
2016-10-06 17:54:36 +13:00
Boris Zbarsky 4d59f9aa76 Bug 1309239. Fix the codegen for a cached DOM getter to not worry about Xrays if the interface doesn't want Xrays (i.e. is not mainthread-exposed). r=baku 2016-10-11 10:32:37 -04:00
Stone Shih 1063903850 Bug 1304315 - [Pointer Event] Make all pointer events's default width/height to 1. f=bevistseng. r=smaug,masayuki. 2016-09-21 16:26:21 +08:00
Carsten "Tomcat" Book 04666adb7d Merge mozilla-central to mozilla-inbound 2016-10-11 13:02:37 +02:00
Sotaro Ikeda c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Carsten "Tomcat" Book cd1be634c9 merge mozilla-inbound to mozilla-central a=merge 2016-10-11 12:01:35 +02:00
Michelangelo De Simone a35ec87644 Bug 1306779 - Remove DOM/fmradio and related code. r=jst
MozReview-Commit-ID: EAoALauFEco

--HG--
extra : rebase_source : fd3b9963f27f2fd2ae76538eff489d9783eee6a6
2016-10-03 16:22:41 -07:00
J.C. Jones 6981fcdfd8 Bug 1281932 - Fix intermittent u2f tests r=keeler
This is reworking the U2F tests to do two things:

1) Don't run all the tests in one big frame; that makes it hard to tell
   what test is actually dying in Treeherder.
2) Fix the obvious possible test races with the async functions which could be
   causing the intermittent

- Review updates per keeler
- Change inappropriate uses of 'var' to 'let' in u2futil.js (kudos, keeler)
- Rework frame_no_token.html to follow the same pattern as the others
- Catch unexpected messages on the u2f testing harness
- Update 2: Go back to a pre-set number of expected async tests.

MozReview-Commit-ID: 6uLt5O1lUa3

--HG--
rename : dom/u2f/tests/test_frame_appid_facet.html => dom/u2f/tests/frame_appid_facet.html
rename : dom/u2f/tests/test_frame_appid_facet_insecure.html => dom/u2f/tests/frame_appid_facet_insecure.html
rename : dom/u2f/tests/test_frame_appid_facet_subdomain.html => dom/u2f/tests/frame_appid_facet_subdomain.html
rename : dom/u2f/tests/test_frame_register.html => dom/u2f/tests/frame_register.html
rename : dom/u2f/tests/test_frame_register_sign.html => dom/u2f/tests/frame_register_sign.html
extra : rebase_source : 1255bd8ba17a141c3c8205a277c06c483540de90
2016-10-10 17:06:31 -07:00
Phil Ringnalda 8bd6563760 Merge m-c to autoland 2016-10-10 19:12:47 -07:00
Phil Ringnalda 25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Boris Zbarsky 695f3ad671 Bug 946906 part 9. Add tests for the new [Cached] setup on Xrays. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 13514334ba Bug 946906 part 8. When getting a cacheable property off a DOM Xray, cache it on the Xray's expando object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 13a81b596c Bug 946906 part 7. Forbid using [Cached] or [StoreInSlot] with [NewObject]. r=bholley
This guarantees that an interface type returned from a [Cached] or [StoreInSlot]
getter must be wrappercached, because non-wrappercached things can only be
returned from [NewObject] getters or methods.
2016-10-10 18:16:26 -04:00
Boris Zbarsky fba67a8141 Bug 946906 part 6. Clear the relevant slots on Xray expandos when clearing cached slots on a DOM object. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 8070de70a2 Bug 946906 part 5. Use the codegenned JSClass, if available, when creating Xray expando objects. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky bb0814b5d3 Bug 946906 part 4. Codegen Xray expando JSClasses for DOM objects with [Cached] or [StoreInSlot] members. r=bholley 2016-10-10 18:16:26 -04:00
Boris Zbarsky 7f2945874f Bug 946906 part 3. Create a macro for declaring Xray expando classes, and move the default Xray expand class definition to bindings code. r=bholley 2016-10-10 18:16:25 -04:00
Ehsan Akhgari f3346119eb Bug 1308943 - Remove the code used to notify the soft update in the right app; r=baku
This code was originally added in bug 1225121.
2016-10-10 16:58:33 -04:00
Boris Zbarsky 0b7535dfdc Bug 1269052 part 3. Implement isSecureContext for worker scopes. r=bkelly 2016-10-10 15:09:00 -04:00
Boris Zbarsky e5598c42f7 Bug 1269052 part 2. Add IsSecureContext on nsPIDOMWindowInner. r=bkelly 2016-10-10 15:09:00 -04:00
Boris Zbarsky 1b99ad6387 Bug 1269052 part 1. Introduce the WindowOrWorkerGlobalScope mixin in webidl. r=bkelly 2016-10-10 15:09:00 -04:00
Andi-Bogdan Postelnicu 0631839b00 Bug 1308871 - removed dead code from nsXMLContentSerializer::SerializeAttr. r=baku
MozReview-Commit-ID: AxxLN41TvZc

--HG--
extra : rebase_source : 4c1c411f4069a5ce62dfe6ff102ff78475384e9f
2016-10-10 13:14:42 +03:00
Carsten "Tomcat" Book b23a9f71a4 merge mozilla-inbound to mozilla-central a=merge 2016-10-10 11:55:47 +02:00
Brian Birtles b813bcffe5 Bug 1302973 - Store timelines on document; r=smaug
MozReview-Commit-ID: KHtAq0VgPZW

--HG--
extra : rebase_source : 7daa2a4202f489308981e9cff02e2d7f3bf92c1e
2016-10-09 22:36:56 +09:00
Ehsan Akhgari 7276f21d9a Bug 1308267 - Part 3: Remove b2g interfaces from test_serviceworker_interfaces.html; r=baku 2016-10-09 17:45:08 -04:00
Ehsan Akhgari e9c3e33c50 Bug 1308267 - Part 2: Remove b2g interfaces from test_worker_interfaces.html; r=baku 2016-10-09 17:44:23 -04:00
Ehsan Akhgari 02de98992a Bug 1308267 - Part 1: Remove b2g interfaces from test_interfaces.html; r=baku 2016-10-09 17:44:23 -04:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Jan-Ivar Bruaroey 6668691c20 Bug 1304597 - Remove hardcoded capabilities on OSX that are no longer used r=jesup
MozReview-Commit-ID: 4vENDI1Q9U1
2016-10-07 11:35:07 -04:00
Sebastian Hengst ec33d1d3c5 Backed out changeset 4865541c610a (bug 1308039) 2016-10-07 21:38:57 +02:00
Sebastian Hengst c69cc39eb3 Backed out changeset cf4c2f956c4c (bug 1308039) 2016-10-07 21:38:50 +02:00
Bill McCloskey 931c2f9bf4 Bug 1308039 - Preempt GC to paint (r=mrbkap) 2016-10-07 12:26:22 -07:00
Bill McCloskey 8a80388d4a Bug 1308039 - Add AutoAssertOnBarrier to painting code (r=mrbkap) 2016-10-07 12:26:20 -07:00
Kartikaya Gupta 8d70bf45ca Bug 1291381 - Enable touch tests on Windows. r=botond
MozReview-Commit-ID: 3zmGDCFLUgF
2016-10-07 15:10:53 -04:00
Kartikaya Gupta 758d479cf5 Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
Eric Rahm 22057781f4 Bug 1307216 - Remove warning about non-existent plug-in registry key. r=bsmedberg
It's possible the plugin key doesn't exist, there's no need to warn about that.

MozReview-Commit-ID: Law8J9zUHCt

--HG--
extra : rebase_source : d80ac46094c55281490659d622a4cdd8c2a95c86
2016-10-04 10:18:17 -07:00
Kit Cambridge e1271e1b81 Bug 1308590 - Link to references in the Push encryption error strings. r=flod
MozReview-Commit-ID: 9NPmNHoytrc

--HG--
extra : rebase_source : 1d0b8b075d178aab98941190b7177a66442d12ee
2016-10-07 11:48:58 -07:00
Ehsan Akhgari 7cbf03adb5 Bug 1307730 - Disallow CORS fetches when we have an expanded principal; r=bzbarsky
It's not possible to construct a useful Origin header when we have
an expanded principal and are about to perform a CORS fetch.  Therefore,
instead of sending a CORS fetch with an |Origin: null| header, we
must fail the request.
2016-10-07 12:47:11 -04:00
Gerald Squelart 0e173b53b1 Bug 1176218 - p13. Reject Resolutions that are too big for Windows' decoder - r=jya
The WMFDecoderModule can override Supports(TrackInfo) to reject resolutions
that we know are too big for the platform decoder.

MozReview-Commit-ID: dU905wjZcJ

--HG--
extra : rebase_source : 40e5987deeffff652a88264f157391c0dbc0a2da
2016-10-07 15:51:34 +11:00
Gerald Squelart 413e411d7c Bug 1176218 - p12. Use new PDM's Supports(Trackinfo) in MP4Decoder - r=jya
MP4Decoder can translate the new MediaContentType into the relevant TrackInfo
to interrogate PDMs about codec support, with extra information if present.

MozReview-Commit-ID: K0jcYm8pJrp

--HG--
extra : rebase_source : e809824285a85035b81ad7f91406bce6393384f6
2016-10-07 15:51:22 +11:00
Gerald Squelart a583c59045 Bug 1176218 - p11. PDM's Supports(TrackInfo) - r=jya
Add a new method alongside SupportsMimeType, which takes a TrackInfo that may
contain more information that just the MIME type.

Eventually the old SupportsMimeType should be removed, but we keep it for now,
as it is used quite extensively and it would be out of scope of this bug to
totally replace it now.

MozReview-Commit-ID: LJQBvSUB6J2

--HG--
extra : rebase_source : 6f43bf61dc6e51de3714c9a556428c7ba4fd484d
2016-10-07 15:30:30 +11:00
Gerald Squelart c1e9d969fe Bug 1176218 - p10. VideoUtils' CreateTrackInfo*() - r=jya
Create a TrackInfo (VideoInfo or AudioInfo) from a codec MIME type, and
optionally with extra parameters from a MediaContentType.

MozReview-Commit-ID: JfDMQjVgCNT

--HG--
extra : rebase_source : 10eb8f14ce28a74883752c536b2312658bc0cb4d
2016-10-07 17:39:32 +11:00
Gerald Squelart 700d804c16 Bug 1176218 - p9. Pass MediaContentType to MP4Decoder::CanHandleMediaType - r=jya
Just passing the new MediaContentType struct, with no processing changes (yet).

MozReview-Commit-ID: KZ4xkCihPb1

--HG--
extra : rebase_source : e40eb72cc63e0a814306c25ea9b609178517729e
2016-10-01 18:10:18 +10:00
Gerald Squelart 9aaeb961ad Bug 1176218 - p8. Use MediaContentType in DecoderTraits - r=jya
MozReview-Commit-ID: G0Blu5qOpwD

--HG--
extra : rebase_source : dc9a771d1e7b84828903d7d3e72732d8c66752ca
2016-10-01 18:09:50 +10:00
Ryan VanderMeulen 0e77532d02 No bug - Increase the fuzz for fillText-with-filter-opacity-2.html slightly to make Win10 happy.
--HG--
extra : rebase_source : aa4ac567cd64b1f137b8b4a080e3909b67aa6630
extra : histedit_source : 0e31aa085314664a39b7375199668d16e7d312f9
2016-10-06 19:50:42 -04:00
John Dai efa715302c Bug 1275839 - Implement CustomElementsRegistry whenDefined function. r=wchen 2016-10-07 02:16:00 -04:00
Ryan VanderMeulen 38574eeac5 Merge m-c to inbound. a=merge 2016-10-07 09:44:29 -04:00
Ryan VanderMeulen 7ebb50e21d Merge inbound to m-c. a=merge 2016-10-07 09:42:25 -04:00
Phil Ringnalda c21623fc42 Merge m-c to m-i
MozReview-Commit-ID: Kp60wHZauGi
2016-10-06 20:26:20 -07:00
Iris Hsiao e6ab0adc40 Backed out changeset d283c59402ce (bug 1277803)
CLOSED TREE
2016-10-07 11:24:08 +08:00
Iris Hsiao dd43a4748d Backed out changeset 1d88072cf36a (bug 1277803)
CLOSED TREE
2016-10-07 11:23:59 +08:00
Iris Hsiao 596b8e86ce Backed out changeset 76788d4f83ce (bug 1277803)
CLOSED TREE
2016-10-07 11:23:40 +08:00
Phil Ringnalda fd7b7476c2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 93ZdJbK1x05
2016-10-06 19:58:18 -07:00
Yoshi Huang 2a51f65d99 Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Yoshi Huang 00f6846c07 Bug 1301649 - nits for bug 1260931. r=smaug
- use MOZ_ASSERT_IF
- always call inherit function
2016-10-07 17:42:03 +08:00
Yoshi Huang 06ba09a073 Bug 1264137 - Part 3: perform ContentPolicy check if the load is happening on this docshell. r=bz, smaug 2016-10-07 17:40:21 +08:00
Matt Woodrow 67cd537af3 Bug 1300682 - Part 6: Use SharedThreadPool for GPU process decoders. r=dvander 2016-10-07 21:13:33 +13:00
Matt Woodrow a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Matt Woodrow 52a583a261 Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical 2016-10-07 21:13:32 +13:00
Randell Jesup 7b209b91b2 Bug 1299324: return error if an audio channel is already open until multi-mic support is done r=jib 2016-10-06 21:40:44 -04:00
Catalin Badea afc2be9e7b Bug 1307900 - Fix spelling mistake in browserElement_Manifestchange.js. r=jdm
MozReview-Commit-ID: 1z8N75jJXLw

--HG--
extra : rebase_source : 0d7884362358b6e6d94b75f01c6c856b7cf7741f
2016-10-05 15:18:56 -04:00
Kilik Kuo 55bf555b74 Bug 1303922 - Part 2: Remove KeyStatusChanged/ForgetKeyStatus IPDL messages. r=cpearce
MozReview-Commit-ID: Flx2SQI7lM0

--HG--
extra : transplant_source : %40p%5C%C3%06%D0m%0C/%7B%0C%5B%A2%93o%F6%A1%1B%00%7D
2016-10-04 17:19:53 +08:00
Kilik Kuo 4d162fcd4a Bug 1303922 - Part 1: Make EME keystatuschanged information notified in batch. r=cpearce
MozReview-Commit-ID: IeExaQ62qTF

--HG--
extra : transplant_source : t%D4%AFxu%D6%40%F8hU%D2%94%D4q8q%EDy%08-
2016-10-04 17:18:46 +08:00
Phil Ringnalda ef58a75ffd Merge m-c to autoland 2016-10-06 20:24:09 -07:00
Alastor Wu 10174cc9eb Bug 1308119 - replace nsIAudioChannelAgent with AudioChannelAgent. r=baku
Since I want to use more agent's functions in MediaElement and I don't think these functions need to be exposed on IDL level. (for other languages binding)

Therefore, I want to use AudioChannelAgent directly in MediaElement.

MozReview-Commit-ID: 43FvDeLpZPt

--HG--
extra : rebase_source : 78741d791eb66cfb6223866ce823f217e3438fdb
2016-10-07 10:35:01 +08:00
Alastor Wu c861a7e452 Bug 1302084 - the error checking should have highest priority. r=baku
MozReview-Commit-ID: 9QC5CG7p28M

--HG--
extra : rebase_source : dfbe93739c2dbe6b8e6640fd9ef54a8c1f4dd040
2016-10-06 12:07:33 +08:00
Alastor Wu 0331c39ab1 Bug 1303554 - part2 : remove the b2g specific checking in IsCurrentlyPlaying(). r=baku
MozReview-Commit-ID: 5kUJc24uEIH

--HG--
extra : rebase_source : b1b059a0b3d579f301d3aa9bde336ecf86fadd02
2016-10-05 10:07:54 +08:00
Alastor Wu 94f2fcca3d Bug 1303554 - part1 : notify start-playing after having enough data. r=baku
Regression by bug1262053 because of removing the current playing checking.
It would cause that the media control on Fennec shows too early and some media
elements would also generate the media control even it doens't have available
source.

Therefore, I think we still need to add this checking back.

MozReview-Commit-ID: 1m1ywmLmpSe

--HG--
extra : rebase_source : 30741b0e7bf1bb15349caaf1ecbcdad8cd92dcc3
2016-10-05 10:07:49 +08:00
Hiroyuki Ikezoe 22ccc8580a Bug 1308369 - Use longer duration to avoid intermittent failure. r=birtles
MozReview-Commit-ID: 1PVKWIPm23B

--HG--
extra : rebase_source : a38ca5ec5651842e65ef3866d5f2bfb83c904cf1
2016-10-07 10:48:56 +09:00
Gerald Squelart 1176084978 Bug 1176218 - p7. Hide CanHandle{Media|Codecs}Type - r=jya
These methods don't need to be exposed anymore.
They are still used in the cpp, so we keep them there as static functions.

MozReview-Commit-ID: F1BxEFzj7Re

--HG--
extra : rebase_source : 458b92a2b8987007ed68f32bbf26eaf4cf46742f
2016-09-26 16:01:59 +10:00
Gerald Squelart 2ac92a119f Bug 1176218 - p6. Move ShouldHandleMediaType down the cpp - r=jya
Just moving a function, it will help review upcoming changes in the next patch.

MozReview-Commit-ID: Ilbhinse9C6

--HG--
extra : rebase_source : 1a62ac51fbb33c5cc19f58b34ede28e91fa96d0a
2016-09-26 16:02:59 +10:00
Gerald Squelart 72c393635b Bug 1176218 - p5. Use DecoderTraits::CanHandleContentType in MediaSource - r=jya
Replace both uses of nsContentTypeParser with MediaContentType.

MozReview-Commit-ID: KV7ze3ASRf3

--HG--
extra : rebase_source : b3d102b02fa671d0a42d70ae7fe66bdd51ac5d86
2016-09-29 23:10:15 +10:00
Gerald Squelart 05ae515444 Bug 1176218 - p4. Use DecoderTraits::CanHandleContentType in HTMLMediaElement - r=jya
MozReview-Commit-ID: IQFvgI6h1tE

--HG--
extra : rebase_source : 11bcd26aaf0fd74fb02416b1d0c9b4c2b5d73345
2016-09-26 13:31:57 +10:00
Gerald Squelart cc9b7da0e1 Bug 1176218 - p3. Add DecoderTraits::CanHandleContentType - r=jya
Instead of taking MIME&codecs strings, CanHandleContentType takes an
MediaContentType, which can be used to access these and other parameters.

MozReview-Commit-ID: 14Cg6JoQS0g

--HG--
extra : rebase_source : 85b8e852f004b2728b06831c43b33ee4e7aebe52
2016-09-26 16:43:16 +10:00
Gerald Squelart 80a0086ece Bug 1176218 - p2. New MediaContentType class to parse content type string - r=jya
Collect all parsed parameters in a handy MediaContentType structure.

MozReview-Commit-ID: DlnilsmO1eP

--HG--
extra : rebase_source : 823717a46e698342dce0f9e0b5bbfab21281297d
2016-10-07 17:38:44 +11:00
Gerald Squelart f600196067 Bug 1176218 - p1. Constify nsContentTypeParser::Get... methods - r=froydnj
GetType() and GetParameter() don't actually modify the nsContentTypeParser
object, so we can make them const.
It makes it possible to pass the parser as a const-ref, which I think makes
sense as getters (even those doing some actual work) are usually const.

MozReview-Commit-ID: 9vmqKbmt8y8

--HG--
extra : rebase_source : d07371c8cdcf116952bffafad0cd6cda78f59b20
2016-10-04 16:19:15 +11:00
Kilik Kuo 34516e1303 Bug 1308121-Handle unrecognized content type parameter when trying to get supported capability. r=cpearce
MozReview-Commit-ID: GqSjn6BjhTi

--HG--
extra : rebase_source : 9aa4f67b99c376d1b525e72ef60b3cdcdaa68b4d
2016-10-07 00:45:27 +08:00
Richard Barnes ea829544cd Bug 1308951 - Add a pref to whitelist specific domains as SecureContexts r=ckerschb,jcj
MozReview-Commit-ID: AxihCLsBNRw

--HG--
extra : rebase_source : bd2800c65af839ef67f4ca9a841f08884ac9c539
2016-10-10 11:32:24 -04:00
Dan Minor 3133a6e0d7 Bug 1291715 - Add pref for DTMF; r=jib,smaug
MozReview-Commit-ID: Kl6xNKvif8K

--HG--
extra : rebase_source : 0497774c5febcd0a61eb78b22d0aeaa6e460ebbe
2016-09-20 07:10:17 -04:00
Dan Minor 7e187ca258 Bug 1291715 - Add mochitest for DTMF; r=jib
MozReview-Commit-ID: 4acq5uMLxe9

--HG--
extra : rebase_source : c9eb56f65858ee43f9defa63d11ad9a049b629a8
2016-09-29 15:05:33 -04:00
Carsten "Tomcat" Book 2a3218cb9a Merge mozilla-central to autoland 2016-10-18 10:45:57 +02:00
Kit Cambridge a69ba96059 Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.

MozReview-Commit-ID: JRdGHBUodmb

--HG--
extra : rebase_source : 8f1b047b6f01c89a852aefbb1349a608f1178ab8
2016-10-05 08:57:52 -07:00
Kit Cambridge fb5b58f401 Bug 1301469 - Handle exceptions thrown by `PushCrypto.decodeMsg` as decryption errors. r=mt
Previously, errors thrown by `decodeMsg` and `getCryptoParams` would
bubble up to the catch handler in `receivedPushMessage`, causing us to
report "ACK_NOT_DELIVERED" instead of "ACK_DECRYPTION_ERROR" in the ack
sent to the server.

MozReview-Commit-ID: FZFzYdebQGy

--HG--
extra : rebase_source : b21f15cc9ac12ff11496d4f63ee531c021bd7a29
2016-10-05 08:56:55 -07:00
Jean-Yves Avenard 8ad335efb0 Bug 1305347: [MSE] Break removal loop early when possible. r=gerald
MozReview-Commit-ID: 2Pl3drov8tT

--HG--
extra : rebase_source : ccf512533b71315400bf5db77147d47a4e342162
2016-10-06 17:32:39 +11:00
Dan Minor 9999c967d0 Bug 1291715 - Add RTCDTMFSender to PeerConnection.js; r=jib
MozReview-Commit-ID: 4vm6c5Chjof

--HG--
extra : rebase_source : 712b188c1b1f5cf599a2cda28aaa70914b652a83
2016-09-29 13:26:04 -04:00
Dan Minor 621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Andi-Bogdan Postelnicu 454d1e68fa Bug 1308208 - remove redundant null check from GridLines::SetLineInfo. r=baku
MozReview-Commit-ID: 55lIk7Klh4I

--HG--
extra : rebase_source : b60609990e5a9c88cb9a6227af1f210cf1333ca1
2016-10-06 19:05:46 +03:00
Carsten "Tomcat" Book 06332a09b7 Merge mozilla-central to autoland 2016-10-06 12:29:44 +02:00
Carsten "Tomcat" Book 7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Ting-Yu Lin bc5a26efde Bug 1307252 - Hide the carets when the selection is made by select all. r=kanru,kats
The mochitest for clipboard still needs the mozbrowsercaretstatechanged events,
so we disable "layout.accessiblecaret.hide_carets_for_mouse_input".

MozReview-Commit-ID: CD03lmjwUa9

--HG--
extra : rebase_source : 530d241764d55ed6507f993511c74cf820195283
2016-10-05 15:46:36 +08:00
JW Wang cb38cbf0c1 Bug 1308066 - remove mLowDataThresholdUsecs. r=kikuo
MozReview-Commit-ID: ZM2v6rsX2U

--HG--
extra : rebase_source : 7ed0c0ab322a7aef65c81fd768829e25f0ef1d5e
2016-10-05 16:17:17 +08:00
JW Wang bee52b4e3b Bug 1308065 - move mBufferingWait into BufferingState. r=kikuo
MozReview-Commit-ID: 9xs2OKcmg95

--HG--
extra : rebase_source : 00ad9a85c83f346d7a32e8f6e1a762e06a44b1a4
2016-10-05 16:15:17 +08:00
dhouse@mozilla.com a7ad6a382a Bug 1307904 - "received" r=jdm
MozReview-Commit-ID: GM6IyKELMiO

--HG--
extra : rebase_source : aa0176500658e5cc9e00c080d08bbbc13e745bdd
2016-10-05 13:24:16 -06:00
Ethan Glasser-Camp 320a1b9240 Bug 1307898 - Fix typo, r=jdm
MozReview-Commit-ID: kKrJ66cEGB

--HG--
extra : rebase_source : 559b7b51e8abab0edab79420fe54cf6376cd54ab
2016-10-05 15:19:10 -04:00
Brad Werth 85d6a9d42e Bug 1307896 - Fixed spelling of "receive" in the assert messages. r=jdm
MozReview-Commit-ID: HdHQFV9yXG3

--HG--
extra : rebase_source : 9058c573ad5a41931e67fbe8d3ea84e7a5a6f67e
2016-10-05 12:16:02 -07:00
JW Wang 4e27fc1b6b Bug 1307699. Part 9 - replace mCurrentSeek with mSeekJob. r=kaku
MozReview-Commit-ID: KJVP7BExVEm

--HG--
extra : rebase_source : a090ebc066a3cae2ee4ba8ca1dc5d2e7e1f224fa
2016-10-05 15:33:44 +08:00
JW Wang 011da0beb5 Bug 1307699. Part 8 - move mCurrentSeek into SeekingState. r=kaku
MozReview-Commit-ID: LXzyK4U01VG

--HG--
extra : rebase_source : 7db01e3f68d57a0d0890b6032ab93d92cf9b1372
2016-10-05 15:25:56 +08:00
JW Wang 4723b76a55 Bug 1307699. Part 7 - remove null-checks for mSeekTask which is guaranteed to be non-null by Enter(). r=kaku
Also we don't nullify mSeekTask in Exit() because the state object will be deleted soon after Exit().

MozReview-Commit-ID: 9wTJ5yiZbhD

--HG--
extra : rebase_source : 88a0f6aecc32b0a36949048c68cb34a27192a361
2016-10-05 15:18:31 +08:00
JW Wang d621001b59 Bug 1307699. Part 6 - remove comments that are no longer valid. r=kaku
MozReview-Commit-ID: 3HYk4raLgDh

--HG--
extra : rebase_source : 4485f674814a71774f8af96a27aab76c82edeb9c
2016-10-05 15:15:57 +08:00
JW Wang 24c5c9be4b Bug 1307699. Part 5 - move mSeekTask into SeekingState. r=kaku
MozReview-Commit-ID: AdVCoOPDG4F

--HG--
extra : rebase_source : 02c2ae4aab3e083ea25b660e263d0f96583c7b14
2016-10-05 14:59:24 +08:00
JW Wang 52c66ad894 Bug 1307699. Part 4 - move DiscardSeekTaskIfExist() into the exit action of SeekingState. r=kaku
MozReview-Commit-ID: 9FDgZLHg8Wj

--HG--
extra : rebase_source : a9bd00682c8de6dae29a5ca0e9e5fd7988341cfe
2016-10-05 14:47:13 +08:00
JW Wang 96d4a513a3 Bug 1307699. Part 3 - move SeekCompleted() into SeekingState. r=kaku
MozReview-Commit-ID: BNeIC69LEtu

--HG--
extra : rebase_source : c80e18486eb65de18c17602e2305d59dbf071ebe
2016-10-05 14:39:26 +08:00
JW Wang 92b36d6e4d Bug 1307699. Part 2 - move mSeekTaskRequest into SeekingState. r=kaku
MozReview-Commit-ID: 8FrGqEDgclk

--HG--
extra : rebase_source : e0f437d9372e5ade1a3a0e98e808a163d130c10f
2016-10-05 14:28:26 +08:00
JW Wang fe89153acd Bug 1307699. Part 1 - move OnSeekTaskResolved/OnSeekTaskRejected into SeekingState. r=kaku
MozReview-Commit-ID: 7n9MSGxduZK

--HG--
extra : rebase_source : 7ee888ea5152e8ee3e9a06ea4c90ee2ee741ca79
2016-10-05 14:22:54 +08:00
Jean-Yves Avenard 5205ad7fdd Bug 1307013: Error once number of errors reach threshold. r=gerald
MozReview-Commit-ID: L6hI7CRSCCF

--HG--
extra : rebase_source : bf2cdba33e552e0aacc49a2c767352659bda1145
2016-10-06 16:31:35 +11:00
Jean-Yves Avenard 4a7fd611df Bug 1301869: P1. Only add SPS/PPS on the first keyframe. r=cpearce
When we add SPS/PPS NAL in front of each keyframe data, this somehow makes the WMF decoder to misbehave and to always return an invalid timestamp.

MozReview-Commit-ID: 2SzTiwP0ii1

--HG--
extra : rebase_source : b499c83d504df772e6d722053630ff4d92306d4f
2016-10-06 11:38:52 +11:00
Bryce Van Dyk 1d5b357b30 Bug 1307016 - Have puppeteer __str__ encode fields to ascii. r=maja_zf
At least some of the environments the tests are running in do not appear to play
nice with non-ascii characters. Some of the jenkins runs are currently unhappy
due to this. This patch sees that all fields are encoded as ascii with
non-compatible characters replaced.

MozReview-Commit-ID: 6qSCyUujMLE

--HG--
extra : rebase_source : bb19b261b10aeb9bb9a47a2d47fefc7604000430
2016-10-03 11:56:50 +13:00
Aaron Klotz 5a833e9437 Bug 1304449: Part 2 - Modify ContentParent to obtain/release MSAA ids; r=jimm
MozReview-Commit-ID: 4FJVpe3I1Qt

--HG--
extra : rebase_source : a3376503157afdb4f6b2ed0dd808287a61554852
2016-09-26 16:17:58 -06:00
Xidorn Quan cd39706e9b Bug 1306696 part 3 - Exit fullscreen in non-e10s when no fullscreen request is proceeded. r=smaug
MozReview-Commit-ID: AKCwRqAImc6

--HG--
extra : rebase_source : 4658c04e2977247cada192a990d87c32eaa44833
extra : source : ddb10aa484cc28f5b4b3913e32baad8d0419fb79
2016-10-06 10:48:32 +11:00
Phil Ringnalda 0e26fa186a Backed out changeset 3851e5f51530 (bug 1299489) for unfathomable bustage of Linux32 debug test_peerConnection_capturedVideo.html
CLOSED TREE

MozReview-Commit-ID: I6HSmVRtucs
2016-10-05 19:25:24 -07:00
Michael Layzell 025811ca63 Bug 1299489 - Change nsTArray to use a custom iterator based on index instead of pointers to improve iterator invalidation safety of ranged for loops, r=froydnj
MozReview-Commit-ID: CahPOcRYvES
2016-10-05 11:54:51 -04:00