499256 Commits

Author SHA1 Message Date
Emanuel Hoogeveen
515f250ac5 Bug 1309573 - Part 1: Define the crash reason in MFBT to let everything use it. r=froydnj
--HG--
extra : rebase_source : 12eda091c0453e067a13a80261b814128d27c45c
2016-11-06 22:57:00 -05:00
Tom Tung
542a9bacec Bug 1264178 - Part 3: Add a test in test_cache_keys and remove the added test in P1. r=bkelly
--HG--
extra : rebase_source : 1587c56ebf47bbdd3066c3d96068452887103e97
2016-11-03 16:18:08 +08:00
Tom Tung
8b030a7e26 Bug 1264178 - Part 2: Change URL's getter function from PassByReference to ReturnByReference. r=bkelly
--HG--
extra : rebase_source : d38a18c5856943b125d4a999091e4532a56934e2
2016-11-07 14:59:00 +08:00
Tom Tung
a63de77d6a Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Nicholas Nethercote
bea3aefea7 Bug 1315561 - gtestify dom/media/compiledtest/*.cpp. r=padenot.
The only complication was that I had to add namespaces to TestAudioMixer.cpp
and TestAudioSegment.cpp to avoid multiple definitions of a few small helper
functions like GetLowValue().

--HG--
rename : dom/media/compiledtest/TestAudioBuffers.cpp => dom/media/gtest/TestAudioBuffers.cpp
rename : dom/media/compiledtest/TestAudioMixer.cpp => dom/media/gtest/TestAudioMixer.cpp
rename : dom/media/compiledtest/TestAudioPacketizer.cpp => dom/media/gtest/TestAudioPacketizer.cpp
rename : dom/media/compiledtest/TestAudioSegment.cpp => dom/media/gtest/TestAudioSegment.cpp
extra : rebase_source : f42a1209b98a344c77e1245815eebc86a16866c0
2016-11-09 08:47:23 +11:00
Daniel Holbert
908e4c9fef Bug 1269017 part 6 - [css-grid] Reftests for static position of abspos grid children under influence of align-self / justify-self.
MozReview-Commit-ID: EISfuA86aUw

--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16.png => layout/reftests/w3c-css/submitted/align3/support/colors-8x16.png
2016-11-08 16:30:00 -08:00
Daniel Holbert
e8d54b0d73 Bug 1269017 part 5 - [css-grid] Tag grid placeholder children as needing CSS Box Alignment, & consolidate their placement code. r=mats
MozReview-Commit-ID: 5105oez3IO3
2016-11-08 16:30:00 -08:00
Daniel Holbert
d36239361c Bug 1269017 part 4 - [css-grid] When doing CSS Box Alignment, opt out of a CalculateHypotheticalPosition() clause that disregards placeholder's inline position. r=mats
(We don't want to disregard this position -- it's what we use to encode the
start of the alignment container for this child, when we're doing CSS Box
Alignment. So we need it to be reflected in the hypothetical position, not
disregarded.)

MozReview-Commit-ID: 28IgPn8z1Hr
2016-11-08 16:30:00 -08:00
Daniel Holbert
b48516cdb2 Bug 1269017 part 3 - [css-grid] Reduce scope of a mStaticPosIsCBOrigin check to *just* cover hypothetical-position calculation, and update comments. r=mats
Previously, I'd thought the "mStaticPosIsCBOrigin" flag was going to become
obsolete -- but now I've realized it's quite useful to avert mixup between the
coordinate space of the grid vs. the coordinate space of
grid-areas-acting-as-abspos-containing-blocks.

So, this patch clarifies/removes some stale comments about this flag, and also
pulls out some code that was unnecessarily in an "else" clause, so that it
happens regardless of whether this flag is set.

(Note: the InitAbsoluteConstraints changes are basically just code-reordering & deindentation.)

MozReview-Commit-ID: 9TFrOuldVBe
2016-11-08 16:30:00 -08:00
Daniel Holbert
e2446048f6 Bug 1269017 part 2 - [css-grid] Give grid an implementation of CSSAlignmentForAbsPosChild(). r=mats
This grid implementation is similar to the one on nsFlexContainerFrame, with a few simplifications:
 - We can simply use the LogicalAxis to decide between align-* vs justify-* prpoerties (whereas flexbox has extra abstraction from the flex axes).
 - We don't have to bother with "align-content" or "justify-content", since those apply to grid areas rather than to children. (And any grid area that's involved will be sized/positioned separately.)
 - Grid can unconditionally treat "flex-start" & "flex-end" as "start" & "end".

MozReview-Commit-ID: 9l1Wq9Cq5T0
2016-11-08 16:30:00 -08:00
Daniel Holbert
df60393385 Bug 1269017 part 1 - [css-grid] Adjust OffsetToAlignedStaticPos() to use correct alignment container for abpsos children of grid containers. r=mats
MozReview-Commit-ID: LItIGLH5GJP
2016-11-08 16:30:00 -08:00
Daniel Holbert
aeb513840f Backed out changeset b1c5df3c47a4 (bug 1316079) for busting some builds
MozReview-Commit-ID: 36Bh8P9hkF
2016-11-08 16:25:54 -08:00
Daniel Holbert
47bb95d8fc Backed out changeset 0e53345bea4f (Bug 1316079 followup) for Werror failures on ARM SpiderMonkey build
MozReview-Commit-ID: EgyqzrKBU8N
2016-11-08 16:24:58 -08:00
David Anderson
d4f66fe756 Ensure that CompositorBridgeChild retains an IPDL ref while owning a Transport. (bug 1314520, r=mattwoodrow)
--HG--
extra : rebase_source : 5b17c993e9544864928d72df6c9994e63224ea3c
2016-11-08 15:43:07 -08:00
Shu-yu Guo
31e7eccc71 Bug 1316079 - Followup: wrap forward decls of PropertyDescriptor with JS_PUBLIC_API. (r=me) 2016-11-08 15:46:05 -08:00
Shu-yu Guo
c2bdea9e4f Bug 1254893 - Forgot to commit test. 2016-11-08 15:46:05 -08:00
Shu-yu Guo
2b0e0ecf9d Bug 1312491 - Use correct JSScript getter when getting CallObject scripts during scope/env chain checks. (r=jandem) 2016-11-08 15:46:05 -08:00
Shu-yu Guo
98b40b2e41 Bug 1311316 - Fix global redeclaration check for prologue bailouts from Ion. (r=jandem) 2016-11-08 15:46:05 -08:00
Shu-yu Guo
2c0854ccc2 Bug 1308578 - Consider .this bindings of derived class constructors to be always observable. (r=jandem) 2016-11-08 15:46:05 -08:00
Bill McCloskey
612b09719c Bug 792652 - IPDL refactoring may need a clobber 2016-11-08 15:25:39 -08:00
Bill McCloskey
1429a6789b Bug 792652 - Move mId to toplevel protocol (r=dvander) 2016-11-08 15:22:55 -08:00
Bill McCloskey
16cd6076eb Bug 792652 - Move over toplevel shmem code (r=dvander) 2016-11-08 15:22:54 -08:00
Bill McCloskey
be9065397e Bug 792652 - Move toplevel actor map to IToplevelProtocol (r=dvander) 2016-11-08 15:22:53 -08:00
Bill McCloskey
ef443ad460 Bug 792652 - Move TakeMinidump to IToplevelProtocol (r=dvander) 2016-11-08 15:22:52 -08:00
Bill McCloskey
a6224b4684 Bug 792652 - Move some channel methods to IToplevelProtocol (r=dvander)
Move Open, Close, SetReplyTimeoutMs to IToplevelProtocol.
2016-11-08 15:22:51 -08:00
Bill McCloskey
4e0c0139b2 Bug 792652 - Move over toplevel process ID field (r=dvander)
Moves some state to IToplevelProtocol.
2016-11-08 15:22:49 -08:00
Bill McCloskey
57135907a4 Bug 792652 - Remove pointless OnFoo methods (r=dvander)
A bunch of these methods just delegate from OnFoo to Foo. Not
sure why we have OnFoo.
2016-11-08 15:22:48 -08:00
Bill McCloskey
bbb256b840 Bug 792652 - Move shmem methods to ProtocolUtils (r=dvander)
This patch moves some shmem management code into IProtocol. Someday
maybe we can get rid of IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead.
2016-11-08 15:22:46 -08:00
Bill McCloskey
b47737ed9f Bug 792652 - Move FatalError to IProtocol (r=dvander)
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
  C++ doesn't like there to be two virtual methods with the same name
  in cases where one is overridden and the other isn't (as happens
  in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Bill McCloskey
12585264a1 Bug 792652 - Add mSide to IProtocol (r=dvander)
This patch adds a field to hold ParentSide/ChildSide state. Useful for
later changes.
2016-11-08 15:22:43 -08:00
Bill McCloskey
f8bd2627a7 Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)
Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
2016-11-08 15:22:42 -08:00
Bill McCloskey
88c9f678a0 Bug 792652 - Move mChannel to IProtocol (r=dvander)
This moves the mChannel field to IProtocol. The toplevel protocol still keeps
its own mChannel field that's a MessageChannel (no pointer).
2016-11-08 15:22:41 -08:00
Bill McCloskey
a4ec434a63 Bug 792652 - Stop generating some simple sub-protocol methods (r=dvander)
This moves some of the generated methods in subprotocols that simply defer
to the parent protocol to IProtocol. These methods are still overridden in
the toplevel protocol.
2016-11-08 15:22:39 -08:00
Bill McCloskey
5f55831a5e Bug 792652 - Store Manager() in IProtocol (r=dvander)
This patch stores mManager in IProtocol rather than in each individual
PFoo. It also adds a generic accessor for that field. Note that each
individual protocol still defines a Manager() function that returns
PFooParent or whatever. I tried to get rid of that but it was a lot
of work.
2016-11-08 15:22:38 -08:00
Bill McCloskey
81c169c2a9 Bug 792652 - Remove methods from MessageListener (r=dvander)
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00
Bill McCloskey
5e4a576d00 Bug 792652 - IToplevelProtocol refactoring (r=dvander)
Currently toplevel protocols inherit from both IProtocolManager<IProtocol>
and IToplevelProtocol. This change makes IToplevelProtocol inherit from
IProtocol, so now toplevel protocols only inherit from
IToplevelProtocol.
2016-11-08 15:22:35 -08:00
Bill McCloskey
4e78a26c74 Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 15:22:34 -08:00
Bill McCloskey
d9f445e359 Bug 792652 - Get rid of CloneProtocol (r=dvander)
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 15:22:33 -08:00
Tooru Fujisawa
e48b1dfd12 Bug 1282788 - Add constant for the number of requests in html_content-type-without-cache-test-page.html. r=ochameau 2016-11-09 08:10:03 +09:00
Tooru Fujisawa
598cdbaef5 Bug 1316141 - Support async function in dis shell function. r=till 2016-11-09 08:10:03 +09:00
Ryan Hunt
8ee59ed7da Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander
--HG--
extra : rebase_source : 4daf0427fee802cd986d7439c0e27eddbf671311
2016-11-06 13:01:52 -06:00
Ryan Hunt
fec86bdccd Bug 1313199 - Allow sending reset compositor messages over IPDl. r=dvander
--HG--
extra : rebase_source : 6d949e758d35e40702aa8e8022a6482ed7dbe280
2016-11-06 12:56:53 -06:00
Georg Kilzer
5f284377ce Bug 1316079 - Mark JS::PropertyDescriptor as JS_PUBLIC_API to fix linking. r=luke
--HG--
extra : rebase_source : d67baba845170db24e69238b1ea46d0d76ec8aea
2016-11-08 19:36:45 +01:00
Georg Kilzer
bcdcaf9881 Bug 1315842 - Replace reference to JS::AutoIdArray and JSIdArray. r=jonco
Both were removed in Bug 1191529.

--HG--
extra : rebase_source : bc6a45ea0d37084e9ebdda39b72c22dad08ebd02
2016-11-08 15:49:21 +01:00
Kris Maglione
0ed479cc9c Bug 1315872: Add browser.test.assertRejects and assertThrows. r=aswan
MozReview-Commit-ID: DKUlSVS2EvA

--HG--
extra : rebase_source : f8e2b6cd1734fee55fa38ce8d5d683b174fe493f
extra : histedit_source : 6c34cdab5ade5130d382983ecad8d4d56f49d27e
2016-11-07 22:03:15 -08:00
Kris Maglione
9c000b319d Bug 1313956: Async all the tests. r=aswan
MozReview-Commit-ID: CyNCfEsDD42

--HG--
extra : source : efc9b52a218f7ffd40ba346de74fd846a9059ceb
2016-11-07 21:03:14 -08:00
David Keeler
28452cb319 bug 1301407 - temporarily add assertions during nsNSSComponent::Init to find out what's failing on Android r=dragana
--HG--
extra : amend_source : 1ce7c0c454d5bb26ffab1ad7ec550faa5d912240
2016-11-07 12:53:13 -08:00
Geoff Brown
1585835379 Bug 1309431 - Disable test_bug772796.html on Android only; r=me 2016-11-08 15:11:42 -07:00
Wes Kocher
41c087935b Merge m-c to inbound, a=merge 2016-11-08 14:08:34 -08:00
Wes Kocher
008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00