WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
149782
ShadowRoot with leading or trailing white space cause a crash
https://bugs.webkit.org/show_bug.cgi?id=149782
Summary
ShadowRoot with leading or trailing white space cause a crash
Ryosuke Niwa
Reported
2015-10-02 18:46:26 PDT
We're missing a null pointer check.
Attachments
Fixes the crash
(3.58 KB, patch)
2015-10-02 18:48 PDT
,
Ryosuke Niwa
cdumez
: review+
cdumez
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2015-10-02 18:48:39 PDT
Created
attachment 262375
[details]
Fixes the crash
Ryosuke Niwa
Comment 2
2015-10-05 14:29:49 PDT
ping?
Chris Dumez
Comment 3
2015-10-05 14:33:50 PDT
Comment on
attachment 262375
[details]
Fixes the crash View in context:
https://bugs.webkit.org/attachment.cgi?id=262375&action=review
r=me with comments.
> Source/WebCore/style/RenderTreePosition.cpp:66 > + if (PseudoElement* before = parent->beforePseudoElement())
auto*
> LayoutTests/fast/shadow-dom/shadow-root-with-child-whitespace-text-crash.html:14 > +host.attachShadow({mode: 'closed'}).innerHTML = ` <slot></slot> `;
Why are the quotes around the value so weird?
Ryosuke Niwa
Comment 4
2015-10-05 15:50:02 PDT
Committed
r190585
: <
http://trac.webkit.org/changeset/190585
>
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