Emilio Cobos Álvarez
c556ec7ad0
Bug 1457920: Remove ServoStyleSheet usage. r=xidorn
...
MozReview-Commit-ID: LIBkovuQ6MB
2018-05-02 04:13:26 +02:00
Emilio Cobos Álvarez
bf64474d79
Bug 1457920: Remove StyleSheet::AsServo. r=xidorn
...
MozReview-Commit-ID: IkkJvUFHykk
2018-05-02 04:13:21 +02:00
Andreea Pavel
7955752872
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-01 13:13:09 +03:00
Emilio Cobos Álvarez
788397fa22
Bug 1458016
: Fix bad cast to Text. r=bz
...
I think it's harmless security-wise, since Text and char data are both
nsIContent, so the vtable offset should be the same.
I could also just do AsContent(), which may be cleaner but involve a virtual
call, or add AsCharacterData(), just let me know.
MozReview-Commit-ID: 79I9CuCmioF
--HG--
extra : rebase_source : 59bcd64ee4ae4d444a4dbeed9b5ecf97455c4422
2018-04-30 22:03:33 +02:00
Hiroyuki Ikezoe
549813ca2d
Bug 1456372 - Use GetWebRenderBridge() in nsDOMWindowUtils::GetOMTAStyle(). r=kats
...
We can directly get WebRenderBridgeChild by the function.
MozReview-Commit-ID: 6o4ZJMN2xAn
--HG--
extra : rebase_source : ba410297ad30f0bec00b1c65123b722d0b2869dd
2018-04-30 10:26:52 +09:00
Kartikaya Gupta
549ac4326c
Bug 1457443 - Don't expect WebRender windows if WebRender isn't built. r=milan
...
MozReview-Commit-ID: 2i25nGMsvxE
--HG--
extra : rebase_source : 9bdd28048504bcde5150b252777f46ab523ca1ff
2018-04-27 12:51:40 -04:00
Andreea Pavel
443c91d4b4
Merge inbound to mozilla-central. a=merge
2018-04-28 20:30:18 +03:00
Olli Pettay
30938bcddd
Bug 1430020, let sequential focus navigation in shadow DOM enter iframes, r=mrbkap
...
--HG--
extra : rebase_source : 0ca436dfc8b28a680bdb393f0f9ce8ae0632bd9a
2018-04-28 16:07:06 +03:00
Emilio Cobos Álvarez
981bc1c766
Bug 1457166: Fire online / offline events at the window. r=bz
...
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-28 09:38:53 +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
Csoregi Natalia
aa73cfd14b
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-28 00:55:43 +03:00
Brindusan Cristian
93d1017e0f
Backed out changeset b543167ab064 (bug 1457166) for mochitest failures on test_bug336682_1.html CLOSED TREE
2018-04-27 15:44:00 +03:00
Emilio Cobos Álvarez
28b9b16ea6
Bug 1457166: Fire online / offline events at the window. r=bz
...
MozReview-Commit-ID: 2v5zNwM9qSh
2018-04-27 13:39:02 +02:00
Cosmin Sabou
db4c6f9696
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-27 13:13:54 +03:00
Cosmin Sabou
68fdb6cf4f
Merge inbound to mozilla-central. a=merge
2018-04-27 13:04:36 +03:00
Olli Pettay
fed24455b6
bug 1430692, Handle focus navigation on NAC in shadow DOM, r=mrbkap
...
--HG--
extra : rebase_source : c56c2be2fbf0aa04e520262a419fd49823aad012
2018-04-27 12:37:43 +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
Eric Rahm
51ccde5982
Bug 1453525 - Remove OOM check of infallible method. r=mccr8
...
--HG--
extra : rebase_source : 2cbe66638e3a77417414bd8ca3ae9e7bf37d5b2c
2018-04-11 17:09:55 -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
Bobby Holley
3cbcfdf4cd
Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange
...
MozReview-Commit-ID: E6QPjgfUKdo
2018-04-27 11:15:27 -07:00
Neil Deakin
ef5f9b4b23
Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz
...
Test changes for removal of PopupBoxObject and popup.xml methods, some reflow tests now have different stacks now that they are not going through popup.xml binding methods, test_popupanchor.xul changes due to need to wait for popuppositioned event after resizing. The old code would just adjust the arrow directly when sizeTo was called, but the new code does this through an asynchronous popuppositioned event. Changes to some places that check for XULElement class.
--HG--
rename : dom/webidl/PopupBoxObject.webidl => dom/webidl/XULPopupElement.webidl
rename : layout/xul/PopupBoxObject.cpp => dom/xul/XULPopupElement.cpp
rename : layout/xul/PopupBoxObject.h => dom/xul/XULPopupElement.h
2018-04-27 11:04:38 -04:00
Neil Deakin
e25f02a7f3
Bug 1446961, restructuring to allow nsXULElement to be subclassed. Rename nsXULElement::Create to make it clearer it creates from the prototype element, r=bz
2018-04-27 11:04:37 -04: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