gecko-dev/dom
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
..
abort
animation Bug 1456364 part 4 - Convert CSS_PROPERTY_* flags to a typed enum flags. r=emilio 2018-04-26 16:24:33 +02:00
asmjscache
audiochannel
base Bug 1458016: Fix bad cast to Text. r=bz 2018-04-30 22:03:33 +02:00
battery Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE 2018-04-20 21:40:24 +03:00
bindings Bug 1357463 Add CopyableErrorResult to opt in to auto-cloning ErrorResult values. r=bz 2018-04-26 13:50:56 -07:00
broadcastchannel Bug 1450644 - WorkerRef should make APIs able to work until the worker is completely terminated - part 2 - BroadcastChannel, r=asuth 2018-04-17 20:51:02 +02:00
browser-element Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
cache Bug 1453339. Make it harder to mess up Promise::All. r=peterv 2018-04-13 19:31:42 -04:00
canvas Bug 1455674 part 9. Remove nsIDOMElement use from nsIFocusManager. r=qdot 2018-04-26 23:35:19 -04:00
chrome-webidl Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
clients Backed out 7 changesets (bug 1450644, bug 1454633) for for failing browser_storage_permission.js on a CLOSED TREE 2018-04-18 01:10:26 +03:00
commandhandler
console Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
credentialmanagement
crypto
encoding
events Bug 1452536 - Don't gesture activate for events targetting editable elements. r=masayuki 2018-04-30 09:44:31 +12:00
fetch Bug 1455811 - ReadableStream.cancel() must cancel the actual download - part 2, r=bkelly 2018-04-24 16:10:38 +02:00
file Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
filehandle
filesystem
flex
gamepad Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki 2018-04-20 12:55:30 -04:00
geolocation Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
grid
html Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
imptests No bug - fix typos in Bugzilla components metadata in moz.build files. r=me DONTBUILD 2018-04-19 15:50:31 +03:00
indexedDB Bug 1454309 - Explicitly close storage connection before dispatching to connection pool; r=asuth 2018-04-25 14:52:33 +02:00
interfaces Bug 1457443 - Don't expect WebRender windows if WebRender isn't built. r=milan 2018-04-27 12:51:40 -04:00
ipc Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
jsurl
locales Bug 1442551 - Console log added for NS_ERROR_DOM_BAD_URI. r=ckerschb 2018-04-25 09:38:59 +03:00
manifest
mathml Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
media Merge inbound to mozilla-central a=merge 2018-05-01 00:57:17 +03:00
messagechannel Bug 1450644 - WorkerRef should make APIs able to work until the worker is completely terminated - part 1 - MessagePort, r=asuth 2018-04-17 20:51:02 +02:00
midi Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
network Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE 2018-04-20 21:40:24 +03:00
notification Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
offline Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki 2018-04-20 12:55:30 -04:00
payments Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
performance Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange 2018-04-27 11:15:27 -07:00
permission
plugins Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
power
presentation Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
promise Bug 1453339. Make it harder to mess up Promise::All. r=peterv 2018-04-13 19:31:42 -04:00
push Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8 2018-04-23 12:58:34 -07:00
quota Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
res
script Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab 2018-04-25 07:01:00 +03:00
security Backed out 2 changesets (bug 1439330) for wpt3 failures in /content-security-policy/script-src/script-src-strict_dynamic_eval.html on a CLOSED TREE 2018-04-28 19:33:32 +03:00
serviceworkers Bug 1456981 Use DOMMozPromiseRequestHolder in ServiceWorkerContainer. r=baku 2018-04-26 13:53:20 -07:00
smil Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
storage Bug 1252998 - StorageActivityService - part 8 - nsIStorageActivityService::moveOriginInTime() for testing, r=asuth 2018-04-18 18:19:13 +02:00
svg Backout Bug 149075 - While it is compatible with the SVG specification, all other browsers allow it 2018-04-28 16:09:38 +01:00
system Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
tests Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
u2f
url Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
vr
webauthn Bug 1455885: Inline and make document casts fatally assert. r=bz 2018-04-26 17:05:12 +02:00
webbrowserpersist Bug 1447389 - Remove nsIDOMNodeList. r=bz 2018-04-25 23:01:30 +02:00
webidl Bug 1456259 - Correct AnalyserNode construction issues. r=padenot,smaug 2018-04-26 16:32:52 +02:00
websocket Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
workers Bug 1457187 P2 Call NoteTerminating() from WorkerPrivate::NotifyInternal(). r=baku 2018-04-26 09:18:01 -07:00
worklet
xbl Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
xhr Bug 1455052 part 10. Remove various unused nsIDOMEvent bits. r=masayuki 2018-04-20 12:55:31 -04:00
xml Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
xslt Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
xul Bug 1455674 part 20. Get rid of nsIDOMElement. r=qdot 2018-04-26 23:37:34 -04:00
jar.mn
moz.build