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
93af0eea13
Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot
2018-04-26 23:37:33 -04:00
Boris Zbarsky
6bf97b61c0
Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot
2018-04-26 23:37:29 -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
f33eebd4cb
Bug 1455674 part 8. Remove nsIDOMElement use from nsIDOMWindowUtils. 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
Olli Pettay
a055a5fc0d
Bug 1444285, let custom element upgrades to use backup queue inside chrome/XBL, r=mrbkap
...
--HG--
extra : rebase_source : 73d484bf9cae0168c4a1dc478ad8d1ccd5eed93f
2018-04-27 02:08:27 +03:00
shindli
af700315a1
Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
...
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky
25cec96459
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
cb54ece0d5
Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8
2018-04-26 15:28:30 -04:00
Ben Kelly
70aa4c4f62
Bug 1457187 P1 Add a DOMMozPromiseRequestHolder helper class to auto-disconnect MozPromise Thenables when the global dies. r=baku
2018-04-26 09:18:01 -07:00
Emilio Cobos Álvarez
081d926e7b
Bug 1457026: Teach nsDocumentEncoder about display: contents. r=mats
...
MozReview-Commit-ID: 5F3qurRHMNM
2018-04-26 18:06:37 +02:00
Emilio Cobos Álvarez
a1b2e5070a
Bug 1455885: Inline and make document casts fatally assert. r=bz
...
For consistency with AsElement / AsContent / AsDocumentFragment, etc.
MozReview-Commit-ID: 8GSj8R9hLBe
2018-04-26 17:05:12 +02:00
Jon Coppeard
6b7ad264ec
Bug 1453986 - Remove possiblity of recursive GetService call when tracing r=smaug
...
--HG--
extra : rebase_source : 8319cf6afdde021eed71c25a8c6a1c21b7f65e18
2018-04-26 15:54:00 +01:00
Emilio Cobos Álvarez
8239c1300e
Bug 1386840: Defer loading and don't block rendering for non-matching stylesheets. r=bz,heycam
...
MozReview-Commit-ID: 24UJZDooGmn
2018-04-26 16:44:03 +02:00
Emilio Cobos Álvarez
31aff796a0
Bug 1456435: Make the loader a bit less outparam-happy. r=heycam
...
Returning the same type and UpdateStyleSheet.
This hopefully helps seeing how the data flows between the methods, instead of
the messy bits we had before.
MozReview-Commit-ID: C6THNRi8bbg
2018-04-26 16:43:58 +02:00
Emilio Cobos Álvarez
5618bcfb59
Bug 1456435: Less bool outparam in Loader too. r=heycam
...
MozReview-Commit-ID: D5A2BxwHGjn
2018-04-26 16:43:54 +02:00
Emilio Cobos Álvarez
a00f507b72
Bug 1456435: Make UpdateStyleSheet less bool-happy. r=heycam
...
MozReview-Commit-ID: FlTD390lMhg
2018-04-26 16:43:52 +02:00
Emilio Cobos Álvarez
e0fb59363f
Bug 1456435: Don't clone a URI for sheet loading. r=heycam
...
nsIURI is immutable now.
MozReview-Commit-ID: 1eMikl399Fd
2018-04-26 16:43:45 +02:00
Boris Zbarsky
a3a6206b20
Bug 1456588 part 5. Store an Element as the focused content in the focus manager. r=enndeakin
2018-04-26 10:37:47 -04:00
Boris Zbarsky
01c62fd5cb
Bug 1456588 part 4. Change nsFocusManager guts to make it clearer that the focused thing is always an Element. r=enndeakin
...
I couldn't find a good way to make this incremental without adding QIs and
AsElement() in various places....
2018-04-26 10:37:47 -04:00
Boris Zbarsky
b3b21fd3fa
Bug 1456588 part 3. Change nsFocusManager::SetFocusInner to take Element. r=enndeakin
2018-04-26 10:37:47 -04:00
Boris Zbarsky
dac6314cb8
Bug 1456588 part 2. Change nsIFocusManager::MoveFocus to take Element. r=enndeakin
2018-04-26 10:37:47 -04:00
Boris Zbarsky
8a0b50bea8
Bug 1456588 part 1. Change nsIFocusManager::SetFocus to take Element. r=enndeakin
2018-04-26 10:37:46 -04:00
Xidorn Quan
8af9d264aa
Bug 1456364 part 1 - Reduce dependencies to nsCSSProps.h. r=emilio
...
So that hacking on this header can be less painful...
MozReview-Commit-ID: LmpMnF7q9RG
2018-04-26 16:24:30 +02:00
Emilio Cobos Álvarez
37eed71b1c
Bug 1425866: Just null-check the CSS Loader for now. r=heycam
...
After discussing with Olli there isn't any kind of severe problem out of this.
Shadow subtrees will be disconnected just like the rest, and they shouldn't
assume that the document hasn't been disconnected first.
MozReview-Commit-ID: CX4fXOqEIFj
--HG--
extra : rebase_source : cd30cb8b8199fb73120c0bcade68986454090005
2018-04-27 01:46:50 +02:00
Brian Grinstead
ab2a1a0d82
Bug 1456703 - Remove nsIDOMXULTextBoxElement r=enndeakin+6102
...
MozReview-Commit-ID: 6ZRzVq1bJjz
--HG--
extra : rebase_source : adb6e5cabbc38ed6774e905328b7f6f6095d01eb
2018-04-26 15:17:00 -07:00
Brian Grinstead
45b575d85f
Bug 1456703 - Stop using nsIDOMXULTextBoxElement to detect XUL textboxes r=enndeakin+6102
...
This is used in JS via instanceof checks, and in C++ only to get the `inputField`
attribute (the actual HTML input or textarea). We can swap out instanceof by checking
the tag name, and we can directly query for the input field from C++.
MozReview-Commit-ID: 7xpHQMYzYhD
--HG--
extra : rebase_source : a5b62928665725133eb52e4df2fb6659a6109ffd
2018-04-26 15:15:10 -07:00
shindli
c72db9830d
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-27 00:44:51 +03:00
Timothy Guan-tin Chien
4d2bb3715b
Bug 1450017 - Part VIII, Exclude chrome UA style images from use counters r=heycam
...
Given that resizer.svg will be loaded in non-chrome documents, we will
need to exclude it from the use counter.
MozReview-Commit-ID: 4ZzidKJUfBW
--HG--
extra : rebase_source : 9ce9d6e6a312695cfd19243499051bf26d91f79b
2018-04-25 13:34:44 -07:00
Kartikaya Gupta
fc66c485b6
Bug 1456882 - Enable some passing mochitests on linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: 5VIHjwx6A2j
--HG--
extra : rebase_source : d986028cff52ba52a58887225e272bf04ad88de3
2018-04-25 11:29:07 -04:00
Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Andreea Pavel
a21531022b
Merge mozilla-inbound to mozilla-central. a=merge
...
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Kris Maglione
dc8ba3688b
Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
...
MozReview-Commit-ID: JpV6zYOdvHu
--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
Emilio Cobos Álvarez
5f526b4a81
Bug 1455559: Make FromNode work for references. r=bz,Nika
...
MozReview-Commit-ID: 1ldU1aKeMzs
--HG--
extra : rebase_source : 70a2537ab56d040f33acd84d4fd0c3d9de392198
2018-04-20 11:10:12 +02:00
Gurzau Raul
d4fd165bfc
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-25 12:38:44 +03:00
Gurzau Raul
faeb9b7ddd
Merge inbound to mozilla-central. a=merge
2018-04-25 12:36:04 +03:00
Emilio Cobos Álvarez
f8233b4454
Bug 1456471: Remove nsCSSParser.h. r=xidorn
...
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00
Brindusan Cristian
9265429dcd
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-25 00:57:49 +03:00
Tarek Ziadé
90bafd1f42
Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
...
PerformanceCounters are currently disabled in two ways:
- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA
In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.
The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.
MozReview-Commit-ID: 47t2M1O13aH
--HG--
extra : rebase_source : e129e1829f1dc37c019e50e156474c4876d6d6cb
2018-04-24 22:03:06 +02:00
Boris Zbarsky
1790f0fa04
Bug 1453828. Fix IsContainerNode to not claim true for doctype nodes. r=mccr8
...
MozReview-Commit-ID: BC1iBI38wfJ
2018-04-24 11:57:21 -04:00
Dragana Damjanovic
d9148a8a51
Bug 1441246 - Move preload cod from nsStyleLinkElement to HTMLLinkElement. r=smaug
...
--HG--
extra : rebase_source : 01cb8b69aa1187abb83b36098d81df1d96c7d79c
2018-04-20 12:47:00 +03:00
Dão Gottwald
adc758e47b
Bug 1455596 - Remove support for <panel backdrag="true"/>. r=enn,ehsan
2018-04-24 22:07:20 +02:00
Olli Pettay
fa90e156dd
Bug 1453693 - Ensure sequential focus navigation works in Shadow DOM and add some tests, r=mrbkap
2018-04-22 14:25:38 +03:00
Cosmin Sabou
fcd5cb3515
Merge autoland to mozilla-central. a=merge
2018-04-22 12:47:37 +03:00