Commit Graph

5517 Commits

Author SHA1 Message Date
Andrea Marchesini
9e47054ab5 Bug 1455668 - Update URL.createObjectURL(MediaSource) in URL.webidl, r=qdot 2018-04-22 09:20:45 +02:00
Boris Zbarsky
54fbc1b396 Bug 1453869 part 5. Remove nsIDOMParser::ParseFromBuffer. r=mrbkap
MozReview-Commit-ID: 4KuM0HRI2BC
2018-04-20 23:01:25 -04:00
Boris Zbarsky
4527d58c1c Bug 1453869 part 3. Remove the used-only-in-tests DOMParser.init method. r=mrbkap
Some DOM unit tests rely on being able to parse XUL via DOMParser.  That was allowed due to them calling init() with a system subject principal.  It can be more narrowly allowed by adding an explicit setter for being able to parse XUL/XBL.

MozReview-Commit-ID: 3h0WWGHmYOn
2018-04-20 23:01:24 -04:00
Boris Zbarsky
bada81a4e5 Bug 1453869 part 1. Remove the unused 3-arg constructor from DOMParser. r=mrbkap
MozReview-Commit-ID: 1fWzq6rMWf1
2018-04-20 23:01:24 -04:00
Boris Zbarsky
0ba35d199f Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Boris Zbarsky
e3b983e73c Bug 1429903 part 1. Remove various target getters on nsIDOMEvent. r=mccr8
MozReview-Commit-ID: Ak0xdxxnSbI
2018-04-20 00:49:30 -04:00
Cameron McCormack
8e2992c3d7 Bug 1133172 - Remove SVGSVGElement.{pixel,screenPixel}UnitToMillimeter{X,Y}. r=longonsr,bz
MozReview-Commit-ID: KKy0J8oQYJj

--HG--
extra : rebase_source : 615b8b0b910344219490c0a5558c67777ecbe521
2018-04-19 17:21:00 +03:00
Sebastian Hengst
195b75c6b6 No bug - fix typos in Bugzilla components metadata in moz.build files. r=me DONTBUILD
--HG--
extra : rebase_source : 84edd9cf02be27e8f36d462136c5f1beb824d971
2018-04-19 15:50:31 +03:00
Robert Longson
a212766c28 Bug 1451823 - support ping, rel, referrerPolicy, relList, hreflang, type and text on SVG a elements r=mystor 2018-04-14 14:53:37 +01:00
Andrea Marchesini
4b23deda27 Bug 1448328 - Use thread-safe nsIURI in the URI API - part 1 - No getter/setter runnables, r=valentin 2018-04-14 01:06:35 +02:00
Emilio Cobos Álvarez
9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Zibi Braniecki
416257ec6b Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug on a CLOSED TREE
MozReview-Commit-ID: H47PYERTGxr

--HG--
extra : source : 623b37fe0fe82d6eff6634cda655252f95b4f8b1
extra : amend_source : 94e620deedc1459f0d4ce9e083ece78c478c6f5b
2018-04-12 22:58:09 -07:00
Coroiu Cristina
7e1be34a07 Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Coroiu Cristina
9e4b9fb732 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-04-13 19:07:42 +03:00
Zibi Braniecki
4ab107723d Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug
MozReview-Commit-ID: H47PYERTGxr

--HG--
extra : rebase_source : 2ad4db6dbd46305da755044fb2bd739d7f53c3e2
2018-04-12 22:58:09 -07:00
Dão Gottwald
9b45d061fd Bug 1445912 - Remove PopupBoxObject::enableKeyboardNavigator/enableRollup/setConsumeRollupEvent in favor of DOM attributes. r=enn,peterv
--HG--
extra : rebase_source : f6ec04a78d599404e1e76405092669d7c0e04cc9
2018-04-12 16:55:50 +02:00
Margareta Eliza Balazs
8ca418adb9 Merge inbound to mozilla-central. a=merge 2018-04-12 12:38:56 +03:00
Boris Zbarsky
2eb01e881f Bug 1453053 part 4. Remove the QI implementation from ChildProcessMessageManager, ChromeMessageBroadcaster, ChromeMessageSender, ContentFrameMessageManager, ContentProcessMessageManager. r=qdot
ChildProcessMessageManager, ChromeMessageBroadcaster, and ChromeMessageSender
only implement nsIMessageSender and nsIContentFrameMessageManager.  Neither one
has QIs in JS now.

ContentFrameMessageManager only implements nsIDOMEventTarget, which there are
no JS QIs for.

ContentProcessMessageManager implements nsIMessageSender and
nsISupportsWeakReference.  The only JS QI for nsISupportsWeakReference is
definitely not happening on this object.

MozReview-Commit-ID: 67dxaQlhpGc
2018-04-12 00:06:25 -04:00
Boris Zbarsky
e5e6a94e94 Bug 1453053 part 2. Remove the QI implementation from Attr, Comment, DocumentType, ProcessingInstruction, Text. r=qdot
All of these have implementations that only QI to nsIDOMNode and nsISupports, and no one QIs things to nsIDOMNode in script anymore.

MozReview-Commit-ID: 2L4VCEEsLkS
2018-04-12 00:06:25 -04:00
Boris Zbarsky
7477a7ddce Bug 1452862. Remove various pointless QueryInterface implementations from bindings. r=qdot
BarProp, CaretPosition, Crypto, CSSMozDocumentRule, CSSPrimitiveValue,
CSSStyleDeclaration, CSSStyleRule, CSSValueList, DOMImplementation,
DOMTokenList, FileList, FrameLoader, FormData, HTMLCollection, History,
MimeTypeArray, NamedNodeMap, MutationObserver, MutationRecord, Navigator,
NodeIterator, PaintRequest, PaintRequestList, Plugin, Rect,
SVGAnimatedEnumeration, SVGAnimatedInteger, SVGAnimatedNumber,
SVGAnimatedNumberList, SVGAnimatedPreserveAspectRatio, SVGAnimatedString,
SVGLengthList, SVGNumberList, SVGPathSegList, SVGPoint, SVGPointList,
SVGPreserveAspectRatio, SVGRect, SVGStringList, SVGTransformList, Touch,
TouchList, TreeWalker, ValidityState only implement nsISupports, so
there's no point QIing them.

DOMStringMap, FrameLoader, NodeIterator, SVGPoint, StyleSheet only implement
non-scriptable non-shimmed interfaces (nsIMutationObserver, nsISVGPoint,
nsICSSLoaderObserver), so can't be usefully QIed from script.

EventSource, Notification, OfflineResourceList, Performance, Screen,
WebSocket, XMLHttpRequestUpload only implement nsIDOMEventTarget, and nothing
QIs to that in script.

PluginArray QIs to nsIObserver but doesn't expose any corresponding methods.
None of the QIs to that interface seem to be on PluginArray objects.

Range QIs to nsIDOMRange, but there is no JS code that QIs to that.

NodeList QIs to nsIDOMNodeList, but there is no JS code that QIs to that.

XMLSerializer doesn't even implement nsISupports.

MozReview-Commit-ID: Fil5cBd4K4d
2018-04-11 10:27:00 -04:00
Tomislav Jovanovic
9e09943ad5 Bug 1441336 - Use addon permissions for PerformanceTiming properties r=bz,kmag
We need to side-step existing cross-origin checks in Performance Timing code
when the caller is a web extension content script that otherwise has permission
to access the cross-origin resource.

MozReview-Commit-ID: 8IgtqZgPWgY

--HG--
extra : rebase_source : e8152c5d8ab32096d1ff7f97311c1b43b57c3694
2018-04-04 16:54:26 +02:00
Catalin Badea
1cf810fbe8 Bug 1402892 - Implement Request.destination. r=asuth,baku 2018-04-11 13:23:11 +01:00
Nika Layzell
11744e4b91 Bug 1434768 - Part 4: Create a ParentSHistory in nsFrameLoader, r=bz 2018-04-10 17:49:45 -04:00
Nika Layzell
c3cbd8710f Bug 1434768 - Part 1: Add Child/ParentSHistory classes which wrap nsISHistory, r=bz 2018-04-10 17:49:44 -04:00
Boris Zbarsky
eb5f28a236 Bug 1452321. Remove nsIWebBrowserPersistable. r=mystor
MozReview-Commit-ID: CCw86gAtKn3
2018-04-09 16:30:33 -04:00
Boris Zbarsky
879d60dc1d Bug 1452235 part 2. Remove nsIDOMSerializer::SerializeToString. r=qdot
MozReview-Commit-ID: BuIhA13GuLj
2018-04-09 16:30:32 -04:00
Boris Zbarsky
a43a4c2e87 Bug 1452235 part 1. Remove nsIDOMSerializer::SerializeToStream. r=qdot
MozReview-Commit-ID: IB4W7R7Rg2P
2018-04-09 16:30:32 -04:00
Margareta Eliza Balazs
46479527fd Backed out 3 changesets (bug 1402892) for wpt failures in /fetch/api/request/request-idl.html on a CLOSED TREE
Backed out changeset 7218641c9b12 (bug 1402892)
Backed out changeset 2fce477733f0 (bug 1402892)
Backed out changeset 34e219813b64 (bug 1402892)
2018-04-09 20:01:12 +03:00
Catalin Badea
1c8f28f854 Bug 1402892 - Implement Request.destination. r=asuth,baku 2018-04-09 16:29:15 +01:00
Paolo Amadini
44e022ac15 Bug 1451782 - Remove unused properties of XULElement. r=bz
This removes properties of XULElement that can easily seen to be unused, even if the attributes they control are still in use. There are other properties that may still be used once or twice, and they are not removed here.

MozReview-Commit-ID: IL6mCvtGQAG

--HG--
extra : rebase_source : 4b22b330d311ef22e3466f517c04d5a19512ab71
2018-04-05 17:10:28 +01:00
Andreea Pavel
7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
Boris Zbarsky
55cdcb3d94 Bug 1451929. Get rid of DOMCursor. r=qdot 2018-04-05 20:31:03 -04:00
Noemi Erli
ff466e94c1 Merge inbound to mozilla-central. a=merge 2018-04-05 13:02:11 +03:00
Olli Pettay
abe47d910c Bug 1449268 - Treat document-level touch event listeners as passive, r=kats
--HG--
extra : rebase_source : 0ea948a612dfbd46b80b52985f96685b012e0079
2018-04-04 19:19:54 +03:00
Boris Zbarsky
b808305604 Bug 1450182. Remove the EventListenerWasAdded/Removed hooks from DOMEventTargetHelper. r=smaug
MozReview-Commit-ID: GWnAvK61hVT
2018-04-04 15:32:19 -04:00
Nils Ohlmeier [:drno]
087b30d20d Bug 1446880: update WebRTC Peer Identity WebIDL. r=smaug
MozReview-Commit-ID: CkszudsSKzl

--HG--
extra : rebase_source : 76dbf6ae8903f4fe6bfe73eff930abec9c40fafd
2018-03-19 06:15:37 +00:00
Brindusan Cristian
88cd740311 Backed out 3 changesets (bug 1446880) for mochitest failures on test_exceptions_from_jsimplemented.htm CLOSED TREE
Backed out changeset 3d162d7e2721 (bug 1446880)
Backed out changeset 7142d472f2a4 (bug 1446880)
Backed out changeset 50c255c237f1 (bug 1446880)
2018-04-04 20:48:59 +03:00
Nils Ohlmeier [:drno]
a7f019b79b Bug 1446880: update WebRTC Peer Identity WebIDL. r=smaug
MozReview-Commit-ID: CkszudsSKzl

--HG--
extra : rebase_source : 5b2626fc0021b628df3513fa412ddd43e2fccafb
2018-03-19 06:15:37 +00:00
Ciure Andrei
5ffac2bcd3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-04 00:58:50 +03:00
Johann Hofmann
6d11b10c57 Bug 1450315 - Remove document.allowUnsafeHTML. r=bz
This attribute was added in bug 1432966 when we started sanitizing
chrome usage of innerHTML to allow devtools to use custom attributes
in React via dangerouslySetInnerHTML.

Devtools removed its usage of dangerouslySetInnerHTML in bug 1434155, so
document.allowUnsafeHTML is no longer used and can be removed.

MozReview-Commit-ID: 8xTVZDmPqRa

--HG--
extra : rebase_source : 3d427133ccb8975163b4459af57b5d96ef54c93e
2018-03-31 10:27:19 +02:00
Eden Chuang
1537e9d304 Bug 1441709 - Support PaymentRequest.show() with an optional PaymentDetailsUpdate promise parameter. r=baku
1. Add "optional Promise<PaymentDetailsUpdate> detailsPromise" as a parameter
   of PaymentRequest.show() in PaymentRequest.webidl.
2. Let PaymentRequest inherit from PromiseNativeHandler, and implement the
   ResolvedCallback() and RejectedCallback() to handle the PaymentDetailsUpdate
   promise.
3. Update PaymentRequest.show() implementation. If PaymentDetailsUpdate Promise
   is not nullptr, the show request would not be transferred to chrome process
   immediately until the promise is resolved/rejected.
4. Update selectedShippingOption when requestShipping is true.
5. Change the PaymentMethod id validation sequence according to the spec.

--HG--
extra : histedit_source : e591c759037cce4f66701b2faa5ecbe01c00e246
2018-04-02 23:12:21 +08:00
Peter Van der Beken
01a1cdcd31 Bug 1448850 - Remove nsIMessageBroadcaster. r=bz.
--HG--
extra : rebase_source : c9ef8d762347b3c71dd5cfeffafbfbb81eb6e042
2018-02-14 17:35:39 +01:00
Neil Deakin
6a995d0462 Bug 1448018, remove ContainerBoxObject which is only used to access the docshell, but bug 1448018 made the docshell accessible from the frameloader instead so the container box object is no longer being used. Change some editor tests which just access the docShell directly rather than through the box object, r=bz 2018-03-29 10:44:52 -04:00
Boris Zbarsky
75860ea92d Bug 1445005. Remove the eventMode bits from frameloader. r=qdot 2018-03-28 18:01:46 -04:00
Boris Zbarsky
9bdcd1eca8 Bug 1444872. Remove support for the 'type' parameter to document.open. r=qdot 2018-03-28 18:01:46 -04:00
Boris Zbarsky
df07d2d834 Bug 1447890 part 5. Remove nsISelection::RemoveAllRanges. r=mystor
MozReview-Commit-ID: EeMje9KW6An
2018-03-27 00:35:23 -04:00
Boris Zbarsky
24781001eb Bug 1447890 part 4. Remove nsISelection::GetRangeCount. r=mystor
MozReview-Commit-ID: FypNZE0oQiW
2018-03-27 00:35:22 -04:00
Boris Zbarsky
eefd412514 Bug 1447890 part 3. Remove nsISelection::GetRangeAt. r=mystor
MozReview-Commit-ID: GhtZwsciRL4
2018-03-27 00:35:22 -04:00
Boris Zbarsky
74e28b0d19 Bug 1447890 part 2. Remove nsISelection::RemoveRange. r=mystor
MozReview-Commit-ID: JXq5FYNNXPJ
2018-03-27 00:35:22 -04:00
Boris Zbarsky
54d1f87ff4 Bug 1447890 part 1. Remove nsISelection::AddRange. r=mystor
MozReview-Commit-ID: 1JNLZp7tbII
2018-03-27 00:35:22 -04:00