RESOLVED FIXED Bug 88436
REGRESSION (r115654): Sometimes does not replace content for multipart/x-mixed-replace
https://bugs.webkit.org/show_bug.cgi?id=88436
Summary REGRESSION (r115654): Sometimes does not replace content for multipart/x-mixe...
Gustavo Noronha (kov)
Reported 2012-06-06 11:34:06 PDT
I have a work-in-progress patch for libsoup and the soup backend of WebKit to support multipart/x-mixed-replace. I noticed after I rebased it on top of a more recent WebKit it stopped working. I managed to bisect the problem to the revision mentioned in the summary. Interestingly some tests work right (like the multipart tests in our LayoutTests), but I managed to reproduce it with this toy: https://gitorious.org/kov-play/kov-play/blobs/master/nodejs/multipart-clock.js I'll try to come up with a test. Would be good if we can confirm the problem in another port.
Attachments
Patch (without test) (1.99 KB, patch)
2012-06-07 14:01 PDT, Nate Chapin
no flags
patch + test (9.99 KB, patch)
2012-06-14 11:30 PDT, Nate Chapin
no flags
Alexey Proskuryakov
Comment 1 2012-06-06 15:22:58 PDT
Please always add author and reviewer of an offending change to CC list for regressions.
Nate Chapin
Comment 2 2012-06-06 16:54:49 PDT
(In reply to comment #0) > I have a work-in-progress patch for libsoup and the soup backend of WebKit to support multipart/x-mixed-replace. I noticed after I rebased it on top of a more recent WebKit it stopped working. I managed to bisect the problem to the revision mentioned in the summary. Interestingly some tests work right (like the multipart tests in our LayoutTests), but I managed to reproduce it with this toy: https://gitorious.org/kov-play/kov-play/blobs/master/nodejs/multipart-clock.js > > I'll try to come up with a test. Would be good if we can confirm the problem in another port. I'll look at this tomorrow. Any hints you have or guidance as to how it's failing will be greatly appreciated :)
Nate Chapin
Comment 3 2012-06-07 14:01:48 PDT
Created attachment 146384 [details] Patch (without test) Still looking for a proper layout test....
Nate Chapin
Comment 4 2012-06-07 17:09:11 PDT
(In reply to comment #3) > Created an attachment (id=146384) [details] > Patch (without test) > > Still looking for a proper layout test.... I have a test that works correctly in a full debug build of Safari, but asserts pretty regularly in WTR because of a null Internals* on the JS context during teardown. I haven't figured out yet whether that's a test infrastructure bug or a symptom of something sinister. Is this familiar to anyone?
Alexey Proskuryakov
Comment 5 2012-06-07 17:17:07 PDT
The code to remove Internals on teardown in WTR is new (I added it last week), and I seen an assertion below it a few times. Unfortunately, I cannot investigate this now. If you have a mostly reproducible case, and can find out the reason for these assertions, that would be extremely helpful. Perhaps the method is called twice somehow?
Nate Chapin
Comment 6 2012-06-14 11:30:31 PDT
Created attachment 147623 [details] patch + test
Brady Eidson
Comment 7 2012-07-03 15:34:23 PDT
WebKit Review Bot
Comment 8 2012-07-03 16:54:25 PDT
Comment on attachment 147623 [details] patch + test Clearing flags on attachment: 147623 Committed r121813: <http://trac.webkit.org/changeset/121813>
WebKit Review Bot
Comment 9 2012-07-03 16:54:30 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 10 2012-07-04 00:34:51 PDT
Re-opened since this is blocked by 90522
Brady Eidson
Comment 11 2012-07-05 09:55:03 PDT
The rollout in bug 90522 was invalid as it wasn't based in any failures here at the WebKit project. Since this patch fixed an important regression here in WebKit and did not cause any known new regressions here in Webkit, rolling this back in.
WebKit Review Bot
Comment 12 2012-07-05 10:19:30 PDT
Comment on attachment 147623 [details] patch + test Clearing flags on attachment: 147623 Committed r121912: <http://trac.webkit.org/changeset/121912>
WebKit Review Bot
Comment 13 2012-07-05 10:19:37 PDT
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.