RESOLVED FIXED 87818
[Shadow DOM] HTMLContentElement and HTMLShadowElement constructors should be visible.
https://bugs.webkit.org/show_bug.cgi?id=87818
Summary [Shadow DOM] HTMLContentElement and HTMLShadowElement constructors should be ...
Hajime Morrita
Reported 2012-05-29 21:22:26 PDT
Currently there is no window.HTMLContentElement nor window.HTMLShadowElement. They should be visible.
Attachments
Patch (5.32 KB, patch)
2012-05-29 23:29 PDT, Hajime Morrita
no flags
Patch (5.54 KB, patch)
2012-05-29 23:42 PDT, Hajime Morrita
no flags
Hajime Morrita
Comment 1 2012-05-29 23:29:26 PDT
Hajime Morrita
Comment 2 2012-05-29 23:42:17 PDT
Kentaro Hara
Comment 3 2012-05-29 23:43:56 PDT
Comment on attachment 144725 [details] Patch Looks OK!
WebKit Review Bot
Comment 4 2012-05-30 00:26:55 PDT
Comment on attachment 144725 [details] Patch Clearing flags on attachment: 144725 Committed r118902: <http://trac.webkit.org/changeset/118902>
WebKit Review Bot
Comment 5 2012-05-30 00:26:59 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 6 2012-05-31 00:52:36 PDT
Could you please explain why you have the following check? shouldBe("typeof window.HTMLContentElement", "'function'"); On EFL port with JSC engine, I get an object, not a function.
Kentaro Hara
Comment 7 2012-05-31 01:05:23 PDT
(In reply to comment #6) > Could you please explain why you have the following check? > shouldBe("typeof window.HTMLContentElement", "'function'"); > > On EFL port with JSC engine, I get an object, not a function. morrita@: JSC returns [object] for this case. Would you rebaseline the test result?
Hajime Morrita
Comment 8 2012-05-31 16:36:26 PDT
(In reply to comment #6) > Could you please explain why you have the following check? > shouldBe("typeof window.HTMLContentElement", "'function'"); > > On EFL port with JSC engine, I get an object, not a function. Got it. I shouldn't have check it as a function. It should've been checked as something defined. I'll update the test. Thanks for the catch. By the way, Does EFL port enable Shadow DOM? We aren't aware any JSC port which enables Shadow DOM. Maybe we need to fix some JSC-specific problems around shadows in that case.
Chris Dumez
Comment 9 2012-05-31 22:25:03 PDT
(In reply to comment #8) > (In reply to comment #6) > > Could you please explain why you have the following check? > > shouldBe("typeof window.HTMLContentElement", "'function'"); > > > > On EFL port with JSC engine, I get an object, not a function. > > Got it. I shouldn't have check it as a function. > It should've been checked as something defined. I'll update the test. > Thanks for the catch. > > By the way, Does EFL port enable Shadow DOM? > We aren't aware any JSC port which enables Shadow DOM. > Maybe we need to fix some JSC-specific problems around shadows in that case. EFL port does not enable it yet but I have a patch to do so in Bug 87732.
Note You need to log in before you can comment on or make changes to this bug.