Commit Graph

55603 Commits

Author SHA1 Message Date
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
Stone Shih
e64b507923 Bug 1304290 - Part 1: Add a helper function to run test in a new window. r=smaug
MozReview-Commit-ID: 4nLTUSbkYlH

--HG--
extra : rebase_source : 7e3de68f808a8c248feae0b85f44eac191809b92
extra : histedit_source : 82dc7190b9436f2ac6c730176dff0aac7cd35070
2016-09-21 14:46:44 +08:00
Andrea Marchesini
e865eab7d6 Bug 1308956 - Get rid of MessagePortList - part 2 - files removed, r=smaug 2016-10-13 15:19:52 +02:00
Andrea Marchesini
b88af2e644 Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug 2016-10-13 15:19:24 +02:00
Sotaro Ikeda
39fa68003d Bug 1309802 - Supress warning r=jya 2016-10-13 06:10:31 -07:00
Andrea Marchesini
793b227795 Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug 2016-10-13 14:33:07 +02:00
Andrea Marchesini
913b042e06 Bug 1309832 - Remove warning message in nsHostObjectProtocolHandler.cpp, r=smaug 2016-10-13 13:43:21 +02:00
Gijs Kruitbosch
bece3c3421 Bug 1308090, r=jrmuizel
MozReview-Commit-ID: A0wlb1qtk9r

--HG--
extra : rebase_source : c3bc7fc3fffc7f3d321aea9c0f7c582f55d3bfc7
2016-10-06 15:59:15 +01:00
Carsten "Tomcat" Book
85979d0405 Merge mozilla-central to mozilla-inbound 2016-10-13 11:58:40 +02:00
Carsten "Tomcat" Book
802e7b16f9 merge mozilla-inbound to mozilla-central a=merge 2016-10-13 11:53:49 +02:00
Jean-Yves Avenard
393d5d4fe1 Bug 1305876: P3. Make function members const. r=gerald
MozReview-Commit-ID: 6R9Y9ofjKp8
2016-10-13 18:59:17 +11:00
Jean-Yves Avenard
eb41ff60cb Bug 1305876: P2. Do not modify internal data when calculating buffered ranges. r=gerald
MozReview-Commit-ID: 29WJozhIrEP
2016-10-13 18:59:17 +11:00
Jean-Yves Avenard
b835f66b3a Bug 1305876: P1. Add diagnostic assert to more easily identify issue. r=gerald
MozReview-Commit-ID: BJhHLHRhnQw
2016-10-13 18:59:17 +11:00
Hiroyuki Ikezoe
ff84f76fce 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.

Note about no-stacking-context-(opacity|transform)-removing-animation-in-delay.html
Before this patch we don't create any stacking context for animations overridden
by !important rules, but after this patch we do create a stacking context for
such animations.  As a result, in the test case we did paint a stacking context
in the first rAF callback and then in the second rAF callback we did clear the
painted stacking context. Unfortunately sometimes the second rAF callback was
called prior to clear the stacking context on the compositor because of
compositor delay. To avoid this situation, we have to wait for MozAfterPaint
instead of rAF callback.

MozReview-Commit-ID: AG1Y0IgoB3U
2016-10-13 16:54:25 +09:00
Steven Englehardt
f4e92ab657 Bug 1277803 - Part 5 : A test to verify the loadingPrincipal of favicon loads. r=ckerschb 2016-10-13 15:44:00 +08:00
Tim Huang
b05fe5b871 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-13 15:43:56 +08:00
Tim Huang
372ec56ff4 Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-10-13 15:43:54 +08:00
Cameron McCormack
c1f0ee12ba Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
MozReview-Commit-ID: 6yOIKKl8npT

--HG--
extra : rebase_source : 247787a0e18640c878e461c4b600bc36a40bad6d
2016-10-13 15:04:19 +08:00
Cameron McCormack
58c32a9088 Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.

MozReview-Commit-ID: 994gE9tOjAn

--HG--
extra : rebase_source : 2d50059e51b42251c89a92a954cef7b49720ceba
2016-10-13 15:04:15 +08: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
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