RESOLVED FIXED 164705
REGRESSION (204441): newsplex.com map does not load
https://bugs.webkit.org/show_bug.cgi?id=164705
Summary REGRESSION (204441): newsplex.com map does not load
Chris Dumez
Reported 2016-11-13 18:53:02 PST
newsplex.com map does not load after r204441. It loads fine in Firefox and Chrome.
Attachments
Patch (9.46 KB, patch)
2016-11-13 19:31 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2016-11-13 18:53:20 PST
Chris Dumez
Comment 2 2016-11-13 19:31:19 PST
Darin Adler
Comment 3 2016-11-13 22:46:30 PST
Comment on attachment 294687 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=294687&action=review > Source/WebCore/dom/TagCollection.h:46 > + AtomicString m_qualifiedName; I think it is confusing to call these strings "qualified names" and also call the data structure QualifiedName the same thing. We should figure out what our terminology is. > Source/WebCore/dom/TagCollection.h:86 > + return m_qualifiedName == element.tagQName().toString(); We should find a way to do this comparison without allocating a string each time. > Source/WebCore/dom/TagCollection.h:100 > + return m_loweredQualifiedName == element.tagQName().toString(); > + return m_qualifiedName == element.tagQName().toString(); Ditto.
Chris Dumez
Comment 4 2016-11-13 22:49:20 PST
Comment on attachment 294687 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=294687&action=review >> Source/WebCore/dom/TagCollection.h:46 >> + AtomicString m_qualifiedName; > > I think it is confusing to call these strings "qualified names" and also call the data structure QualifiedName the same thing. We should figure out what our terminology is. I following the naming in the specification. It is a qualified name stored as a String rather than a QualifiedName type. >> Source/WebCore/dom/TagCollection.h:86 >> + return m_qualifiedName == element.tagQName().toString(); > > We should find a way to do this comparison without allocating a string each time. In the common case, there is no prefix and therefore it will return the localName. It will not allocate a new String, only cause some refcounting churn.
WebKit Commit Bot
Comment 5 2016-11-13 23:10:01 PST
Comment on attachment 294687 [details] Patch Clearing flags on attachment: 294687 Committed r208674: <http://trac.webkit.org/changeset/208674>
WebKit Commit Bot
Comment 6 2016-11-13 23:10:06 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.