mirror of
https://github.com/servo/servo
synced 2026-05-02 04:17:38 +02:00
This is mostly stolen from Gecko. As there, we define the unforgeable members on an object stored in the slots of the prototype object. They are then copied onto instance objects when they are instantiated. It should be noted that proxy objects see their unforgeable memebers defined on their expando object. Unforgeable attributes aren't properly inherited in codegen (in a similar fashion as getters and setters as filed in #5875) and require to be redefined in derived interfaces. Fortunately, there are currently no such interfaces. No unforgeable members can be included into the TestBinding interfaces for good measure because they are not compatible with setters. Given the unforgeable holder object has the same prototype as actual instances of the interface, the finalize hook needs to check its slot pointer for nullity before dropping it. The new failing test isn't related to Unforgeable attributes, but to the fact that all Document instances currently have a Location, even if their window isn't in a browsing context.
378 lines
6.7 KiB
INI
378 lines
6.7 KiB
INI
[window-properties.html]
|
|
type: testharness
|
|
[Window method: close]
|
|
expected: FAIL
|
|
|
|
[Window method: stop]
|
|
expected: FAIL
|
|
|
|
[Window method: focus]
|
|
expected: FAIL
|
|
|
|
[Window method: blur]
|
|
expected: FAIL
|
|
|
|
[Window method: open]
|
|
expected: FAIL
|
|
|
|
[Window method: alert]
|
|
expected: FAIL
|
|
|
|
[Window method: confirm]
|
|
expected: FAIL
|
|
|
|
[Window method: prompt]
|
|
expected: FAIL
|
|
|
|
[Window method: print]
|
|
expected: FAIL
|
|
|
|
[Window method: postMessage]
|
|
expected: FAIL
|
|
|
|
[Window method: btoa]
|
|
expected: FAIL
|
|
|
|
[Window method: atob]
|
|
expected: FAIL
|
|
|
|
[Window method: setTimeout]
|
|
expected: FAIL
|
|
|
|
[Window method: clearTimeout]
|
|
expected: FAIL
|
|
|
|
[Window method: setInterval]
|
|
expected: FAIL
|
|
|
|
[Window method: clearInterval]
|
|
expected: FAIL
|
|
|
|
[Window method: getSelection]
|
|
expected: FAIL
|
|
|
|
[Window method: getComputedStyle]
|
|
expected: FAIL
|
|
|
|
[Window method: matchMedia]
|
|
expected: FAIL
|
|
|
|
[Window method: scroll]
|
|
expected: FAIL
|
|
|
|
[Window method: scrollTo]
|
|
expected: FAIL
|
|
|
|
[Window method: scrollBy]
|
|
expected: FAIL
|
|
|
|
[Window readonly attribute: history]
|
|
expected: FAIL
|
|
|
|
[Window readonly attribute: frameElement]
|
|
expected: FAIL
|
|
|
|
[Window readonly attribute: navigator]
|
|
expected: FAIL
|
|
|
|
[Window readonly attribute: applicationCache]
|
|
expected: FAIL
|
|
|
|
[Window readonly attribute: sessionStorage]
|
|
expected: FAIL
|
|
|
|
[Window readonly attribute: localStorage]
|
|
expected: FAIL
|
|
|
|
[Window attribute: name]
|
|
expected: FAIL
|
|
|
|
[Window attribute: status]
|
|
expected: FAIL
|
|
|
|
[Window attribute: opener]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onabort]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onafterprint]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onbeforeprint]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onbeforeunload]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onblur]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oncancel]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oncanplay]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oncanplaythrough]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onchange]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onclick]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onclose]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oncontextmenu]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oncuechange]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondblclick]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondrag]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondragend]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondragenter]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondragleave]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondragover]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondragstart]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondrop]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ondurationchange]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onemptied]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onended]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onerror]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onfocus]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onhashchange]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oninput]
|
|
expected: FAIL
|
|
|
|
[Window attribute: oninvalid]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onkeydown]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onkeypress]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onkeyup]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onload]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onloadeddata]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onloadedmetadata]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onloadstart]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmessage]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmousedown]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmousemove]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmouseout]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmouseover]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmouseup]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onmousewheel]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onoffline]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ononline]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onpause]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onplay]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onplaying]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onpagehide]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onpageshow]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onpopstate]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onprogress]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onratechange]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onreset]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onresize]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onscroll]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onseeked]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onseeking]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onselect]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onshow]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onstalled]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onstorage]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onsubmit]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onsuspend]
|
|
expected: FAIL
|
|
|
|
[Window attribute: ontimeupdate]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onunload]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onvolumechange]
|
|
expected: FAIL
|
|
|
|
[Window attribute: onwaiting]
|
|
expected: FAIL
|
|
|
|
[Window unforgeable attribute: window]
|
|
expected: FAIL
|
|
|
|
[Window unforgeable attribute: location]
|
|
expected: FAIL
|
|
|
|
[Window unforgeable attribute: top]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: self]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: locationbar]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: menubar]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: personalbar]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: scrollbars]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: statusbar]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: toolbar]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: frames]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: length]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: parent]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: external]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: screen]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: scrollX]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: scrollY]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: pageXOffset]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: pageYOffset]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: innerWidth]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: innerHeight]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: screenX]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: screenY]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: outerWidth]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: outerHeight]
|
|
expected: FAIL
|
|
|
|
[Window replaceable attribute: devicePixelRatio]
|
|
expected: FAIL
|
|
|