WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
63163
Add preference for setting the html parser depth limit
https://bugs.webkit.org/show_bug.cgi?id=63163
Summary
Add preference for setting the html parser depth limit
Sam Weinig
Reported
2011-06-22 11:51:51 PDT
Add preference for setting the html parser depth limit
Attachments
Patch
(5.02 KB, patch)
2011-06-22 11:52 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2011-06-22 11:52:40 PDT
Created
attachment 98210
[details]
Patch
Sam Weinig
Comment 2
2011-06-22 13:13:59 PDT
Committed
r89469
: <
http://trac.webkit.org/changeset/89469
>
mitz
Comment 3
2011-06-22 13:51:06 PDT
Comment on
attachment 98210
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=98210&action=review
> Source/WebKit/mac/WebView/WebPreferencesPrivate.h:242 > +- (void)setMaximumHTMLParserDOMTreeDepth:(unsigned)depth; > +- (unsigned)maximumHTMLParserDOMTreeDepth;
Should use NSUInteger instead of unsigned here.
Sam Weinig
Comment 4
2011-06-22 15:03:47 PDT
(In reply to
comment #3
)
> (From update of
attachment 98210
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=98210&action=review
> > > Source/WebKit/mac/WebView/WebPreferencesPrivate.h:242 > > +- (void)setMaximumHTMLParserDOMTreeDepth:(unsigned)depth; > > +- (unsigned)maximumHTMLParserDOMTreeDepth; > > Should use NSUInteger instead of unsigned here.
Ok, I actually think I want to back this out. There isn't a super compelling reason for it as it turns out.
Sam Weinig
Comment 5
2011-06-22 17:17:39 PDT
Rolled out the patch in 89501.
Alexey Proskuryakov
Comment 6
2011-06-23 01:01:40 PDT
So, changing resolution to WONTFIX. I can't see how the preference could be a good idea - either the depth limit doesn't affect real life Web sites, or the limit should be the same across all WebKit ports for compatibility.
Sam Weinig
Comment 7
2011-06-23 07:10:20 PDT
(In reply to
comment #6
)
> So, changing resolution to WONTFIX. > > I can't see how the preference could be a good idea - either the depth limit doesn't affect real life Web sites, or the limit should be the same across all WebKit ports for compatibility.
The initial intent of the preference was for applications that don't care as much about about web compatibilty (such as mail client).
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