Bug 77603

Summary: Element should be able to take built-in shadow tree.
Product: WebKit Reporter: Shinya Kawanaka <shinyak>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 77607, 77608, 77610    
Bug Blocks: 77499    

Description Shinya Kawanaka 2012-02-01 22:04:42 PST
Let's consider adding a new shadow subtree to element having a built-in shadow subtree.
Such element may have a code like:
  ensureShadowRoot()->firstChild() ...

If ensureShadowRoot() returns the youngest shadow root, this code may crash.
We should guarantee that elements can take built-in shadow root.