Commit Graph

285408 Commits

Author SHA1 Message Date
L. David Baron
d5e0278a54 Back out changeset b5ec7338bddf (bug 1236789) on a CLOSED TREE for causing assertions on most (but not all) debug test runs. 2016-02-24 15:45:40 -08:00
Jean-Yves Avenard
05ebec7baa Bug 1249904: Use content-range values to determine length if content-length is unknown. r=roc
While currently unused, the functionality of mByteRange was preserved.
To avoid unforeseen regressions, we only error on an invalid Content-Range response if mByteRange was set, otherwise the error is ignored and code proceed as before.

MozReview-Commit-ID: BRiO633uTh7
2016-02-25 10:02:53 +11:00
Blake Kaplan
2db708974f Bug 1219097 - Stop using incorrect CPOWs in these tests. r=felipe 2016-02-24 14:26:07 -08:00
Mike Hommey
6ab3f2d98e Bug 1250294 - Make configure a Python script that invokes the old configure.sh. r=ted 2016-02-25 07:22:33 +09:00
Kartikaya Gupta
5666042d93 Bug 1240133 - Reduce width of displayport on desktop. r=botond
MozReview-Commit-ID: 3t0he6jc8ep
2016-02-24 17:12:51 -05:00
Joel Maher
0999b8f250 Bug 1250630 - remove PBackgroundTest and ifdef ENABLE_TEST blocks. r=khuey
MozReview-Commit-ID: 8LKHyjKWrkd
2016-02-23 11:55:50 -08:00
Sebastian Hengst
cbafe3d7b5 Backed out changeset 24309d9b5c7e (bug 1250767) for Windows bustage. r=bustage on a CLOSED TREE 2016-02-24 22:51:02 +01:00
Sebastian Hengst
9a4281e905 Backed out changeset 59ee7ae2519d (bug 1250767) 2016-02-24 22:50:51 +01:00
Sebastian Hengst
e184b409ec Backed out changeset 796b681561a7 (bug 1250767) 2016-02-24 22:50:40 +01:00
Bas Schouten
e83469ef7c Bug 1232042 - Addendum: Add comment for mLayerManager check. r=jrmuizel 2016-02-24 21:24:26 +00:00
Bas Schouten
7599726722 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Bobby Holley
99e952ab5f Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz 2016-02-24 13:01:18 -08:00
Bobby Holley
a817a64b59 Bug 1250767 - Add support for hanging servo node data off Gecko nodes. r=heycam,r=bz 2016-02-24 13:01:15 -08:00
Bobby Holley
a09ec4bb1c Bug 1250767 - Basic Servo Bindings. r=heycam 2016-02-24 13:01:04 -08:00
James Willcox
692497f475 Bug 1230645 - Enable MSE/WebM on Android r=ajones 2016-02-24 14:58:33 -06:00
Robert O'Callahan
b83baff009 Bug 1236789. Avoid creating an unnecessary thread pool thread for tail-dispatch in TaskQueue. r=bholley
MozReview-Commit-ID: H1rhQPBU00L
2016-01-05 16:35:17 +13:00
Jonathan Kew
e26d39772c Bug 1249861 - Update harfbuzz to release 1.2.2 from upstream. r=jrmuizel 2016-02-24 20:54:53 +00:00
Terrence Cole
ba2da896cc Bug 1249367 - Make background finalization a GC phase (and clean up Zones properly); r=jonco 2016-02-22 08:51:50 -08:00
Nathan Froyd
1d0a3cc8f3 Bug 1249389 - followup - fix compilation bustage in gfxFT2FontList.cpp; r=me 2016-02-24 15:48:35 -05:00
Steve Fink
dd4d216fca Bug 1243231 - Implement a taskcluster-based b2g hazard build, r=garndt,terrence 2016-02-22 17:09:02 -08:00
Nathan Froyd
003cd26d24 Bug 1249389 - part 7 - clean up calls to GetBuffer in TestStartupCache; r=erahm
With the previous patch, we're able to eliminate some raw pointer usages
in TestStartupCache, which is always nice.
2016-02-18 14:57:14 -05:00
Nathan Froyd
64bfbcf251 Bug 1249389 - part 6 - provide UniquePtr overload for nsIStartupCache::GetBuffer; r=erahm
The lone remaining startup cache-related uses of nsAutoArrayPtr are both
in TestStartupCache.cpp, for use with nsIStartupCache::GetBuffer.  The
uses can't use StartupCache::GetBuffer because StartupCache::GetBuffer
isn't visible outside of libxul, and TestStartupCache is a normal C++
unit test.

The Right Thing is to convert TestStartupCache to a gtest so we can see
libxul internal symbols and then delete nsIStartupCache entirely.
That's a bit complicated, as TestStartupCache doesn't fit nicely into
gtest's framework.  The simpler solution is to add a UniquePtr overload
in the interface that hides the XPCOM outparam management details.
2016-02-18 14:35:21 -05:00
Nathan Froyd
a7914619fd Bug 1249389 - part 5 - use UniquePtr instead of nsAutoArrayPtr in mozilla::scache::CacheEntry; r=erahm 2016-02-18 14:14:28 -05:00
Nathan Froyd
db6827b2c3 Bug 1249389 - part 4 - make StartupCache::GetBuffer take a UniquePtr outparam; r=erahm
This change eliminates a number of nsAutoArrayPtr usages, as well as
making the pattern GetBuffer() -> NewObjectInputStreamFromBuffer more
pleasant.
2016-02-18 12:26:28 -05:00
Nathan Froyd
22fa651d41 Bug 1249389 - part 3 - assert the size of nsZipItemPtr's storage type; r=erahm
The only uses of this class use a template argument with a size of
|char| (uint8_t and char), and the class isn't designed to accomodate
template arguments of larger size (e.g. the implementation of Forget()
neglects to divide by sizeof(T) for allocating a return buffer).  Let's
enforce this with a static_assert.  This change makes the class safer to
use and also makes future changes simpler to reason about.
2016-02-18 12:07:03 -05:00
Nathan Froyd
42baa283e9 Bug 1249389 - part 2 - change NewBufferFromStorageStream's outparam into a UniquePtr; r=erahm
Similar to the previous change to NewObjectInputStreamFromBuffer, we
want to make the ownership transfer out of NewBufferFromStorageStream
more obvious.  Doing this also lets us get rid of some uses of
nsAutoArrayPtr, which is less idiomatic than UniquePtr.
2016-02-18 12:04:40 -05:00
Nathan Froyd
d5703cb7ab Bug 1249389 - part 1 - change NewObjectInputStreamFromBuffer to take a UniquePtr argument; r=erahm
Because NewObjectInputStreamFromBuffer takes a raw pointer as input, the
typical coding pattern to use it is:

  nsAutoArrayPtr<char> buf;
  // assign something to buf
  nsresult rv = NewObjectInputStreamFromBuffer(buf, ...);
  if (NS_FAILED(rv)) {
    ...
    return rv;
  }
  buf.forget();

Which is clumsy, error-prone, and obscures the ownership transfer of the
pointer into the stream returned by NewObjectInputStreamFromBuffer.
Let's address all of these concerns by changing the argument to a
UniquePtr<char[]>.
2016-02-18 11:14:02 -05:00
Nathan Froyd
0e77154eb0 Bug 1249389 - part 0 - use getter_Transfers in TestStartupCache.cpp; r=erahm
TestWriteObject() in TestStartupCache.cpp uses this odd pattern of
acquiring a raw pointer from the startup cache, and then stashing that
raw pointer into an nsAutoArrayPtr.  We can do better by using the
getter_Transfers idiom and thereby always using the smart pointer.
2016-02-18 11:22:12 -05:00
Morgan Phillips
f623d2f931 Bug 1246215 - Console prevents let re-declaration even when first was an error; r=jryans,shu 2016-02-24 12:16:16 -06:00
Lorien Hu
7f0a527fa7 Bug 1201667 - Traverse child when retrieving proxy unignored children r=tbsaunde 2015-09-03 13:02:07 -07:00
Joel Maher
d64fd49d6a Bug 1250650 - disable mozpayment tests android. r=fabrice
MozReview-Commit-ID: 5VhJtaK6ksH
2016-02-23 12:55:10 -08:00
Robert Helmer
24172a5df8 Bug 1249689 - generate and provide a Symbol for each add-on on startup r=mossop
MozReview-Commit-ID: LoPGSrJtlkr
2016-01-11 15:35:19 -08:00
Robert Helmer
84f0238afa Bug 1249689 - replace bootstrapScope with an activeAddons Map() that contains it r=mossop
MozReview-Commit-ID: 4s3c5OOQYLv
2016-02-22 17:39:21 -08:00
Daniel Holbert
123c5edeab backout c42ff6847631 (bug 1250572) for causing aborts during startup 2016-02-24 11:54:35 -08:00
Bogdan Postelnicu
a0b679dacc Bug 1187450 - avoid leaking cstr in SPSProfiler::allocProfileString. r=jorendorff
MozReview-Commit-ID: GtBKL4M2hfm
2016-02-23 11:12:35 +02:00
Robert O'Callahan
fdfd79f773 Bug 1243623. Don't skip unregistering a table part if we have a split table. r=mats
MozReview-Commit-ID: 2GHprw8YGsx
2016-02-10 12:18:55 +13:00
Rail Aliiev
417ac81cb4 Bug 1243796 - Tracking bug for Mar-7-2016 migration work r=jlund DONTBUILD 2016-02-24 11:42:32 -08:00
Jan-Ivar Bruaroey
d37efdb75a Bug 1249860 - Add simulcast test for resolution scaling. r=bwc
MozReview-Commit-ID: LU7gUD0ycKw
2016-02-20 01:35:24 -05:00
L. David Baron
c1eb21b4f1 Bug 1250342 patch 5 - Additional comment and variable name changes that should have been in patches 1 or 3.
MozReview-Commit-ID: IniRrCKSNuZ
2016-02-24 11:06:25 -08:00
Andrea Marchesini
8b3b17e9c9 Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug 2016-02-24 20:04:37 +01:00
Andreas Tolfsen
0ca2ea624e Bug 1250102 - Employ new element location API; r=automatedtester
MozReview-Commit-ID: K831MhwAT6X
2016-02-23 15:19:21 +00:00
Andreas Tolfsen
c188659970 Bug 1250102 - Rewrite element location to be promise-compatible; r=automatedtester
Element location is rewritten with this patch in order to make it
compatible for use with promises.  This makes consuming the API nicer
in the wider context of Marionette, since it no longer takes callbacks
and no longer has to be wrapped in external promises to be compatible
with the new dispatching technique.

MozReview-Commit-ID: DjZOXPqkZ5j
2016-02-23 15:18:55 +00:00
Andreas Tolfsen
cb7c4c2028 Bug 1250102 - Turn element keys into constants; r=automatedtester
MozReview-Commit-ID: 5r6MuIcTwbJ
2016-02-23 15:03:05 +00:00
Andreas Tolfsen
b70945f01b Bug 1250102 - Correct exported symbol from testing/marionette/element.js; r=automatedtester
MozReview-Commit-ID: 9naIfpy9HPD
2016-02-23 15:01:12 +00:00
Daniel Holbert
ccaaa2d2e3 Bug 1250342 patch 4: Update & rename reftest 'text-align-true.html' to use 'unsafe' instead of 'true'. r=dbaron
MozReview-Commit-ID: vKXJ8M8GSs
2016-02-24 10:40:30 -08:00
L. David Baron
7de8ddb6da Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-24 10:40:30 -08:00
L. David Baron
a271dd015c Bug 1250342 patch 2: Rename NS_STYLE_TEXT_ALIGN_TRUE to NS_STYLE_TEXT_ALIGN_UNSAFE. r=mats
MozReview-Commit-ID: LuHepP37jtr
2016-02-24 10:40:30 -08:00
L. David Baron
76e8ab2f4e Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-24 10:40:30 -08:00
L. David Baron
d863da7884 Bug 1247929 patch 4 - Adjust reftest manifest for existing tests. r=dholbert
This reverts some of the changes made in bug 823483 patch 3 because it
turns out we don't want all of that behavior change.

MozReview-Commit-ID: Lbpi762qsbM
2016-02-24 10:40:30 -08:00
L. David Baron
98f1f2ce4d Bug 1247929 patch 3 - Reftests. r=dholbert
MozReview-Commit-ID: 95m014qFquG
2016-02-24 10:40:30 -08:00