Commit Graph

482995 Commits

Author SHA1 Message Date
Seth Fowler
d1bd597704 Bug 1286165 (Part 1) - Allow advancing a SourceBufferIterator without an IResumable. r=edwin 2016-07-15 17:48:57 -07:00
Seth Fowler
da8a36ae22 Bug 1286170 - Handle move-assignment of SourceBufferIterators correctly. r=edwin 2016-07-15 17:48:57 -07:00
Seth Fowler
a92a8b9e06 Bug 1286168 - Add a RAII class to initialize ImageLib services in GTests. r=njn 2016-07-15 17:48:57 -07:00
L. David Baron
d6df5b5f4a Bug 1287011 - Remove preference gfx.filter.nearest.force-enabled. r=gw280
This preference was added in bug 747274, and the need for it (i.e.,
having it default to a different value on Android) was removed a few
weeks later in bug 750598.

Whether we honor the preference depends on which drawing function we go
through, which bug 720531 will make even more inconsistent than it
already is (by causing it to be honored for border-image-repeat: space,
but not other values of border-image-repeat).

Rather than trying to clean it up, it seems best to remove it, since its
initial purpose appears to have been having a different default on
Android, which we longer need.

MozReview-Commit-ID: IFW2Ukwx4fH

--HG--
extra : transplant_source : q1%22Ad%D2%AF%8E%E5%E2%257C%A3%9F%95%DB%A5%92%B2
2016-07-16 07:39:47 +08:00
Seth Fowler
4be29e46b3 Bug 1285867 (Part 7) - Clean up remaining references to decoder 'data errors' and refer to them as just 'errors'. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
905634be2b Bug 1285867 (Part 6) - Record Decoder telemetry outside of the loop. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
063f83b278 Bug 1285867 (Part 5) - Replace Decoder::mDataDone with Decoder::mReachedTerminalState. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
396c016b13 Bug 1285867 (Part 4) - Decide whether we're done decoding by checking if we've reached a terminal state. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
b1af28a2d7 Bug 1285867 (Part 3f) - Only call PostDataError() outside the loop. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
0d49568090 Bug 1285867 (Part 3e) - Use TerminalState to exit the Decode() loop. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
87c5e4a570 Bug 1285867 (Part 3d) - Rely on TerminalState to decide when to post errors inside the loop. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
1204600670 Bug 1285867 (Part 3c) - Replace the Decode() |while| loop with a |do| loop. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
e8aa76cc0d Bug 1285867 (Part 3b) - Replace the series of |if| statements in the Decode() loop with a |switch|. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
f5b3f999dd Bug 1285867 (Part 3a) - Don't attempt to keep decoding if we're already done. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
0872ad00cb Bug 1285867 (Part 2) - Don't call Decoder::PostDataError() from Decoder subclasses. r=edwin 2016-07-15 16:41:11 -07:00
Seth Fowler
3c38000891 Bug 1285867 (Part 1) - Remove Decoder's notion of decoder errors. r=edwin 2016-07-15 16:41:11 -07:00
Luke Wagner
be263565b4 Bug 1276029 - Add subset of prio.h to PosixNSPR.h so PRFileDesc can be used in SpiderMonkey (r=terrence)
MozReview-Commit-ID: JhNhUcg3eC0

--HG--
extra : rebase_source : 43f5cebebdd4ef889ec71b57f7dd4109c72fa187
2016-07-15 12:26:40 -05:00
Luke Wagner
b9795bc3cb Bug 1276029 - Baldr: provide alternative path that provides build-id (r=bbouvier)
MozReview-Commit-ID: DEUOVJAnZx2

--HG--
extra : rebase_source : 114d94fedd8674957a70534e5fa5ae0db7b00e75
2016-07-15 12:26:40 -05:00
Luke Wagner
70d041e484 Bug 1276029 - Baldr: use process-wide signal-handling-support query (r=bbouvier)
MozReview-Commit-ID: 3bS2f00Xcu

--HG--
extra : rebase_source : 28522b8a179e8528999ea0c3bd55abf3509d4b1e
2016-07-15 12:26:40 -05:00
Luke Wagner
9c830edcb0 Bug 1276029 - Baldr: change wasm::Compile to take ShareableBytes (r=bbouvier)
MozReview-Commit-ID: FvYx5JTfCXw

--HG--
extra : rebase_source : c60dfdfcdcefe3ae97e57e0c194342a430d62969
2016-07-15 12:26:40 -05:00
Luke Wagner
6c0f538c1a Bug 1276029 - Baldr: make Module RefCounted (r=bbouvier)
MozReview-Commit-ID: LCmRSVNaDHD

--HG--
extra : rebase_source : 01933eba9bd0ebf4e1885bb0fa1ecc70d8168ee7
2016-07-15 12:26:40 -05:00
Mike Hommey
fa43fb4a81 Bug 1287023 - Allow to use delayed_getattr in more cases. r=chmanchester
Until now, it's not been possible to do something as straightforward as:

option('--foo', default=delayed_getattr(milestone, 'is_nightly'))

The reason is that option's default needs what it's given, if it's a
@depends function, to depend on --help.

But we can't have every delayed_getattr add dependencies on --help,
because that would make unwanted things to depend on --help and run
when displaying the help.

Until we can totally remove --help dependencies, this change makes the
resulting @depends function created by delayed_getattr depend on --help
if the @depends function it's given already depends on --help.
2016-07-16 08:34:31 +09:00
Jeff Walden
31cd6cfe1f Bug 1282047 - Trim a loop limit from 5e5 to 1e5 so as to hopefully not time out on cgc builds. r=red, a=KWierso 2016-07-15 16:15:55 -07:00
Leo Gaspard
071a03c90c Bug 1286711 - Warn the user when no tests have run, before the TypeError. r=sstangl, a=KWierso 2016-07-15 14:34:01 -07:00
Jeff Walden
ddadb5f80b Bug 1282047 - Do a recursion check in Proxy::isArray to deal with proxies whose isArray trap recursively consumes too much stack. r=efaust over IRL
--HG--
extra : rebase_source : a442452df1dfa3d6c8e4c530fd6955dcddfb2cb3
2016-07-15 14:25:11 -07:00
Jed Davis
622813449c Bug 1286324 - Make fork() non-fatal in Linux content sandbox. r=jhector
fork() will now fail with EPERM instead of crashing; see code comment
and bug for more info.  Tested with GTK3 Oxygen theme and SCIM, which
both seem to work.  Also verified that GMP child processes still crash
on fork().

--HG--
extra : rebase_source : 267c4cb892b691502a9d7760bca4d23fee3fe449
2016-07-14 15:00:00 -04:00
Michael Li
132d906366 Bug 1286322 - Make xpcAccessibleHyperLink work with proxied accessibles. r=tbsaunde
--HG--
extra : rebase_source : d72ba51ce093d74ef41e6e5390f96f97c08ad5d8
2016-07-14 14:07:00 -04:00
Jan Horak
f1cd3790fc Bug 890908 - Move Negotiate auth off main thread. r=mayhemer
--HG--
extra : rebase_source : ca85ad4bb099845b45a276823fe1abca68d384eb
2016-07-14 03:32:00 -04:00
Hemanth Kumar Veeranki
9645dd1d36 Bug 1284844 - Reps: use quotes around text in ObjectWithText. r=me
MozReview-Commit-ID: ECn7bF3jnzK

--HG--
extra : rebase_source : fab00828cfec159145c02eb474ad8ce71987bf3d
2016-07-11 14:09:10 -04:00
Steve Chung
451e3bbbcb Bug 1283522 - Reps: support -0 grip in number rep. r=linclark
MozReview-Commit-ID: BWvMlbNdckG

--HG--
extra : rebase_source : fe9efa84f88e82cb5c0383ef87f071cf34abd85b
2016-07-13 11:37:27 +08:00
Gerald Squelart
ddbe07d2c6 Bug 1286444 - Fix types when using VideoPlaybackQuality values - r=kinetik
These numbers are only used to calculate a percentage, so they don't really
need to be 64-bit long.

MozReview-Commit-ID: FfdyStjGITL

--HG--
extra : rebase_source : 704d7664a3462f68f2c495e3b5d66f71180d290b
2016-07-14 15:25:40 +10:00
Gerald Squelart
46e43139df Bug 1286444 - Use correct types to construct VideoPlaybackQuality - r=kinetik
VideoPlaybackQuality was fed uint64_t's, now it should be given uint32_t's.
Note that FrameStatistics currently provide uint32_t's, so we are fine now;
nevertheless I added a static_assert to verify that and ensure it stays true.

MozReview-Commit-ID: I0dgP1K4lg3

--HG--
extra : rebase_source : f8d673db0cd45d2b3ae03c092dff217e5d7ebbee
2016-07-14 15:18:36 +10:00
Gerald Squelart
46dec3c3f7 Bug 1286444 - Store uint32_t's in VideoPlaybackQuality - r=kinetik
Because VideoPlaybackQuality attributes are exposed as 'unsigned long' (aka
uint32_t) in the webidl interface, it would be dangerous to accept and store
them as uint64_t in the class.

MozReview-Commit-ID: EhX4lhTbA3c

--HG--
extra : rebase_source : ed1e745c7d69babe6875677e3c8a16a9d6f3172c
2016-07-14 14:31:12 +10:00
Carsten "Tomcat" Book
7400f56915 Merge mozilla-central to autoland 2016-07-14 13:49:32 +02:00
Carsten "Tomcat" Book
bfcc10319e merge mozilla-inbound to mozilla-central a=merge 2016-07-14 11:45:54 +02:00
Carsten "Tomcat" Book
42c9a619ec merge fx-team to mozilla-central a=merge 2016-07-14 11:44:21 +02:00
Iris Hsiao
aeb367f736 Backed out changeset bb5d09eec5ee (bug 1285053) for failures in test_evaluation-result.html 2016-07-14 15:18:12 +08:00
JW Wang
922e0eae89 Bug 1286760 - use macro to simplify the code. r=gerald
MozReview-Commit-ID: HsAOgQoGuQ5

--HG--
extra : rebase_source : b8e577ec6224bea0fc74bf5b1b782d30d7541a0c
2016-07-14 15:09:06 +08:00
JW Wang
91a7995095 Bug 1286755 - remove duplicate check. r=bechen.
MozReview-Commit-ID: FhTfHMERpLC

--HG--
extra : rebase_source : ce509936f2cb501d9c5df8ae03a8780960cd6bd0
2016-07-14 14:21:43 +08:00
cku
99414ab73f Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
MozReview-Commit-ID: Eo8FzwOFAOT

--HG--
extra : rebase_source : 7da0ec5d1066067d5c1b22f0bc69b01cfd1131c5
2016-07-14 12:47:06 +08:00
Timothy Nikkel
764c490e8f Bug 1271714. Limit asserts annotations for crashtest to e10s only, cause that's where they happen. 2016-07-13 23:37:13 -05:00
Nicholas Nethercote
4dc9849b87 Bug 1278439 - Adding a missing prefs service null check in url-classifier/. r=gcp.
--HG--
extra : rebase_source : 2f678d52978bfdc9533a67932133af3794cec171
2016-07-14 13:47:54 +10:00
Nicholas Nethercote
5e41a1de01 Bug 1278439 - Adding a missing prefs service null check in startupcache/. r=froydnj.
--HG--
extra : rebase_source : 1a7552207edf8c283fa3fe4d3b31af6c89ee141b
2016-07-14 13:47:50 +10:00
Nicholas Nethercote
2715b3a3ef Bug 1278439 - Adding a missing prefs service null check in chrome/. r=froydnj.
--HG--
extra : rebase_source : e1a3b142818311e74c566da49534727189075b9e
2016-07-14 13:47:49 +10:00
Nicholas Nethercote
303d9bf656 Bug 1278439 - Adding missing prefs service null checks in netwerk/. r=valentin.
--HG--
extra : rebase_source : 837c2579c05e99f09f302d03f44279aff0894f24
2016-07-14 13:47:44 +10:00
Alexandre Poirot
d63a3adedf Bug 1285229 - Prevent duplicated context menu in the Inspector on Windows. r=jdescottes 2016-07-13 15:44:20 -07:00
Timothy Nikkel
fa07f3610e Bug 1271714. Annotate expected asserts in layout/printing/crashtests/576878.xhtml. r=mstange
The asserts are:

###!!! ASSERTION: Bounds computation mismatch: 'mContainerBounds.IsEqualInterior(mAccumulatedChildBounds)', /layout/base/FrameLayerBuilder.cpp, line 4887
###!!! ASSERTION: bad aListVisibleBounds: 'r.GetBounds().IsEqualInterior(aListVisibleBounds)', /layout/base/nsDisplayList.cpp, line 1637

They happen because we have a wrap list item that contains an out of flow frame with no saved clip data. So the patch for this bug changes the scroll clip of the wrap list item from the scroll clip induced by the root scroll frame to the null scroll clip. All of the display items that the wrap list contains have the root scroll frame scroll clip, so this causes the scroll clipped bounds for the wrap list item to expand to the whole content area. These expanded bounds of the wrap list item get incorporated into the bounds of a parent transform item. Later the wrap list item is flattened away, and so it's no longer around to provide the expanded bounds, leading to the assertions.

I've thought through options like changing how scroll clipped bounds work for wrap list items, but I can't seem to find any solution that would be consistent. The best thing would be to get the proper clip on out of flows we are going to descend into, but I can't think of a good way to do that either in this case (or in general).
2016-07-13 01:08:17 -05:00
Nicholas Nethercote
6f4e7b36f5 Bug 1282185 (part 2) - Fix an assertion failure in DMD. r=erahm.
--HG--
extra : rebase_source : cb2ae2a5a6fdc84bbcaba64759b0dbce1e161249
2016-07-13 19:32:27 +10:00
Nicholas Nethercote
dcf407f2a8 Bug 1282185 (part 1) - Remove a bogus assertion in DMD. r=erahm.
Since bug 1253512 landed, it's possible for DeadBlocks to lack an allocation
stack.

--HG--
extra : rebase_source : 0efc60192ed0992d2f68838d95586cd888765586
2016-07-13 18:10:56 +10:00
Boris Zbarsky
63c6b08058 Bug 790997. Align our tokenization of CSS bad-url-token with the CSS Syntax Level 3 CR. r=heycam,tromey
The main change is that once we discover we have a bad-url-token we consume
everything up to, but not including, the next ')' character.  While we do this
we can cross line boundaries and don't bother about matching braces or quotes.
We just keep going until we find the ')' or hit EOF.
2016-07-13 22:54:20 -04:00