WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 139313
REGRESSION (173394): Support for webcam is broken
https://bugs.webkit.org/show_bug.cgi?id=139313
Summary
REGRESSION (173394): Support for webcam is broken
Antti Koivisto
Reported
2014-12-05 13:56:28 PST
multipart/x-mixed-replace for images is broken due to buffering in network process
Attachments
patch
(3.30 KB, patch)
2014-12-05 14:12 PST
,
Antti Koivisto
ap
: review+
Details
Formatted Diff
Diff
updated patch
(3.57 KB, patch)
2014-12-05 15:22 PST
,
Antti Koivisto
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2
(547.90 KB, application/zip)
2014-12-05 16:34 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion
(790.69 KB, application/zip)
2014-12-05 16:35 PST
,
Build Bot
no flags
Details
some changes to try to make the test work in the bots
(3.59 KB, patch)
2014-12-06 04:05 PST
,
Antti Koivisto
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-mountainlion
(1.27 MB, application/zip)
2014-12-06 04:50 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2
(547.22 KB, application/zip)
2014-12-06 05:19 PST
,
Build Bot
no flags
Details
another attempt with the test
(3.60 KB, patch)
2014-12-08 00:40 PST
,
Antti Koivisto
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2
(540.58 KB, application/zip)
2014-12-08 01:51 PST
,
Build Bot
no flags
Details
another
(3.55 KB, patch)
2014-12-08 01:59 PST
,
Antti Koivisto
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
(504.53 KB, application/zip)
2014-12-08 03:11 PST
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion
(514.12 KB, application/zip)
2014-12-08 03:38 PST
,
Build Bot
no flags
Details
updated test
(2.66 KB, patch)
2014-12-08 11:33 PST
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(11)
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2014-12-05 14:12:44 PST
Created
attachment 242662
[details]
patch
Antti Koivisto
Comment 2
2014-12-05 14:13:24 PST
rdar://problem/18988179
Alexey Proskuryakov
Comment 3
2014-12-05 14:23:28 PST
Comment on
attachment 242662
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=242662&action=review
> Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp:200 > + // For multipart/x-mixed-replace didReceiveResponseAsync gets called multiple times and buffering would require special handling. > + if (response.isMultipart() && !isSynchronous()) > + m_bufferedData = nullptr;
I'm not sure if I understand what happens (or what should happen) for sync loads. Anyway, this would probably read a little better if the new code was inside an else clause below - there is no need to check isSynchronous twice.
> LayoutTests/ChangeLog:13 > + The last image is repeated due to a WebCore side bug that causes last part to not render.
This may be appropriate to have in an HTML comment inside the test, as that's where one would be looking when they notice this strangeness.
> LayoutTests/http/tests/multipart/multipart-image.html:10 > + if (window.testRunner) > + setTimeout("testRunner.notifyDone()", 1000);
Can we watch image size changes to finish faster and more reliably? One second is a long time to waste, but may be not enough to avoid random failures.
Antti Koivisto
Comment 4
2014-12-05 15:20:09 PST
(In reply to
comment #3
)
> I'm not sure if I understand what happens (or what should happen) for sync > loads.
I think it will just smash all data together and deliver it if the stream ever ends. Don't know what should happen. Implemented the other changes.
Antti Koivisto
Comment 5
2014-12-05 15:22:08 PST
Created
attachment 242668
[details]
updated patch
Alexey Proskuryakov
Comment 6
2014-12-05 15:59:36 PST
Comment on
attachment 242668
[details]
updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=242668&action=review
> LayoutTests/http/tests/multipart/multipart-image.html:24 > +<!-- The last image is repeated due to a WebCore side bug that causes last part to not render. -->
https://bugs.webkit.org/show_bug.cgi?id=36536
?
Build Bot
Comment 7
2014-12-05 16:34:09 PST
Comment on
attachment 242668
[details]
updated patch
Attachment 242668
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/4603433885630464
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 8
2014-12-05 16:34:12 PST
Created
attachment 242678
[details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 9
2014-12-05 16:35:34 PST
Comment on
attachment 242668
[details]
updated patch
Attachment 242668
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/4614285321830400
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 10
2014-12-05 16:35:37 PST
Created
attachment 242679
[details]
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Antti Koivisto
Comment 11
2014-12-06 04:05:19 PST
Created
attachment 242709
[details]
some changes to try to make the test work in the bots
Build Bot
Comment 12
2014-12-06 04:50:45 PST
Comment on
attachment 242709
[details]
some changes to try to make the test work in the bots
Attachment 242709
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/5112844924223488
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 13
2014-12-06 04:50:47 PST
Created
attachment 242711
[details]
Archive of layout-test-results from ews100 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 14
2014-12-06 05:19:51 PST
Comment on
attachment 242709
[details]
some changes to try to make the test work in the bots
Attachment 242709
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5265665967521792
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 15
2014-12-06 05:19:54 PST
Created
attachment 242712
[details]
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-11 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Antti Koivisto
Comment 16
2014-12-08 00:17:18 PST
***
Bug 139378
has been marked as a duplicate of this bug. ***
Antti Koivisto
Comment 17
2014-12-08 00:40:33 PST
Created
attachment 242788
[details]
another attempt with the test
Build Bot
Comment 18
2014-12-08 01:51:24 PST
Comment on
attachment 242788
[details]
another attempt with the test
Attachment 242788
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5039256766513152
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 19
2014-12-08 01:51:27 PST
Created
attachment 242790
[details]
Archive of layout-test-results from webkit-ews-13 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-13 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Antti Koivisto
Comment 20
2014-12-08 01:59:53 PST
Created
attachment 242791
[details]
another
Build Bot
Comment 21
2014-12-08 03:11:27 PST
Comment on
attachment 242791
[details]
another
Attachment 242791
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/6380347419787264
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 22
2014-12-08 03:11:31 PST
Created
attachment 242795
[details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 23
2014-12-08 03:38:21 PST
Comment on
attachment 242791
[details]
another
Attachment 242791
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.appspot.com/results/4787785894461440
New failing tests: http/tests/multipart/multipart-image.html
Build Bot
Comment 24
2014-12-08 03:38:23 PST
Created
attachment 242799
[details]
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-03 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Antti Koivisto
Comment 25
2014-12-08 05:01:54 PST
https://trac.webkit.org/r176947
Landed without the test since I can't figure out how to make it work in bots (any bots, including those not affected by the patch). It is as if the php script that generated the multipart replies doesn't run correctly.
Alexey Proskuryakov
Comment 26
2014-12-08 11:32:52 PST
Re-opening for a test. This is actually a pre-existent problem in multipart.php, which produces invalid multipart responses (which newer CFNetwork now supports).
Alexey Proskuryakov
Comment 27
2014-12-08 11:33:35 PST
Created
attachment 242833
[details]
updated test Let's see what EWS thinks.
WebKit Commit Bot
Comment 28
2014-12-08 11:36:43 PST
Attachment 242833
[details]
did not pass style-queue: ERROR: LayoutTests/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 29
2014-12-08 16:16:21 PST
Committed the test in <
http://trac.webkit.org/r176990
>.
Antti Koivisto
Comment 30
2014-12-09 00:18:15 PST
Thank you Alexey.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug