WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 50256
Web Inspector: [CRASH] on "Revert to this revision" of style with import.
https://bugs.webkit.org/show_bug.cgi?id=50256
Summary
Web Inspector: [CRASH] on "Revert to this revision" of style with import.
Pavel Feldman
Reported
2010-11-30 11:37:48 PST
1. Go to apple.com 2. Open inspector 3. edit font-size in body's selector 4. Revert to original in the resources tab CRASH: #0 0x1016cdc81 in WebCore::Document::removePendingSheet at Document.cpp:2856 #1 0x10195e1ce in WebCore::HTMLLinkElement::sheetLoaded at HTMLLinkElement.cpp:362 #2 0x10167bc70 in WebCore::CSSStyleSheet::checkLoaded at CSSStyleSheet.cpp:232 #3 0x102024bf1 in WebCore::StyleBase::checkLoaded at StyleBase.cpp:40 #4 0x10167bc3b in WebCore::CSSStyleSheet::checkLoaded at CSSStyleSheet.cpp:226 #5 0x1015f0283 in WebCore::CSSImportRule::setCSSStyleSheet at CSSImportRule.cpp:104 #6 0x10153f545 in WebCore::CachedCSSStyleSheet::didAddClient at CachedCSSStyleSheet.cpp:57 #7 0x1015470a7 in WebCore::CachedResource::addClient at CachedResource.cpp:216 #8 0x1015ef8c7 in WebCore::CSSImportRule::insertedIntoParent at CSSImportRule.cpp:148 #9 0x102029f82 in WebCore::StyleList::append at StyleList.cpp:35 #10 0x1015e4848 in cssyyparse at CSSGrammar.y:385 #11 0x10160d2e3 in WebCore::CSSParser::parseSheet at CSSParser.cpp:233 #12 0x10167bf98 in WebCore::CSSStyleSheet::parseStringAtLine at CSSStyleSheet.cpp:206 #13 0x10167bff3 in WebCore::CSSStyleSheet::parseString at CSSStyleSheet.cpp:199 #14 0x101a91e4d in WebCore::InspectorStyleSheet::reparseStyleSheet at InspectorStyleSheet.cpp:590 #15 0x101a2ffa2 in WebCore::InspectorCSSAgent::setStyleSheetText2 at InspectorCSSAgent.cpp:298 Here is where it crashes: // This method is called whenever a top-level stylesheet has finished loading. void Document::removePendingSheet() { // Make sure we knew this sheet was pending, and that our count isn't out of sync. ASSERT(m_pendingStylesheets > 0); m_pendingStylesheets--;
Attachments
[PATCH] Proposed fix.
(1.44 KB, patch)
2010-11-30 14:04 PST
,
Pavel Feldman
eric
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2010-11-30 14:04:24 PST
Created
attachment 75200
[details]
[PATCH] Proposed fix.
Dave Hyatt
Comment 2
2010-11-30 14:11:04 PST
Comment on
attachment 75200
[details]
[PATCH] Proposed fix. r=me
Pavel Feldman
Comment 3
2010-11-30 17:42:43 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/css/CSSImportRule.cpp Committed
r72988
WebKit Review Bot
Comment 4
2010-11-30 18:31:44 PST
http://trac.webkit.org/changeset/72988
might have broken Qt Linux ARMv5 Release
Pavel Feldman
Comment 5
2010-12-06 22:55:57 PST
(this fix is being rolled out due to
https://bugs.webkit.org/show_bug.cgi?id=50502
)
Eric Seidel (no email)
Comment 6
2010-12-14 01:26:04 PST
Comment on
attachment 75200
[details]
[PATCH] Proposed fix. Marking r- since this was rolled out.
Alexander Pavlov (apavlov)
Comment 7
2011-11-21 06:43:41 PST
This is no longer crashing, fixed a while ago under a different bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug