Bug 6446

Summary: Allow surrogate pairs in numeric entities
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: DOMAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Minor CC: mathias
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 4948    
Attachments:
Description Flags
proposed patch darin: review+

Description Alexey Proskuryakov 2006-01-09 04:33:57 PST
Fix part of bug 4948 - allow Unicode surrogates to be encoded as HTML numeric entities. This is invalid, 
but Firefox allows this.
Comment 1 Alexey Proskuryakov 2006-01-09 04:34:46 PST
Created attachment 5567 [details]
proposed patch
Comment 2 Darin Adler 2006-01-09 08:56:05 PST
Comment on attachment 5567 [details]
proposed patch

Is the fact that Firefox allows these incorrect entity values sufficient reason
for us to support them too?

Have we seen these in the wild?
Comment 3 Darin Adler 2006-01-09 09:06:35 PST
Comment on attachment 5567 [details]
proposed patch

r=me, anyway -- it's hard to see a major downside to making this tiny change
Comment 4 Alexey Proskuryakov 2006-01-09 12:23:05 PST
(In reply to comment #2)
> Have we seen these in the wild?

No, at least not me.
Comment 5 Alexey Proskuryakov 2012-05-29 10:50:44 PDT
We have bug 22210 for maybe undoing this.