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

482937 Коммитов

Автор SHA1 Сообщение Дата
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
Timothy Nikkel 8dab980fec Bug 1271714. When creating the wrap list item that contains the display list for a frame make sure to use a scroll clip that includes content in the display list. r=mstange
In nsIFrame::BuildDisplayListForChild for certain types of frames we create wrap list items to wrap the constructed display list to make those items inseperable.

We were using the current scroll clip by default when creating these items, but that scroll clip may not contain all the content in the display list if we traversed into an out of flow frame whose containing block is an ancestor of the current frame. The CurrentAncestorScrollClipForStackingContextContents keeps track of exactly this. (Its name might be a little misleading as we may not be dealing with a true stacking context here. Nevertheless it does contain the correct clip.)

We also need to initialize the value of mStackingContextAncestorSC when we create an AutoSaveRestore because we are now using that value sometimes without calling Enter/ExitStackingContext (which initializes mStackingContextAncestorSC).
2016-07-13 01:08:18 -05:00
Randell Jesup ae674679d8 Bug 1286644: cherry-pick AEC fix from Chromium Issue 576624 r=pkerr 2016-07-13 17:47:00 -04:00
Wes Kocher c97cce853d Merge m-c to inbound, a=merge 2016-07-13 14:11:15 -07:00
Wes Kocher e269c68bc5 Merge inbound to central, a=merge 2016-07-13 14:09:38 -07:00
Wes Kocher 6baed90fdc Merge autoland to central, a=merge 2016-07-13 12:01:17 -07:00
Wes Kocher 23ad7ef04f Backed out changeset dcb7835534e2 (bug 1277008) for jit test failures a=backout 2016-07-13 11:24:02 -07:00
Michael Layzell 0e16caee05 Bug 1242718 - Enable selection events outside of nightly, r=smaug 2016-07-13 13:59:41 -04:00
Luke Wagner 016eb0d060 Bug 1284155 - Baldr: add Table.prototype.length getter (r=bbouvier)
MozReview-Commit-ID: 9sXwZMOyGge

--HG--
extra : rebase_source : dff5cf095bc249ddc25b1ee2dba2097671884540
2016-07-13 12:34:44 -05:00
Luke Wagner 3450e6c004 Bug 1284155 - Baldr: add Table exports (r=bbouvier)
MozReview-Commit-ID: 4RVN5vi2ZQC

--HG--
extra : rebase_source : 39118e95455995521b1902013937b76d79dab5f1
2016-07-13 12:34:44 -05:00
Luke Wagner 3c2b9e1f36 Bug 1284155 - Baldr: refactor/rename exports to be more symmetric with imports (r=bbouvier)
MozReview-Commit-ID: F5VNVHiXwtY

--HG--
extra : rebase_source : eca0db4c4fb595f928f2e9c7e4187fed2fae5ef2
2016-07-13 12:34:44 -05:00
Nils Ohlmeier [:drno] 2f8d5ee202 Bug 1273652: mochi test to verify rendering happens after double negotiation. r=jesup
MozReview-Commit-ID: 9g8oa306DCE

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_promiseSendOnly.html => dom/media/tests/mochitest/test_peerConnection_renderAfterRenegotiation.html
extra : rebase_source : 4092535f255858736f95b065bae1390cb557a4be
2016-07-12 16:36:59 -07:00
Kartikaya Gupta 982bc8ba1f Bug 1284586 - Disable paint-skipping for scrollframes that we detect as having a CSS-clipped descendant. r=mstange
MozReview-Commit-ID: AvjokFZMwdd
2016-07-13 16:05:53 -04:00
Jeff Gilbert 4cc1c59009 Bug 1136508 - Mark test as passing.
MozReview-Commit-ID: 133p1I8zh36
2016-07-13 11:58:39 -07:00
Jeff Gilbert d2247bd065 Bug 1136508 - Build fixes.
MozReview-Commit-ID: 15ONcukMzHz
2016-07-13 11:58:35 -07:00
Jeff Gilbert b2df168a9c Bug 1136508 - funcName for CopyTexImage2D should be copyTexImage2D.
MozReview-Commit-ID: DWcIxIb3Ikp
2016-07-13 11:58:32 -07:00
Jeff Gilbert 8a8e457903 Bug 1136508 - Removed unused READ_BUFFER out-var from ValidateCurFBForRead. - r=mtseng
MozReview-Commit-ID: 4qOQNbMkfUX
2016-07-13 11:58:29 -07:00
Jeff Gilbert 17ca78aeb4 Bug 1136508 - Remove redundent READ_BUFFER != NONE validation. - r=mtseng
MozReview-Commit-ID: D1yZ4m6p8Wk
2016-07-13 11:58:25 -07:00
Jeff Gilbert 11dc123610 Bug 1136508 - Detect CopyTexImage feedback loops. - r=mtseng
MozReview-Commit-ID: G1RsyyYMacp
2016-07-13 11:58:22 -07:00
David Anderson 6b2b817ec9 Add a callback for top-level actors to free themselves. (bug 1285364, r=billm)
--HG--
extra : rebase_source : 6954a2b34b521c886fba536cd7bedd5f30b94763
2016-07-13 11:21:58 -07:00
Corey Ford 55d426b404 Bug 1280344 - Use first continuation's normal position in computing sticky scroll ranges for APZ. r=dholbert
MozReview-Commit-ID: L0wRgCvb8h8
2016-07-12 12:36:31 -04:00
Mike Taylor 4fd54506f8 Bug 1285211. Enable "Report Site Issue" menu item in Aurora + Nightly. r=sebastian 2016-07-13 12:32:54 -04:00
George Wright 73eb07e665 Bug 1286218 - Do not clear our TextureClientPool when calling ClearCachedResources on a ClientLayerManager r=nical 2016-07-13 11:39:21 -04:00
Carsten "Tomcat" Book 96ab627a2b Merge mozilla-central to mozilla-inbound 2016-07-13 17:29:28 +02:00
Carsten "Tomcat" Book 564f508e43 merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02:00
Carsten "Tomcat" Book d50eba7171 merge fx-team to mozilla-central a=merge 2016-07-13 17:24:54 +02:00
Andrew Sutherland 4d5d691957 Bug 1274250 - Referrer host should be IDN encoded when trimmed by policy. r=valentin
Since bug 822869 the referrer trimming has relied on using prePath when
trimming resulting in non-ASCII hosts being passed through in UTF-8 (or
whatever their encoding was.)

Prior to this patch, the logic when trimming was to generate the referrer
string using prePath and possibly nsIURL.filePath, then re-derive the
nsIURI from that string.

Concerned about the cost of introducing asciiPrePath just for this consumer,
I opted to have the code just combine the scheme and asciiHostPort to
approximate the prior use of prePath.  (userPass is explicitly cleared by
the code.)

Concerned about weirdness/loss of fidelity in the nsIURI, I replaced the
code that re-derived the URI from the spec string with manual clearing
of the parts of the URI/URL we were not including.  This may not be the
right thing to do.

I modified the existing Gecko-specific test coverage of SetReferrerPolicy.
The existing web platform tests and referrer policy didn't seem concerned
with this case, and the bug is indeed localized to a very small segment
of Gecko code.  Note that the userReferrerTrimmingPolicy=1 bug case can
only be triggered by explicit user preference setting and this is only
tested in test_referrer.js.  userReferrerTrimmingPolicy=2 need not be
set by preference if REFERRER_POLICY_ORIGIN or
REFERRER_POLICY_ORIGIN_WHEN_XORIGIN (when cross origin) is used.
2016-07-13 11:08:53 -04:00
Luke Wagner 495668a0bc Bug 1284155 - Baldr: check element segment function is in range (r=bbouvier)
MozReview-Commit-ID: HN6JkdGAAMs
2016-07-13 09:41:07 -05:00
Carsten "Tomcat" Book 75f905e496 Backed out changeset 20091ff168ea (bug 1277424) for various windows gl test failures
--HG--
rename : dom/canvas/test/webgl-conf/checkout/resources/1-channel.jpg => dom/canvas/test/webgl-conf/checkout/conformance/resources/1-channel.jpg
rename : dom/canvas/test/webgl-conf/checkout/resources/3x3.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/3x3.png
rename : dom/canvas/test/webgl-conf/checkout/resources/blue-1x1.jpg => dom/canvas/test/webgl-conf/checkout/conformance/resources/blue-1x1.jpg
rename : dom/canvas/test/webgl-conf/checkout/resources/bug-32888-texture.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/bug-32888-texture.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-256-with-128-alpha.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-256-with-128-alpha.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-256.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-256.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-default-gamma.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-default-gamma.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-gamma0.1.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-gamma0.1.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-gamma1.0.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-gamma1.0.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-gamma2.0.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-gamma2.0.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-gamma4.0.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-gamma4.0.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp-gamma9.0.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp-gamma9.0.png
rename : dom/canvas/test/webgl-conf/checkout/resources/gray-ramp.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/gray-ramp.png
rename : dom/canvas/test/webgl-conf/checkout/resources/green-2x2-16bit.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/green-2x2-16bit.png
rename : dom/canvas/test/webgl-conf/checkout/resources/npot-video.mp4 => dom/canvas/test/webgl-conf/checkout/conformance/resources/npot-video.mp4
rename : dom/canvas/test/webgl-conf/checkout/resources/npot-video.theora.ogv => dom/canvas/test/webgl-conf/checkout/conformance/resources/npot-video.theora.ogv
rename : dom/canvas/test/webgl-conf/checkout/resources/npot-video.webmvp8.webm => dom/canvas/test/webgl-conf/checkout/conformance/resources/npot-video.webmvp8.webm
rename : dom/canvas/test/webgl-conf/checkout/resources/opengl_logo.jpg => dom/canvas/test/webgl-conf/checkout/conformance/resources/opengl_logo.jpg
rename : dom/canvas/test/webgl-conf/checkout/resources/red-green.mp4 => dom/canvas/test/webgl-conf/checkout/conformance/resources/red-green.mp4
rename : dom/canvas/test/webgl-conf/checkout/resources/red-green.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/red-green.png
rename : dom/canvas/test/webgl-conf/checkout/resources/red-green.theora.ogv => dom/canvas/test/webgl-conf/checkout/conformance/resources/red-green.theora.ogv
rename : dom/canvas/test/webgl-conf/checkout/resources/red-green.webmvp8.webm => dom/canvas/test/webgl-conf/checkout/conformance/resources/red-green.webmvp8.webm
rename : dom/canvas/test/webgl-conf/checkout/resources/red-indexed.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/red-indexed.png
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-cie-rgb-profile.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-cie-rgb-profile.png
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-colormatch-profile.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-colormatch-profile.png
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-colorspin-profile.jpg => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-colorspin-profile.jpg
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-colorspin-profile.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-colorspin-profile.png
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-e-srgb-profile.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-e-srgb-profile.png
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-smpte-c-profile.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-smpte-c-profile.png
rename : dom/canvas/test/webgl-conf/checkout/resources/small-square-with-srgb-iec61966-2.1-profile.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png
rename : dom/canvas/test/webgl-conf/checkout/resources/thunderbird-logo-64x64.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/thunderbird-logo-64x64.png
rename : dom/canvas/test/webgl-conf/checkout/resources/transparent-on-left-indexed.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/transparent-on-left-indexed.png
rename : dom/canvas/test/webgl-conf/checkout/resources/zero-alpha.png => dom/canvas/test/webgl-conf/checkout/conformance/resources/zero-alpha.png
2016-07-13 15:37:24 +02:00
Carsten "Tomcat" Book a768670194 Backed out changeset e8406e4a842d (bug 1277424) 2016-07-13 15:35:52 +02:00
Carsten "Tomcat" Book 8fcfd12666 Backed out changeset bd240fb194d3 (bug 1277424) 2016-07-13 15:35:51 +02:00