Introduce HTMLParserOptions to encapsulate HTML parser options
Created attachment 181558 [details] Patch (no xcodeproj changes yet)
Comment on attachment 181558 [details] Patch (no xcodeproj changes yet) Attachment 181558 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/15734861
(The apple-mac failure is expected because I need to add HTMLParserOptions to the xcodeproj file.)
Comment on attachment 181558 [details] Patch (no xcodeproj changes yet) View in context: https://bugs.webkit.org/attachment.cgi?id=181558&action=review This is a fantastic change. This breaks these options from being "dynamic" if they're supposed to be by being "Settings". r=me if you make Mac build. > Source/WebCore/html/parser/HTMLParserOptions.h:36 > +class HTMLParserOptions { > +public: > + bool usePreHTML5ParserQuirks; > + unsigned maximumDOMTreeDepth; I find structs rarely stay that way for long... but OK.
> I find structs rarely stay that way for long... but OK. The idea is that we'll end up copying this data structure from the main thread to the parser thread, which means we'll need to keep it simple enough to copy.
Committed r139008: <http://trac.webkit.org/changeset/139008>