Commit Graph

673 Commits

Author SHA1 Message Date
Wes Kocher
9782406dd8 Backed out 4 changesets (bug 1365419) for android mochitest failures in test_bug583533.html a=backout
Backed out changeset d82aa6aec2c1 (bug 1365419)
Backed out changeset 9aafdd1ca0bd (bug 1365419)
Backed out changeset 261eecf8497f (bug 1365419)
Backed out changeset 1d9b50fadc05 (bug 1365419)

MozReview-Commit-ID: HkhXf1Dkkbk
2017-06-01 18:39:21 -07:00
Mike Hommey
643e3d3ea9 Bug 1365419 - Rename global-platform/gtk back to global-platform/unix. r=bsmedberg
In case some legacy third-party things were relying on those files being
under a unix/ directory, revert the part of changeset c94e87a18096 that
renamed global-platform/unix to global-platform/gtk.

--HG--
extra : rebase_source : bb78b309fe59ee5f76f276e54539e157eb019e69
2017-05-26 10:24:20 +09:00
Chris Pearce
29bb4271d4 Bug 1368583 - Adjust MediaEMENoCodecsDeprecatedWarning string to make it clearer. r=flod
MozReview-Commit-ID: Gm6CtEq2LVC

--HG--
extra : rebase_source : c9818b52926cb9d2eb47905c333e79eb96dd518a
2017-06-01 08:12:24 +12:00
Ryan VanderMeulen
8fc010c25c Bug 1368583 - Use proper Unicode double-quotes in the MediaEMENoCodecsDeprecatedWarning key.
CLOSED TREE
2017-05-30 20:23:51 -04:00
Chris Pearce
29420a59c0 Bug 1368583 - Add deprecation warning for MediaKeySystemConfiguration properties no longer supported by the EME spec. r=gerald
As per Bug 1355252, the EME spec requires our
navigator.requestMediaKeySystemAccess() function to reject request for
configurations which don't contain at least one MediaKeySystemCapabilities
(audioCapabilities or videoCapabilities).

That's step 15 of this algorithm:
https://w3c.github.io/encrypted-media/#get-supported-configuration-and-consent

We also shouldn't be assuming that WebM and MP4 normatively imply a specific
set of codecs and codec constraints, as that violates step 10 of the "Get
Supported Capabilities for Audio/Video Type" algorithm.

https://w3c.github.io/encrypted-media/#get-supported-capabilities-for-audio-video-type

Making this change has the effect of causing us to reject configurations with
MediaKeySystemCapabilities where those capabilities don't specify a codec
string.

This patch adds a deprecation warning to encourage authors to make their sites
spec compliant.

MozReview-Commit-ID: 6kM9LATDfy6

--HG--
extra : rebase_source : 96763bd49cbebb81ac565a8862cb0ad97838181f
extra : source : 9df49a410082d68041377dabbbebfb458a580041
2017-05-30 21:33:03 +12:00
Ryan VanderMeulen
c2e6a4f474 Backed out changeset bb1542b364f2 (bug 1364221) for Android 4.2 x86 test_animation_performance_warning.html failures on a CLOSED TREE. 2017-05-26 15:37:14 -04:00
Jared Wein
bc9c4a158e Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow,mstange
MozReview-Commit-ID: C3QLjaCRbzE

--HG--
extra : rebase_source : 71907fe872ad6347ea30f1af441a3a3bd0724366
2017-05-23 17:41:06 -04:00
Jan-Ivar Bruaroey
85b8864f71 Bug 1366415: Unprefix mozAutoGainControl and mozNoiseSuppression w/deprecation warnings. r=jesup,smaug
MozReview-Commit-ID: EdWjSsIhtIM

--HG--
extra : rebase_source : 373bf802ae7a0f957770f2f6ec18fa4cc6c736da
2017-05-19 20:57:44 -04:00
Wes Kocher
f8ee017832 Backed out changeset f8c14563b37d (bug 1364221) for m(c1) failures in test_animation_performance_warning.html a=backout
MozReview-Commit-ID: 9vwi69eAZ5r

--HG--
extra : rebase_source : 5cba4d42b12447f6734b4cf1c1f4d9956bc1ace3
2017-05-19 14:01:47 -07:00
Jared Wein
d075979256 Bug 1364221 - Allow frames to be prerendered as long as the area of the frame is less than the area of the relative limit and the dimensions are less than the absolute limit. r=mattwoodrow
MozReview-Commit-ID: C3QLjaCRbzE

--HG--
extra : rebase_source : 3561397fbebcc4a994831cdc4782772307b37d30
2017-05-18 14:52:31 -04:00
Mike Hommey
a8b3b97bc4 Bug 780562 - Stop relying on the "platform" chrome flag for global-platform. r=bsmedberg
The "platform" chrome flag requires an irrelevant "content" chrome
manifest entry, while it's only used for locales. It only has exactly
one use, which can actually be replaced by uses of the "os" flag.

Note, we're doing something similar with the "os" flag for skins in
e.g. browser/extensions/pocket/jar.mn.

Unfortunately, for determinism reasons, the chrome manifest entries from
jar.mn are sorted (per bug 982075), so keeping global-platform/unix
would leave it appearing after /mac, and would override it on mac
because of the lack of "os" flag on the /unix entry (we can't put "os"
flags on that entry because we can't do something like os!=Darwin &&
os!=WINNT). So we move it to /gtk such that it always comes before /mac.

--HG--
extra : rebase_source : aaace8147ea54f74aef8a7b2314ad022e9f9be23
2017-04-14 20:44:35 +09:00
Chris Pearce
f1df5dbbbd Bug 1361000 - Log a deprecation warning to the web console upon use of EME in an insecure context. r=bz
Preliminary telemetry indicated 15% of users of EME are in an insecure
context. We'd better log a warning to the web console to inform authors
that their sites will stop working, rather than just breaking them!

MozReview-Commit-ID: CZasdbcC1jS

--HG--
extra : rebase_source : 008b9669d06a77bb133459df6479625ed47249a0
2017-05-01 16:55:03 +12:00
Phil Ringnalda
e73e622373 Backed out changeset c733f9dbec85 (bug 1361000) for -werror bustage
CLOSED TREE

MozReview-Commit-ID: 9pHl3OuzOTs
2017-05-01 23:02:40 -07:00
Chris Pearce
20ae51f46a Bug 1361000 - Log a deprecation warning to the web console upon use of EME in an insecure context. r=bz
Preliminary telemetry indicated 15% of users of EME are in an insecure
context. We'd better log a warning to the web console to inform authors
that their sites will stop working, rather than just breaking them!

MozReview-Commit-ID: CZasdbcC1jS

--HG--
extra : rebase_source : 685a36be1601215aff4e962fd206d1332abbff79
2017-05-01 16:55:03 +12:00
Aryeh Gregor
af57d2df0f Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.

Notes on specific events:

CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).

DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.

ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.

SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.

TimeEvent: This is still in because it has no constructor, so there's no
other way to create it.  Ideally we'd update the SMIL spec to add a
constructor.  I did remove TimeEvents.

MozReview-Commit-ID: 7Yi2oCl9SM2

--HG--
extra : rebase_source : 199ab921acfc531b8b85e77f90fcd799b03c887b
2017-04-20 15:45:37 +03:00
Gerald Squelart
0f15d1198f Bug 1343442 - MediaDecodeError/Warning user notification messages - r=jya
These messages will be displayed in the Decoder Doctor drop-down notification
bar.
The message ids are also used internally to identify corresponding issues.

MozReview-Commit-ID: MmKxCEoTok

--HG--
extra : rebase_source : 8bc15e16e48f137db17892604d9f1257e8485612
2017-03-24 16:47:23 +11:00
Jonathan Watt
78209c36d4 Bug 1349388, part 1 - Make AutoReferenceLimiter report long reference chains and reference loops to the console. r=longsonr 2017-02-16 10:26:39 +00:00
Jessica Jong
3c909e1184 Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug
This patch basically reverts Bug 825294.

--HG--
extra : rebase_source : 58b235bfddb5acd1ec0cf1afd8f34cbb8c4e09c1
2017-03-17 11:01:57 +08:00
Kerem KAT
0d9b07ec14 Bug 247996 - Add JS console warnings for every script element with an src that fails to load/execute it. r=bzbarsky
MozReview-Commit-ID: 4fH6UFqUhfY
2017-03-09 19:54:26 +03:00
Joel Maher
f297f17181 Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Jamie Nicol
f06e779e2d Bug 1339578 - Remove min active layer size for animations; r=mattwoodrow
Even for very small layers we want to avoid doing work on the main
thread.

At the same time, however, increase the minimum active layer size for
animations which come from restyles. These involve the main thread
anyway, so there is less to be gained from using an active
layer. Since switching items between active and inactive can have
large knock-on effects, we want to make sure it really is worth making
the layer active.

MozReview-Commit-ID: 8N6xlVW4Dp3

--HG--
extra : rebase_source : bd9a97899faaf187e5e148126711bb0ff5a29ee6
2017-02-09 18:00:32 +00:00
Xidorn Quan
fc22390de5 Bug 1340926 part 3 - Deprecate usage of xml:base. r=Ehsan,francois
MozReview-Commit-ID: EpuKLrCj0qc

--HG--
extra : rebase_source : 051f300371d27d4dcdbcb8e70b54c3196155780e
2017-02-20 12:41:11 +11:00
Wes Kocher
672c83ed65 Merge inbound to central, a=merge
MozReview-Commit-ID: 5H1ZxSV0XuM
2017-02-07 16:33:31 -08:00
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Andrea Marchesini
16bc4a8d06 Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug, r=rjesup 2017-02-07 08:58:35 +01:00
Michael Layzell
dbacf5d9f5 Bug 1331087 - Part 2: Add a new string console message for non-win32 large allocation loads, r=ehsan
MozReview-Commit-ID: J4Zyt8Ygnfb
2017-01-31 14:08:20 -05:00
Michelangelo De Simone
a011917b2b Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm
MozReview-Commit-ID: 4WPUsGAO7xF

--HG--
extra : rebase_source : a0616dff53d547ab6c5b5d9f9b4e965e60b862b5
2017-01-26 15:38:16 -07:00
Chris Pearce
009952ed23 Bug 1329543 - Rename eme-adobe_description string to cdm_description. r=spohl
The Adobe CDM is being removed, leaving only the Widevine CDM. So it doesn't make
sense to have the string refer to Adobe.

MozReview-Commit-ID: 6jjI6Q7BwWX

--HG--
extra : rebase_source : f1aa42bbb8e55b97cac88295ba54780378ba8dfa
2017-01-14 16:39:30 +08:00
Chris Pearce
fffddbdfce Bug 1329543 - Remove 'adobe' from GMP download code. r=spohl
MozReview-Commit-ID: HXcl2xNDgEo

--HG--
extra : rebase_source : 934855aee2eefbb7e2a13c360456cac118342b5e
2017-01-14 16:37:59 +08:00
Michael Layzell
f2c6e39bb7 Bug 1328620 - Rename LargeAllocationRelatedBrowsingContexts to reflect new content, r=smaug
MozReview-Commit-ID: AQVqIFKObsI
2017-01-06 16:48:47 -05:00
Michael Layzell
f24af1792b Bug 1324359 - Rename and simplify the DocShell ProcessLock concept, r=smaug
MozReview-Commit-ID: JTp8Q2mWqpN
2017-01-03 17:00:25 -05:00
Catalin Badea
82cfe6ab4d Bug 1181127 - Don't run service workers for fetch events if no fetch handlers were added during script's evaluation. r=bkelly
Display a warning when event listeners are added after the script's evaluation.
2016-12-19 04:38:53 +02:00
Chris Peterson
95b4fcca5f Bug 1324183 - Part 2: Remove MediaUnsupportedBeforeWindowsVista console message. r=gerald
--HG--
extra : histedit_source : cc1d8955d533bda2edab8044bf7d0cb6d4fcee7c
2016-12-17 13:13:11 -08:00
Botond Ballo
d806f521fb Bug 1321412 - Allow controlling the size of the prerendered area via prefs. r=birtles,flod,mattwoodrow
Note that the default values of the prefs are chosen so as to preserve
existing behaviour.

The patch also updates a user-visible warning message, which was
already out of date as of bug 1274991.

MozReview-Commit-ID: AqBBoIucShT

--HG--
extra : rebase_source : 010aa55255d49e4875cb6870f309649a9ca762d5
2016-12-09 20:23:42 -05:00
Brian Birtles
b34ecd0f35 Bug 1301305 - Add a performance warning type for transform animations that should be synchronized with geometric animations; r=hiro, r=flod
This patch adds a new performance warning type for the case when we start
a transform animation at the same time as an animation that includes a
geometric property. In that case we run the transform animation on the main
thread so that it is synchronized with the geometric animation (which we can
only run on the main thread).

This differs from CompositorAnimationWarningTransformWithGeometricProperties
in that this applies across different elements whilst the existing warning
only covers the case when the same animation animates both transform and
geometric properties.

MozReview-Commit-ID: EcOMo4VDAYY

--HG--
extra : rebase_source : b4bbc3e4ffa69d0d741fe6d67aba0349b9325b3e
extra : histedit_source : 9fd1b33e8776e270241cde40f1905e74fdfcb630
2016-12-02 10:00:51 +09:00
Benjamin Smedberg
df53257c80 Bug 1311420 - Add a notice to the addon manager and about:plugins about NPAPI deprecation, r=felipe
MozReview-Commit-ID: HuHbCASJiux

--HG--
extra : rebase_source : 6a0d07abd71939c078843b90662a7ed73dd4e9fd
2016-11-22 15:36:32 -05:00
Chris Peterson
fc2e7c9a1f Bug 1318833 - Part 3: Remove unused Silverlight checks from Decoder Doctor. r=gerald 2016-11-21 21:11:04 -08:00
Christoph Kerschbaumer
611dfdf9b7 Bug 1299483 - CSP: Implement 'strict-dynamic', parser changes. r=dveditz,freddyb 2016-11-08 13:08:33 +01:00
Michael Layzell
209fba3a7f Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
JerryShih
158cde6c2f Bug 1295456 - Support <angle> value for hue component in CSS hsl() color function. r=dholbert
MozReview-Commit-ID: EYhbAEOlpLm

--HG--
extra : rebase_source : 3b898452000ea5f0f0f1819dac2d93d0a6d1c426
extra : histedit_source : a929cf0e25b0035218c4ea61abfc9135a05def15
2016-10-16 03:15:36 +08:00
JerryShih
a0a437f47c Bug 1295456 - Support percentage opacity value in CSS color functions. r=dholbert
--HG--
extra : rebase_source : 79bf692da80a5ea861482e9bc021834f60b6d81a
extra : histedit_source : 384f41d812fecf511be8b319d91a687e9c02673d
2016-10-16 03:15:35 +08:00
Gerald Squelart
d86c5be6f3 Bug 1263665 - DecDoc handling of libavcodec linking issues - r=jya, r=smaug
If libavcodec is present but cannot be used, Decoder Doctor sends a distinct
notification to better help the user find the issue.

MozReview-Commit-ID: IGXPIY1b8AS

--HG--
extra : rebase_source : e2884e442f611464bd995e0b2d8b32bec05a148a
2016-09-22 00:06:45 -07:00
Carsten "Tomcat" Book
6c0aec63b8 Merge mozilla-central to mozilla-inbound 2016-10-12 12:03:34 +02:00
Morris Tseng
caefbd2d51 Bug 1304767 - Deprecated ImageBitmapRenderingContext.transferImageBitmap. r=Ehsan
Deprecated ImageBitmapRenderingContext.transferImageBitmap and replaced
it with ImageBitmapRenderingContext.transferFromImageBitmap.

MozReview-Commit-ID: BbNgKrluhT7

--HG--
extra : rebase_source : 2aa3dbfc3acc5d8b1e451111ddbb2cac63f40433
2016-10-07 17:14:34 +08:00
Thomas Wisniewski
a8940b87e6 Bug 1305928 - Part 2: Only allow <svg>, <math>, XUL, and HTML elements to requestFullscreen. r=smaug 2016-10-11 12:04:59 -04:00
Kit Cambridge
e1271e1b81 Bug 1308590 - Link to references in the Push encryption error strings. r=flod
MozReview-Commit-ID: 9NPmNHoytrc

--HG--
extra : rebase_source : 1d0b8b075d178aab98941190b7177a66442d12ee
2016-10-07 11:48:58 -07:00
Kit Cambridge
a69ba96059 Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.

MozReview-Commit-ID: JRdGHBUodmb

--HG--
extra : rebase_source : 8f1b047b6f01c89a852aefbb1349a608f1178ab8
2016-10-05 08:57:52 -07:00
Samriddhi Jain
40e1a53f35 Bug 1303682 - Add deprecation warning before removing 'referrer' directive from CSP. r=ckerschb 2016-09-28 20:17:18 +05:30
Gerald Squelart
7368a3ff17 Bug 1247056 - Handle PulseAudio init error in DecDoc - r=jwwang
MozReview-Commit-ID: 8qa0MO35mRD

--HG--
extra : rebase_source : b557992bb78c0d6c776adf83740bbc07b831c898
2016-09-18 19:41:36 -07:00
Thomas Wisniewski
e6afa43d92 Bug 812701 - Drop the prefixed version of the Visibility API. r=bz
--HG--
extra : rebase_source : 2d989414b2ccbb9c712e711c8373bdca6f87fc4b
2016-09-13 09:56:14 -04:00