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

489177 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt a624f81f28 Bug 1298246 - Update documentation for APZ IPDL protocols. r=kats
MozReview-Commit-ID: 6IYNycFmu7z

--HG--
extra : rebase_source : 917aecd0b7dafc09db21c6993eb6eca0f01a8eba
2016-08-25 16:42:55 -07:00
Taahir Ahmed 265b20404d Bug 1068605 - Add recovery instruction for MRandom. r=nbp
--HG--
extra : rebase_source : 1520d5e42379440909f6c71d26d364a010f69dd8
2016-08-26 15:02:00 -04:00
Honza Bambas e4eacf065d Bug 956338 - Add checks to WeakPtr/nsWeakReference and related classes to assert single-thread usage. r=nfroyd
--HG--
extra : rebase_source : 140fa149eb94f027e9319a44be0bbee34648222a
2016-08-01 13:16:16 +02:00
Kevin Chan 41a98432d0 Bug 1283704 - Use .goBack() instead of contentWindow.history.back() to avoid CPOW usage in browser_bug812562.js. r=mconley
--HG--
extra : rebase_source : f69705f21b1be284a9d3d3e073b3309c26586965
2016-08-24 21:10:00 -04:00
Haik Aftandilian 3c44a5f111 Bug 1290619 - Content sandbox rules should use actual profile directory, not Profiles/*/ regexes. r=jimm
Passes the profile dir to the content process as a -profile CLI option so
that the correct profile dir can be used in the OS X content sandbox rules.
Only enabled on OS X for now.

On Nightly, profile directories will now be read/write protected from the
content process (apart from a few profile subdirectories) even when they
don't reside in ~/Library.

MozReview-Commit-ID: rrTcQwTNdT

--HG--
extra : rebase_source : d91d8939cabb0eed36b640766756548a790a301c
2016-08-25 15:19:52 -07:00
Thomas Wisniewski 4e499d41bb Bug 918751 - Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=annevk
--HG--
extra : rebase_source : e5e744656e6ae819e7f4f9f01491ce1d2d2a40b7
2016-08-23 11:49:50 -04:00
Sumit Tiwari 2d087c6ce8 Bug 1295034 - Assertion failure when sorting TypedArrays constructed under JIT; r=mrrrgn
--HG--
extra : rebase_source : 4a981a957a3f61b6c4fe1984d733f44935cacdf1
extra : amend_source : da1b0fefa8cfa23107a127bfd02c7d3831aa3a3f
2016-08-25 14:20:24 -07:00
L. David Baron 6e37c27e75 Bug 1290825 - Reject various things that aren't user-action pseudo classes when they follow pseudo-elements. r=bz
The existing code, from bug 922669, in ParsePseudoSelector that allows
things to come after a pseudo-element requires that the first character
after the pseudo-element be a colon.  However, this doesn't forbid
things like ::-moz-color-swatch:hover#foo, which need to be errors in
ParseSelector; those tests are added here.  Furthermore, the
error-checking in ParsePseudoSelector doesn't prevent the pseudo-element
from being followed by a :not() or by an additional pseudo-element; to
fix that this patch moves the error tests out of the pseudo-class
condition and also has it test !isPseudoClass.

Without the patch, the tests produced the following failures:
TEST-UNEXPECTED-FAIL | layout/style/test/test_selectors.html | selector ::-moz-color-swatch:not(.foo) was a parser error - got "1402", expected "auto"
TEST-UNEXPECTED-FAIL | layout/style/test/test_selectors.html | selector '::-moz-color-swatch:not(.foo)' plus EOF is parse error
followed by a crash due to:
Assertion failure: !(IsPseudoElement() && (mIDList || mAttrList)) (If pseudo-elements can have id or attribute selectors after them, specificity calculation must be updated), at /home/dbaron/builds/ssd/mozilla-central/mozilla/layout/style/StyleRule.cpp:503 in CalcWeightWithoutNegations
from the "::-moz-color-swatch:hover#foo" test.

With that test commented out (and still without the code changes), there
is instead an additional pair of failures from the following test:
TEST-UNEXPECTED-FAIL | layout/style/test/test_selectors.html | selector .foo::after:not(.bar) ~ h3 was a parser error - got "1406", expected "auto"
TEST-UNEXPECTED-FAIL | layout/style/test/test_selectors.html | selector '.foo::after:not(.bar) ~ h3' plus EOF is parse error
along with a failure due to an unexpected assertion:
###!!! ASSERTION: Shouldn't have negations: '!selector->mNegations', file /home/dbaron/builds/ssd/mozilla-central/mozilla/layout/style/nsCSSRuleProcessor.cpp, function AddRule, line 3415

With the patch, the tests pass.

MozReview-Commit-ID: KxAFSQtPVhu
2016-08-29 11:43:30 -07:00
L. David Baron dfe11b3205 Bug 1251075 - Add test that dynamic change of transform when will-change:transform is set doesn't reconstruct frames. r=bz
Without the patch (or, rather, with the new code in nsStyleContext::CalcStyleDifferenceInternal commented out), the second of the tests added fails:
TEST-UNEXPECTED-FAIL | layout/style/test/test_change_hint_optimizations.html | adding a transform style to an element with filter: blur(3px); should not cause frame reconstruction even when the element has absolutely positioned descendants - got 34, expected 28

The first of the new tests doesn't fail without the patch because
will-change:transform influences HasTransformStyle.  However, since that
case is probably the most important one, it still seems worth testing
explicitly.

With the patches, both tests pass.

MozReview-Commit-ID: 8n7QKGxd3j6
2016-08-29 11:43:30 -07:00
L. David Baron 611f172de6 Bug 1251075 - Optimize away nsChangeHint_UpdateContainingBlock in nsStyleContext::CalcStyleDifference when possible. r=bz
MozReview-Commit-ID: 4Owobm1vZLn
2016-08-29 11:43:29 -07:00
L. David Baron 155cf7f9b8 Bug 1251075 - Split out the parts of nsStyleDisplay::Is{Abs,Fixed}PosContainingBlock that don't depend on the frame. r=bz
The fact that HasTransform() depends on the frame requires the *Internal
functions rather than simply having the public function that takes a
frame call the public function that takes a style context.

MozReview-Commit-ID: CcWZjDTIr52
2016-08-29 11:43:29 -07:00
Kartikaya Gupta fd9d34fba8 Bug 1298313 - Revert the third patch from bug 1256339 because it broke long-press context menus in non-e10s mode. r=backout
MozReview-Commit-ID: FZEbH0TlY8L
2016-08-29 14:29:57 -04:00
Nathan Froyd ed976e566d Bug 1298882 - ensure mozilla/mscom/Utils.h is included with uniform casing; r=aklotz
We install mozilla/mscom/Utils.h, but include it with an all-lowercased
path in some places.  clang-cl warns about this, and even though this is
Windows-only code and will therefore work, it's better to make
everything consistent.
2016-08-29 21:55:37 -04:00
Nathan Froyd 6d0ffbfa26 Bug 1298840 - declare dependent type with typename in ParamTraits<COMPtrHolder<Interface, _IID>>; r=aklotz
MSVC lets this slide, but clang-cl complains about the missing typename.
2016-08-29 21:47:03 -04:00
Sebastian Hengst ae4deca30b Backed out changeset 115f3bbe634f (bug 1278562) for asserting in bug1091757.js of spidermonkey root analysis. r=backout 2016-08-29 19:44:34 +02:00
Sebastian Hengst a9ed9ffd5d Backed out changeset 6b4c0101e717 (bug 1278562) 2016-08-29 19:43:00 +02:00
Sebastian Hengst 3d67c09702 Backed out changeset 035cd4aa6771 (bug 1278562) 2016-08-29 19:42:56 +02:00
Sebastian Hengst f47f9fc73c Backed out changeset b231da97c3b6 (bug 1278562) 2016-08-29 19:42:51 +02:00
Sebastian Hengst 3ecf13b856 Backed out changeset f7b3de279ec8 (bug 1278562) 2016-08-29 19:42:47 +02:00
Jim Mathies 954d619dbb Bug 1286306 - Remove temporary assertion now that we have a test. r=aklotz
MozReview-Commit-ID: Cg2MjRGIjCO
2016-08-11 09:11:16 -05:00
Randell Jesup a974d905be Bug 1297808: Limit combined size of RTCP APP packets r=drno 2016-08-29 13:23:51 -04:00
Ryan VanderMeulen 1c0c6ec5d4 Merge m-c to inbound. a=merge 2016-08-29 12:56:19 -04:00
Nathan Froyd 286887898c Bug 1297801 - part 4 - use non-null-checked operator new in IPDL code; r=billm
The standard placement new function requires a null check, implicitly
generated by the compiler, on its returned value.  For places we know
don't deal with null pointers, such as all the generated methods of IPDL
code, we can use an overloaded operator new that doesn't require the
null check.
2016-08-29 20:41:22 -04:00
Nathan Froyd 72439d5587 Bug 1297801 - part 3 - make mozilla::ipc::Trigger 4 bytes instead of 8; r=billm
We construct Trigger structures for every IPDL send and recv to run
the (currently defunct) IPDL state machine for each protocol.  These
structures are 64 bits to hold an enum that could be represented in 1
bit and an IPDL message enum that can easily be represented in 31 bits.
Therefore, we can make the Trigger structure smaller by storing the
members as bitfields, rather than full-width integers.  (The message
enums are formed from a 16-bit protocol enum and a 16-bit
protocol-specific message enum; since the protocol enum goes in the
upper bits, we'd need 32768 protocols to overflow the bitfield we're
using in Trigger...a number that we're not going to hit anytime soon.)

This change saves ~15K of space on x86-64 Linux.
2016-08-29 20:41:22 -04:00
Nathan Froyd fda65898ab Bug 1297801 - part 2 - make IPDL Transition functions take an inout parameter for State; r=billm
The calls to IPDL Transition() functions consistently look like:

  Transition(VAR, ..., &VAR);

We can save space by only passing &VAR and deriving the state we're
coming from by loading VAR in Transition itself.  It's not great using
inout parameters here, but we call Transition enough times that this
change saves a reasonable amount of space: about 10K on x86-64 Linux.
The unsightliness of inout parameters here is lessened by the only
callers of Transition being generated code.
2016-08-29 20:41:22 -04:00
Nathan Froyd a8474a5f11 Bug 1297801 - part 1 - commonize the managee->array functions in IPDL generated code; r=billm
There's no reason to generate identical code for every kind of managed
protocol; we can have a single instance that operates on void* and cast
our way to victory.  This change saves ~60K of text on x86-64 Linux.
2016-08-29 20:41:22 -04:00
Ryan VanderMeulen 416afe2f23 Merge inbound to m-c. a=merge 2016-08-29 12:48:10 -04:00
Neil Deakin 3e94bf69d0 Bug 1297909, improve handling when option elements are hidden inside a select, r=mconley 2016-08-29 12:34:45 -04:00
Ryan VanderMeulen 8b0f132c86 Merge fx-team to m-c. a=merge 2016-08-29 12:31:32 -04:00
Boris Zbarsky 29cf04bde6 Bug 986459. The error event in a worker (firing at the worker's global) should have the original exception value in its .error property. r=baku 2016-08-29 12:30:51 -04:00
Ryan VanderMeulen 590377a51f Merge autoland to m-c. a=merge 2016-08-29 12:22:29 -04:00
Ryan Hunt 4cf9d87ff1 Bug 1298638 - Check if mAPZEventState is null. r=kats
MozReview-Commit-ID: E6fx5zVUzIU
2016-08-29 12:16:13 -04:00
Maire Reavy 4dedc5176a bug 1297951: Add Sylaps to whitelist r=jesup 2016-08-29 12:01:25 -04:00
Henrik Skupin 0dd403224a Bug 1298772 - Bustage fix for firefox-ui-update tests for billboard removal. r=me, a=testonly
MozReview-Commit-ID: 1XQBuCpFFkx
2016-08-29 12:13:39 +02:00
Sebastian Hengst 45f10692c2 Backed out changeset 125b052639cb (bug 1241867) for assertion in test_contentViewer_overrideDPPX.html. r=backout 2016-08-28 00:46:39 +02:00
ffxbld a2812fa126 No bug, Automated blocklist update from host bld-linux64-spot-561 - a=blocklist-update 2016-08-27 05:56:56 -07:00
ffxbld 21ac721516 No bug, Automated HPKP preload list update from host bld-linux64-spot-561 - a=hpkp-update 2016-08-27 05:56:54 -07:00
ffxbld a2da90fae1 No bug, Automated HSTS preload list update from host bld-linux64-spot-561 - a=hsts-update 2016-08-27 05:56:51 -07:00
Kai Engert 02e277f76d Bug 1293329, land NSPR_4_13_BETA2, r=ted 2016-08-27 11:06:04 +02:00
Takashi Kawanaka 491499da43 Bug 1291061 - Pass const StyleAnimationValue& to CreateStyleContextForAnimationValue r=birtles
MozReview-Commit-ID: 6PJzBBWSgwQ
2016-08-27 15:27:38 +09:00
Kohei Okuda 5acbf0adda Bug 1293567 - Remove unnecessary call to MaybeUpdateAnimationRule in nsAnimationManager. r=birtles
MozReview-Commit-ID: 2Qdx7nk5fjL
2016-08-27 14:28:24 +09:00
Yusuke Endho 0f4c1508cb Bug 1297000 - Modify comparison of zero TimeDuration to use TimeDuration object rather than converting to milliseconds; r=birtles
MozReview-Commit-ID: DIccqtDb91u
2016-08-27 16:53:33 +09:00
Yuri Kazuna 3a366477e0 Bug 1291481 - Represent direction enum as uint8_t in LayersMessages.ipdlh; r=birtles
MozReview-Commit-ID: 9RcyYqsdsaB
2016-08-27 16:50:29 +09:00
Saheda Reza Antora 91d723340e Bug 1298016 - Identity popup's security view footer color changed to inherit instead of using ButtonText; r=dao 2016-08-27 09:17:34 +02:00
George Wright b04020febc Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical 2016-08-26 20:30:58 -04:00
Seth Fowler a5b5245612 Bug 1298551 - Respect CachedSurface::SetLocked() even if the underlying ISurfaceProvider is always locked. r=dholbert 2016-08-26 17:03:25 -07:00
Seth Fowler f8818933fa Bug 1296828 (Part 3) - Update SurfaceCache API to rely on ImageKeys and SurfaceKeys stored on ISurfaceProviders. r=dholbert 2016-08-26 17:03:19 -07:00
Seth Fowler f9e85bafb2 Bug 1296828 (Part 2) - Store ImageKeys and SurfaceKeys directly on ISurfaceProviders. r=dholbert,edwin 2016-08-26 17:03:17 -07:00
Seth Fowler 8f4ebfcf90 Bug 1296828 (Part 1) - Use ImageKey consistently in SurfaceCache. r=dholbert 2016-08-26 17:03:15 -07:00
Wes Kocher cbdf3625fa Merge m-c to inbound, a=merge 2016-08-26 16:32:56 -07:00