Kris Maglione
8134b33e89
Bug 1462964: Remove obsolete nsIDOMBlob interface. r=bz
...
MozReview-Commit-ID: 2HIlaSrvfBe
--HG--
extra : rebase_source : 944a6244dbfe1f0a37dd34a041d1329624a86f93
extra : histedit_source : d7859be664fed00f8504e40969480d3af3d674e7%2C4456b502db338bd06823654306e47c2583101396
2018-05-21 17:32:44 -07:00
Chris Pearce
720655a185
Bug 1461877 - Ensure we don't dispatch 'playing' when we're about to reject pending play promises. r=bryce
...
Currently we can end up dispatching a 'playing' event right before we reject
play() promises, and this confuses YouTube's controls, and it doesn't make
sense to dispatch a 'playing' event when we're not playing anyway.
This is because the logic to delay resolving the play() promise until after
we've reached loadedmetadata doesn't prevent the 'playing' event from being
dispatched. We shouldn't dispatch 'playing' until we resolve the play()
promise(s).
MozReview-Commit-ID: 5H4dcObfu4M
--HG--
extra : rebase_source : b4036a8fead95cd3070f9fc4d30e0feb23d1f64c
2018-05-16 17:27:01 +12:00
Boris Zbarsky
a02a40bdb5
Bug 1462737. Make AsElement() not compile when called on Element or some subclass. r=mccr8
...
It's just noise if we already have an Element.
2018-05-18 23:37:56 -04:00
Olli Pettay
ae41728c3d
Bug 1404864 - ensure HTMLInputElement.form works per spec in Shadow DOM, r=peterv
...
--HG--
extra : rebase_source : a9a597728ec3e5f2949de6769ce4ee490993a797
2018-05-18 20:02:14 +03:00
Andrea Marchesini
3ef72562fe
Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin
2018-04-24 16:19:51 +02:00
Jan de Mooij
80e44e8003
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Dorel Luca
0d2ff9e60d
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-16 00:54:22 +03:00
Emilio Cobos Álvarez
11794a944d
Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
...
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Emilio Cobos Álvarez
cb56e2c9f3
Bug 1459529: Remove UPDATE_STYLE. r=heycam
...
Now that BeginUpdate is useless for the UPDATE_STYLE case, we don't need the
update mechanism at all. Just ensure that ApplicableStylesChanged is called on
the pres shell via the relevant RuleChanged, etc. notifications.
There's a big hidden gotcha here. nsIDocument::BeginUpdate does put a script
blocker on the stack for these updates. However it's not needed, since no script
can run during these notifications (only the stylesheet events we post for
devtools, but those use AsyncEventDispatcher and PostDOMEvents, so they don't
try to run immediately).
nsIDocument::BeginUpdate also does XBL binding attached queue stuff, but we
can't change bindings during these notifications anyway, so it also doesn't
matter.
MozReview-Commit-ID: HJvK6zQfloh
2018-05-15 18:44:29 +02:00
Kartikaya Gupta
2b15ef4e8e
Bug 1405686 - Re-enable some mochitest that are now passing. r=jrmuizel
...
MozReview-Commit-ID: 5KqPkgRtH70
--HG--
extra : rebase_source : ff211244da8f7f65555a5958f4ca09f9afaed145
2018-05-14 15:30:45 -04:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
074d88de5a
Bug 1460940 - Convert nsIPrincipal to use nsIDocument. r=bz
...
MozReview-Commit-ID: z1TGWtS1KG
--HG--
extra : rebase_source : e5291c40eb017c1e3fd69333ac108dda852fb8cd
2018-05-11 19:46:15 +02:00
Csoregi Natalia
3f17a23476
Merge inbound to mozilla-central. a=merge
2018-05-10 19:42:51 +03:00
Emilio Cobos Álvarez
17a92ff99b
Bug 1459844: Share more code and fix some inconsistencies between html / svg style elements. r=heycam
...
MozReview-Commit-ID: IkTrIfJI1iK
2018-05-10 00:21:27 +02:00
Peter Van der Beken
ddfc4b6022
Bug 1452981 - Remove qsObjectHelper. r=bz.
...
--HG--
extra : rebase_source : f87d70c72bd720cd57377b4b70fdf8ecec590086
2018-05-02 11:47:02 +02:00
Kartikaya Gupta
32a1261d0d
Bug 1322845
- Update reftest annotations for WebRender on macOS. r=Gankro
...
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 22:42:51 -04:00
Andreea Pavel
8daddd690f
Backed out 2 changesets (bug 1322845
) for failing reftest background-repeat-large-area.html == background-repeat-large-area-ref.html on a CLOSED TREE
...
Backed out changeset 4fd46cd822bf (bug 1322845
)
Backed out changeset abd41b3e63e7 (bug 1322845
)
2018-05-09 05:13:08 +03:00
Kartikaya Gupta
93650c1b04
Bug 1322845
- Update reftest annotations for WebRender on macOS. r=Gankro
...
MozReview-Commit-ID: 6NufRyb41ia
2018-05-08 20:39:51 -04:00
Boris Zbarsky
1fb03996f4
Bug 1387143 part 29. Remove nsISelection. r=mats
2018-05-08 13:52:42 -04:00
Boris Zbarsky
1ff99d888e
Bug 1387143 part 20. Remove nsISelectionPrivate. r=mats
2018-05-08 13:52:38 -04:00
Boris Zbarsky
7fe6dda3aa
Bug 1387143 part 15. Remove nsISelectionPrivate::Get/SetSelectionDirection. r=mats
2018-05-08 13:52:38 -04:00
Boris Zbarsky
46cae9462a
Bug 1387143 part 3. Stop using nsISelection in nsISelectionController. r=mats
2018-05-08 13:52:36 -04:00
Emilio Cobos Álvarez
29a419dbe6
Bug 1445392: Avoid posting a slotchange event microtask during shutdown. r=smaug
...
MozReview-Commit-ID: 1ga6cDVRX5
2018-05-08 16:10:28 +02:00
Emilio Cobos Álvarez
bc958c264f
Bug 1445392: Make HTMLSlotElement slot change event stuff not linear. r=smaug
...
Also fix refcount churn in nsDOMMutationObserver and such.
MozReview-Commit-ID: GwEB0LZY7Ss
2018-05-08 16:10:27 +02:00
Valentin Gosu
bd4365d7e7
Bug 1448058
- Remove nsIMutable from URI implementations r=mayhemer
...
* Also removes NS_TryToMakeImmutable, NS_TryToSetImmutable, URIIsImmutable
* NS_EnsureSafeToReturn, nsINetUtil.toImmutableURI
MozReview-Commit-ID: 5eFtFm2CQt7
--HG--
extra : rebase_source : 1f3d23ec646883e76844d42113bc1c71c01a1ad7
2018-05-09 18:21:24 +02:00
arthur.iakab
2f2f2ffdbf
Merge mozilla-central to inbound
2018-05-08 15:44:33 +03:00
Emilio Cobos Álvarez
9509853a38
Bug 1459498: Rename nsIStyleSheetLinkingElement::StyleSheetInfo to SheetInfo. r=heycam
...
MozReview-Commit-ID: FeOmISAxWBk
2018-05-08 10:07:46 +02:00
Emilio Cobos Álvarez
96600d2b9a
Bug 1459498: Use a different enum to differentiate IsAlternate from HasAlternateRel. r=heycam
...
MozReview-Commit-ID: 6pwR8t6fzSD
2018-05-08 10:07:42 +02:00
Emilio Cobos Álvarez
5b6f2bdee0
Bug 1459498: Refactor nsStyleLinkElement so that all the stylesheet information comes from one place. r=heycam
...
I've kept the nsAutoStrings in the StyleSheetInfo class on the hopes that the
compiler does RVO, but if it doesn't I can remove I guess.
MozReview-Commit-ID: 2vN6BSEhYcw
2018-05-08 10:07:41 +02:00
Andreas Pehrson
519fd89590
Bug 1458852 - Return real current image in HTMLMediaElement::GetCurrentImage(). r=mattwoodrow
...
MozReview-Commit-ID: Kjc8mTu1ckF
--HG--
extra : rebase_source : feaf0f06e146aede45893cc1252eaf04a78e7aeb
2018-05-04 18:21:56 +02:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Narcis Beleuzu
2b99556758
Backed out changeset 0c5a4939300c (bug 1454889) for causing frequent Leaks (Bug 1378025). a=backout
2018-05-07 12:06:25 +03:00
Dorel Luca
eb41b7b796
Merge mozilla-central to mozilla-inbound
2018-05-03 13:03:06 +03:00
Andrea Marchesini
cae9cf0b13
Bug 1458505 - grapping 'self' in mozilla::MakeScopeExit instead of '&' when needed, in HTMLMediaElement, r=me CLOSED TREE
2018-05-03 08:37:27 +02:00
Andrea Marchesini
3ac438523c
Bug 1458505 - grapping 'self' in mozilla::MakeScopeExit instead of '&' when needed, in DOM code, r=erahm
2018-05-03 08:09:58 +02:00
Cosmin Sabou
a1f7ce21a9
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-05-02 18:07:21 +03:00
Cosmin Sabou
435ba6ef00
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Jean-Yves Avenard
1e4866d526
Bug 1457960 - P1. make MediaDecoder::Seek returns void. r=bryce
...
MozReview-Commit-ID: 2pbZprnYqcF
--HG--
extra : rebase_source : b6c521f65be5fb17d7d33b7ed86eb044d4cdfa9f
2018-04-30 19:58:11 +02:00
Kyle Machulis
54713b5c80
Bug 1433221 - Revert changes to classid checks for object tags; r=bz
...
As part of applet/java plugin removal in bug 1279218, classid checking
was removed, as it was not obvious that this was used anywhere other
than java plugins. The classid is still a valid attribute on object
tags (and is sometimes used on tags for flash embedding). We want
to use a fallback strategy when we find objects with classid
attributes, as we don't support them, meaning we need to revert our
prior removal of the check.
MozReview-Commit-ID: BKQ34HGTkvt
--HG--
extra : rebase_source : 671bc831a7b500ba1a5643a8dbae69dd0c44acf4
2018-04-30 21:53:48 -07:00
Jean-Yves Avenard
7c6fc40c1a
Bug 1458566 - Make MediaDecoder::Play() return void. r=bryce
...
MediaDecoder::Play() cannot fail and was always returning NS_OK
MozReview-Commit-ID: 7OgwZQw569Y
--HG--
extra : rebase_source : 907f6304df42640ccd03e8d144fe89cd748eec07
2018-05-02 17:27:27 +02:00
Kris Maglione
a259026c9d
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Eugen Sawin
b03149e8d0
Bug 1439013 - [1.2] Add isUserTriggered argument to nsILinkHandler and expose it as an internal load flag. r=smaug
2018-04-27 20:49:54 +02:00
Cosmin Sabou
68fdb6cf4f
Merge inbound to mozilla-central. a=merge
2018-04-27 13:04:36 +03:00
Boris Zbarsky
1cbc813260
Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
76ead58490
Bug 1455674 part 19. Get rid of JS uses of nsIDOMElement. r=qdot
...
In nsBlocklistService.js we know we're dealing with actual nodes, so .nodeType
checks should be fine.
2018-04-26 23:37:34 -04:00
Boris Zbarsky
25aa42d9a4
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
914f11a6d2
Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot
2018-04-26 23:36:10 -04:00
Boris Zbarsky
ffa08d7425
Bug 1455674 part 9. Remove nsIDOMElement use from nsIFocusManager. r=qdot
2018-04-26 23:35:19 -04:00
Boris Zbarsky
dd4506eee2
Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8
2018-04-26 15:28:31 -04:00
Boris Zbarsky
4773c6d1d9
Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8
2018-04-26 15:28:30 -04:00