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

52214 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Lissy 6798f02654 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE

--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Jean-Yves Avenard aee6e800d6 Bug 1286796: [MSE] P1. Replace InvalidAccessError usage with TypeError. r=gerald
See https://github.com/w3c/media-source/issues/34

MozReview-Commit-ID: 6RDjhxnaOGM

--HG--
extra : rebase_source : f7686b58bfde94865cccb123578675d11ce9a37e
2016-07-14 20:47:02 +10:00
Carsten "Tomcat" Book ea82d775d8 merge mozilla-inbound to mozilla-central on a CLOSED TREE a=merge 2016-07-15 16:15:33 +02:00
Masayuki Nakano ff4a3d7d66 Bug 1286730 IMEStateManager::NotifyIME() should treat NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED same as the other notifications because all of them are notified by IMEContentObserver asynchronously r=smaug
MozReview-Commit-ID: 1GJk9bfOqjS

--HG--
extra : rebase_source : 1f88f9bffc8b40ff77992987d429c3d04913817b
2016-07-14 12:11:56 +09:00
Christoph Kerschbaumer 97e696739a Bug 1286376 - Do not call finish multiple times within test_contentpolicytype_targeted_link_iframe.html. r=smaug 2016-07-13 09:04:30 +02: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
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
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
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
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
Carsten "Tomcat" Book 564f508e43 merge mozilla-inbound to mozilla-central a=merge 2016-07-13 17:27:34 +02: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
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
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
Andrea Marchesini d3dcd9a2a2 Bug 1286126 - Move ServiceWorker initialization early in the ContentChild startup, r=gabor 2016-07-13 10:34:24 +02:00
Thomas Nguyen 941244dcc8 Bug 1286024 - Replace no document in SetRequestContext warning with a log. r=ckerschb
MozReview-Commit-ID: IitqAt0iLQF

--HG--
extra : rebase_source : 72c6bd3b894d8a36f65bfd43ddd8f294de1f2d22
2016-07-12 17:46:23 +08:00
James Cheng 96e45dba10 Bug 1284809 - Rename CDMCallbackProxy to GMPCDMCallbackProxy to make it GMP specific use. r=jwwang
MozReview-Commit-ID: Ceq6vpGPNdA

--HG--
rename : dom/media/eme/CDMCallbackProxy.cpp => dom/media/gmp/GMPCDMCallbackProxy.cpp
rename : dom/media/eme/CDMCallbackProxy.h => dom/media/gmp/GMPCDMCallbackProxy.h
extra : transplant_source : %E1g%E9yJ%A8%7B%FFYw%FF%D3%B3%A4%D3%8F%93%DE%1B%7C
2016-07-11 12:52:07 +08:00
Kevin Chen cac9daeb79 Bug 1275693 - Refactor <canvas> strokeText drawing to re-use gfxTextRun::Draw. r=jfkthame 2016-07-14 02:00:00 +02:00
Kevin Chen 9873933cfb Bug 1275693 - Refactor <canvas> fillText drawing to re-use gfxTextRun::Draw. r=jfkthame 2016-07-13 19:07:00 +02:00
Carsten "Tomcat" Book 7c0644d587 Merge mozilla-central to mozilla-inbound 2016-07-14 11:56:37 +02:00
Gerald Squelart ee83c3575b Bug 1285419 - Record mediasource hidden play time - r=kamidphish
Note that this is a simple duration counter based on the existing (non-hidden)
play-time, but it only counts when video is playing while hidden.
There is no bucketing yet, future probes may add finer-grained information.

MozReview-Commit-ID: DUfryXjGBAN

--HG--
extra : rebase_source : 4d0bd7f60329dba6c6a6ab039cc733315c50b686
2016-07-08 16:40:31 +10: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
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
Kershaw Chang 284538d08c Bug 1210340 - Replace onterminate with onclose in test cases, r=smaug 2016-07-13 00:19:00 +02:00
Kershaw Chang ccba465014 Bug 1210340 - Implement PresentationConnection.close(), r=smaug 2016-07-13 00:18:00 +02:00