Summary: | EventSource should support receiving empty events and events with newline characters only | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Bergkvist <adam.bergkvist> | ||||||
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, eric, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Adam Bergkvist
2010-01-05 07:49:06 PST
Created attachment 45891 [details]
patch
Proposed patch.
style-queue ran check-webkit-style on attachment 45891 [details] without any errors.
Comment on attachment 45891 [details]
patch
Are the two code changes here separate fixes? How do the code changes relate to the desired behavior? What is the removeLast for?
I think the comments in the change log are too terse. They assume that it's obvious what is wrong here and why this fixes it. Let those things are not clear to me.
Comment on attachment 45891 [details]
patch
I agree with Darin, this change is unreviewable. It's not clear from the ChagneLog or from the code comments what you're trying to do here.
Created attachment 46054 [details] updated patch I agree that the ChangeLog message was insufficient. Here's an updated patch with more descriptive message in the ChangeLog. The diff of the specification change in question: http://html5.org/tools/web-apps-tracker?from=4078&to=4079 style-queue ran check-webkit-style on attachment 46054 [details] without any errors.
You mention the "updated specification" in the ChangeLog, but a link would be much more helpful. Especially one which points to the paragraph in question. I don't even know what specification is under discussion here. Comment on attachment 46054 [details]
updated patch
The code looks reasonable. I haven't validated that this behavior actually matches what the spec requires, but I'm trusting Adam here.
Comment on attachment 46054 [details] updated patch Clearing flags on attachment: 46054 Committed r56035: <http://trac.webkit.org/changeset/56035> All reviewed patches have been landed. Closing bug. |