Commit Graph

482423 Commits

Author SHA1 Message Date
Gerald Squelart
777491df9c Bug 1285419 - Telemetry probe: VIDEO_HIDDEN_PLAY_TIME_MS - r=bsmedberg,kamidphish
This probe is similar to VIDEO_PLAY_TIME_MS, but it will only record the total
play time while the video is hidden.

MozReview-Commit-ID: CM62u7EalRY

--HG--
extra : rebase_source : f5305390fb82815648b33fdad11da0f0b2eac0e9
2016-07-08 12:02:49 +10:00
Lin Clark
c12ffe35ae Bug 1285549 - New console frontend: display console commands in console output. r=me
--HG--
extra : rebase_source : 7430bbdb843a79aba0beaba2013bc1ae5bacf6d2
2016-07-12 18:57:00 -04:00
Lin Clark
3eecfb03d8 Bug 1285549 - Part 1: Add an Immutable.Record type for ConsoleMessages. r=me
MozReview-Commit-ID: HxlrNypyFn8

--HG--
extra : rebase_source : adc8697a5af2e2bb4d80956a8fde167c5254ffa1
2016-07-08 10:29:41 -04:00
Thom Chiovoloni
838730ae1b Bug 1238128 - Ensure that the details passed to WebChannelMessageToChrome is a string, with a whitelist for messages from existing users r=Margaret,markh,MattN
MozReview-Commit-ID: DpdJ5bUcBdQ

--HG--
extra : rebase_source : b240484b44e9040b2d4e8509589f288e896a4267
2016-07-12 19:34:41 -04:00
Jean-Yves Avenard
5b39e168bb Bug 1285987: Narrow the workaround added in bug 1276184 to only be effective with webm. r=gerald
Some invalid streams incorrectly tag all frames as keyframes, which cause the frames to be inserted in the wrong order in the trackbuffer.

MozReview-Commit-ID: EZurdiMxmle

--HG--
extra : rebase_source : d739eecb9e5b06aaeefcf044b5735949db86522d
2016-07-13 21:20:50 +10:00
Chris Pearce
f3acbf5f85 Bug 1277813 - Consider HTMLMediaElement.load() in user generated event handler to allow autoplay. r=kinetik
This is so that if media autoplay is disabled, a site can capture user intent
to play in their click handlers by calling load() on an empty video element to
"bless" the video element with the ability to play later when the video has
loaded.

Large video sites typically have a catalog view of videos to chose from on
their main page, and when the user clicks on one, with this patch, the site can
bless a video element so that it will play by beginning the load of that video
in the click handler. Often these sites do a bunch of asynchronous things
before they actually get around to playing the video, they don't call play in
the click handler, so we need another way to bless the videos so they can play.

We allow seeks in a click handler to capture user intent to play, so I don't
see why we should not also allow a load() to capture user intent.


MozReview-Commit-ID: KzjNcn3s6od

--HG--
extra : rebase_source : 6424e04ecb5220b765b69e815fc7b15c49ea6cb8
2016-07-12 16:25:33 +12:00
Wes Kocher
85c761efaa Merge m-c to autoland, a=merge 2016-07-13 14:12:44 -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
Lin Clark
abca42c746 Bug 1285053 - New console frontend: use variables view link for object inspection. r=bgrins
--HG--
extra : rebase_source : 83611d0790c1052404d1c321e2b91103a8f98ba6
2016-07-12 13:19:49 -04: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
Carsten "Tomcat" Book
992a2c2d89 Backed out changeset d476ac6584c7 (bug 1277424) 2016-07-13 15:35:50 +02:00
Carsten "Tomcat" Book
d3382adf52 Backed out changeset c3e353d44cb2 (bug 1277424) 2016-07-13 15:35:50 +02:00
Carsten "Tomcat" Book
de82ad999a Backed out changeset 0e4bd24e7d80 (bug 1277424) 2016-07-13 15:35:49 +02:00
Carsten "Tomcat" Book
dac4616f04 Backed out changeset d47c6533a014 (bug 1277424) 2016-07-13 15:35:48 +02:00
Carsten "Tomcat" Book
d0b5415dfd Backed out changeset 09754604e0df (bug 1277424) 2016-07-13 15:35:47 +02:00
Carsten "Tomcat" Book
c59c49453f Backed out changeset 00be1eefb359 (bug 1277424) 2016-07-13 15:35:47 +02:00
Carsten "Tomcat" Book
494b84d3ce Backed out changeset 052074c53507 (bug 1277424) 2016-07-13 15:35:46 +02:00
Carsten "Tomcat" Book
eae0389937 Backed out changeset d64559a64736 (bug 1277424) 2016-07-13 15:35:45 +02:00
Carsten "Tomcat" Book
5b551455ff Backed out changeset a9d81704e73f (bug 1277424) 2016-07-13 15:35:44 +02:00
Carsten "Tomcat" Book
c8d8331d4a Backed out changeset 1e389ee108ad (bug 1277424) 2016-07-13 15:35:43 +02:00
Gijs Kruitbosch
72706654c8 Bug 1285196 - followup: fix leaking of taskbartabgroup object on windows when disabling and fix test issues that assume previews persist when the pref disables us, rs=bustage 2016-07-13 14:31:13 +01:00
Carsten "Tomcat" Book
bd2bb91cfe Backed out changeset 4197ec30757a (bug 1279992) for frequent memory leaks
--HG--
extra : rebase_source : 89f1b2bd7f4f26ed7a9d9e3c9cbb4821a25e7e7b
2016-07-13 15:03:51 +02:00
Nicolas B. Pierron
3529c652e9 Bug 1285218 - Check for OOM while creating MOsrValue. r=h4writer 2016-07-13 12:21:40 +00:00
Valentin Gosu
f0fea77c54 Bug 1275746 - nsNavHistory::AsciiHostNameFromHostString return empty string if host is empty r=mak
MozReview-Commit-ID: 3AKgNCXPKoU
2016-07-13 15:19:37 +03:00
Valentin Gosu
ef5a976694 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug
MozReview-Commit-ID: DzRenakrcAG
2016-07-13 15:19:34 +03:00
Valentin Gosu
eaee61d467 Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments

MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-13 15:19:33 +03:00
Lars T Hansen
34f3c37654 Bug 1277008 - Wasm baseline: x86 support. r=bbouvier
--HG--
extra : rebase_source : 019a8906c06ede3a2a14265e4885fe91ab23b017
extra : histedit_source : 4771423b8391681294e9b8a7aa9c7d5e5d72d830
2016-07-13 12:29:26 +02:00
Nicolas B. Pierron
cd1f5c0400 Bug 1286462 - Ensure we have enough ballast space in TypeAnalyzer::specializeValidFloatOps. r=bbouvier 2016-07-13 13:13:51 +00:00
Edwin Flores
c8851b53f9 Bug 1264505 - Target EGLImage to GL_TEXTURE_2D if OES_EGL_image_external extension is not available - r=jgilbert 2016-07-13 11:16:54 +01:00
Edwin Flores
84b68e96ff Bug 1264505 - Remove unused method SharedSurface_EGLImage::AcquireConsumerTexture - r=jgilbert 2016-07-13 11:16:54 +01:00
Edwin Flores
5dbad5ff3a Bug 1264505 - Disable OES_EGL_image_external extension on Mali-400 MP - r=jgilbert 2016-07-13 11:16:54 +01:00
Nicolas B. Pierron
08c21398e5 Bug 1285217 - Handle OOM in IonBuilder::testNotDefinedProperty. r=jandem 2016-07-13 10:15:20 +00:00
Jon Coppeard
17af524d85 Bug 1260785 - Make hashcode generation fallible for cell pointers that can be moved by GC r=terrence 2016-07-13 10:20:00 +01:00
Jon Coppeard
9800e39e70 Bug 1284486 - Disallow returying ModuleDeclarationInstantiation after error r=shu 2016-07-13 10:20:00 +01:00
Jeff Gilbert
21644b0588 Bug 1286348 - Only set ROW_LENGTH if it's different. - r=mtseng
MozReview-Commit-ID: 6Wl9iKeYudg
2016-07-13 02:16:17 -07:00
Jeff Gilbert
9e7f59719d Bug 1286348 - Reintroduce support for UNPACK_{FLIP_Y,PREMULTIPLY_ALPHA}. - r=mtseng
MozReview-Commit-ID: 2KGHc3I2HzT
2016-07-13 02:16:14 -07:00
vincentliu
6a774f87dd Bug 1283113 - Add matrix checking before set matrix in Cairo. r=milan
---
 gfx/2d/Matrix.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2016-07-13 16:47:32 +08:00