Commit Graph

482418 Commits

Author SHA1 Message Date
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
Andrea Marchesini
d3dcd9a2a2 Bug 1286126 - Move ServiceWorker initialization early in the ContentChild startup, r=gabor 2016-07-13 10:34:24 +02:00
Henri Sivonen
3652f29f7b Bug 1281972 - Filter out encodings that map to the replacement encoding when processing <form accept-charset>. r=emk.
MozReview-Commit-ID: FuodU7ckiPS

--HG--
extra : rebase_source : fd5053ffa1349d424d05800d014f856dbd6690c2
2016-07-12 15:38:13 +03:00
Jordan Lund
9ff285d20f Bug 1282850 - bump fennec debug builds and tests to tier 1 in Taskcluster, r=gbrown
looks like we have to be more explicit with each build and suite compared to
https://bugzilla.mozilla.org/show_bug.cgi?id=1243024

but the way we bump this to tier 1 will likely change as
https://bugzilla.mozilla.org/show_bug.cgi?id=1281004 lands

as per dev.planning announcement and coop's email, we are going to try making
tc tier 2 jobs more critical for less critical jobs, e.g. debug builds, by
making them tier 1.

MozReview-Commit-ID: 4IwNCjOHo7x

--HG--
extra : source : 0b6844851660c49267f74d589345ebdaeb304db6
extra : amend_source : cd1507f8d9c6be75c68929051bbf8ee30cfe9cee
2016-07-11 17:04:20 -07:00
Dustin J. Mitchell
fa358ba635 Bug 1273645: remove unnecessary scope from decision task; r=garndt
MozReview-Commit-ID: ViGVLPCXc6

--HG--
extra : rebase_source : d7c5910f9789f0e68b62fe4d1d5c06b9fdda1f76
2016-07-11 22:07:12 +00:00
Kalpesh Krishna
7eccb69c1c Bug 1281062 - Create Action Tasks to schedule new jobs. r=dustin
MozReview-Commit-ID: 5MvqLfGrlLC

--HG--
extra : rebase_source : dd954acce8ef9ed2f3b9aa7c5c2cbd916a82f1f1
2016-07-11 22:43:58 +05:30