[Webkit-unassigned] [Bug 88148] REGRESSION(r118098): <content> element does not render distributed children when cloned from another document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 2 09:02:26 PDT 2012


--- Comment #3 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2012-06-02 09:02:26 PST ---
(In reply to comment #2)
> The cause of this seems simple enough: The function which wraps a HTMLContentElement tries to access the "context" (ie frame) via the element being wrapped. Independent documents don’t have frames.

I see. The decision is made at the creation time and is permanent. So even if the object is moved from one  document to another, its nature stays the same. Hmm... This seems deficient.

BTW, this is not just about wrappers. The code that breaks us is the one generated for HTMLElementFactory.cpp, which is used by the parser.

> A temporary workaround for the Web Components polyfill would be to create a document in a same-origin iframe.

Yep, that's what I'll do in the meantime.

> What is the intended design of ContextEnabledFeatures? Should it access the current JavaScript context, like the SOP does?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list