mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Test for bug 798264.
This commit is contained in:
parent
7d96f5d097
commit
ba4378de1d
@ -47,6 +47,11 @@ function go() {
|
|||||||
var gebtn = SC.lookupMethod(document, 'getElementsByTagName');
|
var gebtn = SC.lookupMethod(document, 'getElementsByTagName');
|
||||||
is(Function.call.apply(gebtn, [window, 'iframe']).length, 2, "method is bound");
|
is(Function.call.apply(gebtn, [window, 'iframe']).length, 2, "method is bound");
|
||||||
|
|
||||||
|
// Test that lookupMethod doesn't return ChromeOnly properties when used from
|
||||||
|
// content.
|
||||||
|
is(SC.lookupMethod(new XMLHttpRequest(), 'getInterface'), undefined,
|
||||||
|
"lookupMethod from content shouldn't find a ChromeOnly property");
|
||||||
|
|
||||||
// Test that we throw for location objects. Location objects already use same-
|
// Test that we throw for location objects. Location objects already use same-
|
||||||
// compartment Xrays, so callers shouldn't need to use lookupMethod there. And
|
// compartment Xrays, so callers shouldn't need to use lookupMethod there. And
|
||||||
// making it work would involve complicating the security surounding the
|
// making it work would involve complicating the security surounding the
|
||||||
|
Loading…
Reference in New Issue
Block a user