Bug 114439 - Crash inspecting the <input type="slider"> shadow element inside <video> controls
Summary: Crash inspecting the <input type="slider"> shadow element inside <video> cont...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-04-11 06:49 PDT by Timothy Hatcher
Modified: 2014-12-13 13:40 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2013-04-11 06:49:28 PDT
Crash inspecting the <input type="slider"> shadow element inside <video> controls. The crash happens when fetching the styles.

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x0000000101de43d0 WebCore::SliderContainerElement::shadowPseudoId() const + 192 (RefPtr.h:58)
1   com.apple.WebCore             	0x0000000101531b75 WebCore::ElementRuleCollector::collectMatchingRules(WebCore::MatchRequest const&, WebCore::StyleResolver::RuleRange&) + 53 (RefPtr.h:66)
2   com.apple.WebCore             	0x00000001015327d7 WebCore::ElementRuleCollector::matchUARules(WebCore::RuleSet*) + 183 (ElementRuleCollector.cpp:369)
3   com.apple.WebCore             	0x00000001015326b5 WebCore::ElementRuleCollector::matchUARules() + 69 (ElementRuleCollector.h:75)
4   com.apple.WebCore             	0x0000000101e54c09 WebCore::StyleResolver::pseudoStyleRulesForElement(WebCore::Element*, WebCore::PseudoId, unsigned int) + 601 (StyleResolver.cpp:1671)
5   com.apple.WebCore             	0x0000000101e549a5 WebCore::StyleResolver::styleRulesForElement(WebCore::Element*, unsigned int) + 21 (StyleResolver.cpp:1650)
6   com.apple.WebCore             	0x00000001017683da WebCore::InspectorCSSAgent::getMatchedStylesForNode(WTF::String*, int, bool const*, bool const*, WTF::RefPtr<WebCore::TypeBuilder::Array<WebCore::TypeBuilder::CSS::RuleMatch> >&, WTF::RefPtr<WebCore::TypeBuilder::Array<WebCore::TypeBuilder::CSS::PseudoIdMatches> >&, WTF::RefPtr<WebCore::TypeBuilder::Array<WebCore::TypeBuilder::CSS::InheritedStyleEntry> >&) + 122 (PassRefPtr.h:105)
7   com.apple.WebCore             	0x000000010173c733 WebCore::InspectorBackendDispatcherImpl::CSS_getMatchedStylesForNode(long, WebCore::InspectorObject*) + 963 (RefPtr.h:66)
Comment 1 Radar WebKit Bug Importer 2013-04-11 06:49:47 PDT
<rdar://problem/13630283>
Comment 2 Brian Burg 2014-12-13 13:32:15 PST
Shadow elements are not inspectable right now.
Comment 3 Brian Burg 2014-12-13 13:40:01 PST
Ooops, I lied. We do support shadow elements. Nonetheless, I could not reproduce this crash on trunk while inspecting all the elements inside <video>