W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > November 2012

[Bug 19919] [Shadow]: iframes as shadow hosts: bugs in chrome v23 or spec change

From: <bugzilla@jessica.w3.org>
Date: Fri, 09 Nov 2012 14:20:27 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-19919-2532-OfYc3RQZLo@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19919

--- Comment #2 from Mikhail Fursov <mfursov@unipro.ru> ---
The error message looks strange and unrelated, however test syntax is correct
and passes with the following minor mod: ('new SR(n)' commented)

// check one or multiple shadows for more complex element (<iframe>)
test(function () {
    var d = newHTMLDocument();
    var n = d.createElement('iframe');

    d.body.appendChild(n);

    var s1 = {ownerDocument: d};//new SR(n);
    assert_equals(s1.ownerDocument, d, 'Check1 for s1.ownerDocument value');

    var s2 = {ownerDocument: d};//new SR(n);
    assert_equals(s2.ownerDocument, d, 'Check1 for s2.ownerDocument value');

    assert_equals(s1.ownerDocument, d, 'Check2 for s1.ownerDocument value');

}, 'A_04_00_01_T02', PROPS(A_04_00_01, {
    author:'Mikhail Fursov <mfursov@unipro.ru>',
    reviewer:''
}));

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 9 November 2012 14:20:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 November 2012 14:20:34 GMT