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

54 Коммитов

Автор SHA1 Сообщение Дата
Blake Kaplan 1e2f0c17fa Bug 1186265 - Resurrect DOMQuad.bounds (deprecated) and count its uses. r=bz
I've made the returned object from .bounds not live. If that's not OK, I'll
resurrect DOMBounds (removed in a previous patch). This also forces
DOMQuad.toJSON() to only return the points.

MozReview-Commit-ID: 10TY5oJUmTN

--HG--
extra : rebase_source : f965bd0593b512ec57ffc5268eecf3b4fe8e820a
2018-05-23 16:56:22 -07:00
Emilio Cobos Álvarez b09a776796 Bug 1288572: Don't hide -moz-box / -moz-inline-box yet. r=mats
I'd really prefer to not land this patch, but...

MozReview-Commit-ID: HzmvhTd32gz
2018-06-04 15:55:59 +02:00
Narcis Beleuzu 8bfcff6f8c Backed out 3 changesets (bug 1186265) for devtools chrome failures on browser_webconsole_visibility_messages.js. CLOSED TREE
Backed out changeset 4a9965aeeef3 (bug 1186265)
Backed out changeset 55bd80764231 (bug 1186265)
Backed out changeset 00fefd3eb634 (bug 1186265)
2018-05-25 05:36:52 +03:00
Blake Kaplan 934317efc9 Bug 1186265 - Resurrect DOMQuad.bounds (deprecated) and count its uses. r=bz
I've made the returned object from .bounds not live. If that's not OK, I'll
resurrect DOMBounds (removed in a previous patch). This also forces
DOMQuad.toJSON() to only return the points.

MozReview-Commit-ID: 10TY5oJUmTN

--HG--
extra : rebase_source : ab209d584390c584aa0d0814b4dd2bbf48c6cca3
2018-05-23 16:56:22 -07:00
Xidorn Quan 150bb2e75b Bug 1461696 - Add telemetry for DOMAttrModified event. r=smaug
MozReview-Commit-ID: D6cjCJB92ex

--HG--
extra : amend_source : dbc6529d056040dbc3e87c3099e4a259c4638548
2018-05-16 08:42:48 +10:00
Emilio Cobos Álvarez 5aab8db970 Bug 1408301: Remove getPropertyCSSValue. r=bz
It's been removed for a while on Nightly without any known regressions. This
gives us a full beta cycle of telemetry and two nightly cycles without the API
before shipping.

This only removes the API, followup work will replace serialization by Servo's,
and remove the remaining DOM interfaces.

MozReview-Commit-ID: 2m1taYg5xEr
2018-05-12 11:23:47 +02:00
Boris Zbarsky 23dc2febce Bug 1452010 part 2. Remove nsIDOMDOMException members. r=qdot
MozReview-Commit-ID: Bp5ablEtcHA
2018-04-06 23:27:56 -04:00
Emilio Cobos Álvarez 68cc4d2846 Bug 749981: Remove Node.getUserData / setUserData. r=smaug
Summary: MozReview-Commit-ID: JkUCvVZ4V2Y

Reviewers: smaug

Bug #: 749981

Differential Revision: https://phabricator.services.mozilla.com/D749

MozReview-Commit-ID: KadWzpMjdW
2018-03-17 19:33:07 +01:00
Emilio Cobos Álvarez 2738470e2b Bug 474655: Add a deprecation warning + use counter to GetPropertyCSSValue. r=bholley
The use counter comes built-in with the DeprecatedOperationList stuff.

MozReview-Commit-ID: 9Opag1NMp32
2018-03-15 18:22:32 +01:00
Johann Hofmann 6fc9759b14 Bug 1442560 - Add a note for deprecating passing a storage option to indexedDB.open(). r=asuth
MozReview-Commit-ID: 44yCmYrPP26

--HG--
extra : rebase_source : f087aeb9fdd608fbd0f38b4f846c24fa01dcdfa6
2018-03-05 20:01:00 +01:00
Jonathan Kingston ada03a865d Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly
This patch disables device sensors except orientation by default.
It implements per-sensor prefs to disable orientation, motion, proximity and ambient light
selectively. The patch also makes the pref checks happen at runtime (versus on process
start) using Preferences::AddBoolVarCache.
The patch also removes the related Event constructors also.

MozReview-Commit-ID: EA8ARjjtlkF

--HG--
rename : dom/events/test/test_bug742376.html => dom/events/test/test_deviceSensor.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_disabled_events.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_eventctors_sensors.html
extra : rebase_source : 39da98ac9226ac727f5197d28561b0b762da06f4
2017-07-24 10:07:00 +02:00
Jonathan Kingston eab7568bd9 Bug 1441794 - Add deprecation warning to passive OBJECT_SUBREQUEST loads. r=ckerschb
MozReview-Commit-ID: 3j2t5FDZFmp

--HG--
extra : rebase_source : f18623e42ba4fd54335d26536e4d40deab15c584
2018-02-28 13:56:35 +00:00
Jonathan Kingston 9f340d8168 Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 897ca40537493cc9df4bef7a538a5fdb04769889
2018-02-04 12:10:10 +00:00
Sebastian Hengst 2154b22a29 Backed out changeset dcb60325f0cf (bug 1429732) for breaking uriloader/exthandler/tests/mochitest/mochitest.ini: runByManifest mode must be enabled to set the `prefs` key (fails at least on Android) 2018-02-08 19:02:48 +02:00
Jonathan Kingston cec85c2cae Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 59d21e85884c31aec88ed08300f0f3149ac075b7
2018-02-04 12:10:10 +00:00
Jonathan Kingston 53c9c480b7 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
shindli f0168929ca Backed out changeset e401076359c6 (bug 1354175) for M(8) failures on a CLOSED TREE 2018-01-31 21:26:42 +02:00
Jonathan Kingston 8e24b20ae1 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 19e2663304c582fdb20a45efc3e9b55fd43fa286
2018-01-12 19:09:30 +00:00
Masatoshi Kimura f8ab645a0a Bug 1433404 - Remove DEPRECATED_OPERATION(GetPreventDefault). r=smaug
MozReview-Commit-ID: L5bmaEezcQm

--HG--
extra : rebase_source : 59986701b093522e9837ce49543663c034b99cd3
2018-01-26 20:33:44 +09:00
Ehsan Akhgari 7df8d7beeb Bug 1406493 - Remove the rest of the attribute deprecation warnings; r=baku f=annevk 2017-10-09 18:26:11 -04:00
Ehsan Akhgari c148b7bfeb Bug 1404022 - Remove the deprecation warnings for Element.setAttribute/setAttributeNS; r=baku 2017-10-09 18:26:04 -04:00
Xidorn Quan e9accd246b Bug 1406277 - Completely remove xml:base for style attribute. r=bz
This commit removes:
* layout.css.style-attr-with-xml-base.disabled pref
* deprecation XMLBaseAttributeForStyleAttr
* code path for getting base URI of style attr considering xml:base

MozReview-Commit-ID: 1w96eqhHPab

--HG--
extra : rebase_source : 95e33da698ce0cfc9a44de8bc0d63c3fa4634644
2017-10-06 15:45:33 +11:00
Boris Zbarsky c1bab3a2f8 Bug 1400139 part 3. Add a use counter when the window.content getter is called from untrusted code. r=mystor
MozReview-Commit-ID: LFMK7lxs46Z
2017-09-18 21:24:38 -04:00
Masatoshi Kimura 60816b85fa Bug 1398445 - Remove window._content. r=mystor,qdot
MozReview-Commit-ID: 13KovslzGnM

--HG--
extra : rebase_source : 801700a3dc0b1ca207e3b47e9f6433fbd2d00505
2017-09-09 10:47:48 +09:00
Andrew McCreight 2b68b38709 Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa
This patch gently removes support for __exposedProps__ by changing
ExposedPropertiesOnly::check() to always return false, while still
failing silently in deny for some kinds of access.

The tests that I changed all involve testing the behavior with
__exposedProps__. I adjusted them to expect it to fail, or to adjust
the error message they get when they fail. That seemed better than
deleting them entirely.

Note that test_bug1065185.html had a bug, so that it never executed
the first case. I fixed that, and then fixed up the test to work when
__exposedProps__ is not supported.

This also removes various bits of the test framework that use
__exposedProps__, but don't actually need to.

MozReview-Commit-ID: 8fvkAmITmXY

--HG--
extra : rebase_source : ef7e2c55adc12511f17f3865ebb46c343875f0b3
2017-08-22 14:24:11 -07:00
Peter Van der Beken f0b7767e1e Bug 1372969 - Use a different string ID for Window_ControllersWarning in dom.properties to reflect new content.
--HG--
extra : rebase_source : f01b3420b8321101eaf90326e6a6152f81355330
extra : histedit_source : 666aae754e7831929452277edd92be85f9f4075c
2017-07-07 10:09:14 +02: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
Xidorn Quan 8b3894a4e8 Bug 1349059 - Replace XMLBaseAttributeWithStyledElement with XMLBaseAttributeForStyleAttr for a more accurate measurement. r=bz
MozReview-Commit-ID: DXILBM79r2Q

--HG--
extra : rebase_source : 526885b04879da7b244f76ff4ef9aa40305d1c81
2017-03-21 11:32:19 +11:00
Xidorn Quan 3357d0d06e Bug 1344102 - Add a telemetry for xml:base on styled element. r=bz
MozReview-Commit-ID: 9vqlxDi5KB8

--HG--
extra : rebase_source : 70598eecff0c25e82d25a9bf9f2e36d26bf35648
2017-03-03 14:32:11 +11: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
Andrea Marchesini 16bc4a8d06 Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug, r=rjesup 2017-02-07 08:58:35 +01: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
Boris Zbarsky 1bb443447d Bug 1305580 part 2. Change nsXMLDocument::Load telemetry to separately count chrome and content callers. r=smaug 2016-09-28 15:46:46 -04:00
Wes Kocher 63caea8af6 Backed out 2 changesets (bug 1305580) for Windows svgr crashes a=backout CLOSED TREE
Backed out changeset 1124e3458403 (bug 1305580)
Backed out changeset 521286426a93 (bug 1305580)
2016-09-28 16:52:15 -07:00
Boris Zbarsky ee2c7edb68 Bug 1305580 part 2. Change nsXMLDocument::Load telemetry to separately count chrome and content callers. r=smaug 2016-09-28 15:46:46 -04:00
Thomas Wisniewski 95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Chris Peterson 41ab04a4e2 Bug 1259335 - Part 2: Remove deprecated navigator.battery API and tests. r=baku
--HG--
extra : rebase_source : 82eeaa8964905627803acf250e434bf4036d2d1d
2016-06-06 23:10:44 -07:00
Andrea Marchesini d466f0aab2 Bug 1048291 - Deprecate File::lastModifiedDate, r=smaug 2016-05-31 17:22:39 +02:00
Chris Peterson b1e318c188 Bug 1259335 - Part 1: Log deprecation warning for navigator.battery. r=baku 2016-05-21 01:08:52 -07:00
Andreas Pehrson b3ee63f6aa Bug 1271669 - Deprecate RTCPeerConnection.getLocalStreams/getRemoteStreams. r=jib, r=smaug
getLocalStreams and getRemoteStreams have been removed from the spec.

Also, getLocalStreams becomes a problem now that addTrack takes any MediaStream
as the container for the added track.

The addTrack()'ed MediaStream (perhaps not containing the track sent over the
pc - perhaps containing other tracks not sent over the pc!) will be returned
from getLocalStreams.

MozReview-Commit-ID: JUVCUM32mPR

--HG--
extra : rebase_source : 22373da7e02b315f0f4252c1986e55e960694a69
extra : histedit_source : a10d62b9c1d954090ad8c1444759d0e51a580c31
2016-05-20 10:42:48 +02:00
Xidorn Quan 114633161f Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
MozReview-Commit-ID: 61wybyS36KE

--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Ehsan Akhgari a9cd8f1af3 Bug 1267966 - Remove the deprecation warning from Attr.ownerElement; r=baku
I added this deprecation back in bug 957431 by mistake, but it's clear
that we won't be removing this attribute after all.
2016-04-28 10:49:11 +08:00
Xidorn Quan 61f1684757 Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
--HG--
extra : source : aaf4d12b511ba25ba93e6135cb849a3264435f7c
2016-02-17 08:47:11 +08:00
Martin Thomson 2627615a00 Bug 1155923 - Temporarily restoring moz-prefixed interface, r=jesup,smaug
--HG--
extra : transplant_source : j%0DQ%EA%DD%1C%DCtL%A0g%8E%7D%9D%BC%DFf%19%C9%AE
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book 4952084732 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson 164451050d Bug 1155923 - Temporarily restoring moz-prefixed interface. r=jesup, r=smaug
--HG--
extra : transplant_source : 1%DD%84%C8%185%40%3C%D4%1A%C8%DB7%08%9C%B3%8Ez%189
2015-09-24 16:31:47 -07:00
Ehsan Akhgari 0bc360edc4 Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku 2015-09-24 10:09:10 -04:00
Masatoshi Kimura fce903a0f0 Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
Boris Zbarsky a435429163 Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00