Bug 162468

Summary: document.title getter does not strip / collapse the right whitespace characters
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: DOMAssignee: Chris Dumez <cdumez>
Severity: Normal CC: achristensen, cdumez, commit-queue, darin, dbates, esprehn+autocc, kangil.han, rniwa, sam
Priority: P2 Keywords: WebExposed
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Chris Dumez 2016-09-22 15:32:53 PDT
The document.title getter does not strip / collapse whitespace characters as per:
- https://html.spec.whatwg.org/#document.title

This part of the specification provides more information about which whitespace characters:
- https://html.spec.whatwg.org/#strip-and-collapse-whitespace
- https://html.spec.whatwg.org/#space-character

Firefox matches the specification. However, WebKit strips / collapses some characters it should not.
Comment 1 Chris Dumez 2016-09-22 15:48:31 PDT
Created attachment 289616 [details]
Comment 2 Chris Dumez 2016-09-23 09:27:59 PDT
Comment on attachment 289616 [details]

Clearing flags on attachment: 289616

Committed r206309: <http://trac.webkit.org/changeset/206309>
Comment 3 Chris Dumez 2016-09-23 09:28:04 PDT
All reviewed patches have been landed.  Closing bug.