This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
fast
/
css
/
selector-text-mutation-cras...
2 lines
5 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
REGRESSION(r207669): Crash after mutating selector text https://bugs.webkit.org/show_bug.cgi?id=168655 <rdar://problem/30632111> Reviewed by Andreas Kling. Source/WebCore: Test: fast/css/selector-text-mutation-crash.html * style/StyleScope.cpp: (WebCore::Style::Scope::resolver): (WebCore::Style::Scope::updateStyleResolver): Protect against entering scheduleUpdate and wiping style resolver while updating it. Extension stylesheets can trigger this. (WebCore::Style::Scope::scheduleUpdate): Clear the style resolver immediately if style sheet content changes. The resolver may have data structures that point to the old sheet contents. The resolver would get wiped anyway when the scheduled update actually occurs. * style/StyleScope.h: LayoutTests: * fast/css/selector-text-mutation-crash-expected.txt: Added. * fast/css/selector-text-mutation-crash.html: Added. Canonical link: https://commits.webkit.org/185731@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-22 14:46:06 +00:00
PASS