1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
=== tests/cases/conformance/salsa/chrome-devtools-DOMExtension.js ===
// Extend that DOM! (doesn't work, but shouldn't crash)
Event.prototype.removeChildren = function () {
>Event.prototype.removeChildren = function () { this.textContent = 'nope, not going to happen'} : () => void
>Event.prototype.removeChildren : any
>Event.prototype : Event
>Event : { new (type: string, eventInitDict?: EventInit): Event; prototype: Event; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }
>prototype : Event
>removeChildren : any
>function () { this.textContent = 'nope, not going to happen'} : () => void
this.textContent = 'nope, not going to happen'
>this.textContent = 'nope, not going to happen' : "nope, not going to happen"
>this.textContent : any
>this : Event
>textContent : any
>'nope, not going to happen' : "nope, not going to happen"
}
|