WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
172602
[WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
https://bugs.webkit.org/show_bug.cgi?id=172602
Summary
[WebRTC] Prevent capturing at unconventional resolutions when using the SW en...
youenn fablet
Reported
2017-05-25 11:54:44 PDT
[WebRTC] Prevent capturing at unconventional resolutions when using the SW encoder on Mac
Attachments
Patch
(5.82 KB, patch)
2017-05-25 11:57 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-elcapitan
(1.04 MB, application/zip)
2017-05-25 12:34 PDT
,
Build Bot
no flags
Details
Patch
(8.14 KB, patch)
2017-05-25 13:05 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(7.82 KB, patch)
2017-05-25 13:30 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-elcapitan
(933.77 KB, application/zip)
2017-05-25 14:22 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews116 for mac-elcapitan
(1.92 MB, application/zip)
2017-05-25 14:28 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews124 for ios-simulator-wk2
(11.94 MB, application/zip)
2017-05-25 15:51 PDT
,
Build Bot
no flags
Details
Patch
(23.07 KB, patch)
2017-05-26 12:51 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(23.12 KB, patch)
2017-05-26 14:09 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(23.14 KB, patch)
2017-05-26 14:16 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(23.18 KB, patch)
2017-05-26 14:40 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews102 for mac-elcapitan
(753.62 KB, application/zip)
2017-05-26 15:38 PDT
,
Build Bot
no flags
Details
Patch for landing
(23.55 KB, patch)
2017-05-30 16:04 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-elcapitan
(976.79 KB, application/zip)
2017-05-30 17:02 PDT
,
Build Bot
no flags
Details
Adding more logging for WK1
(24.61 KB, patch)
2017-05-30 17:27 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews101 for mac-elcapitan
(977.72 KB, application/zip)
2017-05-30 18:26 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews117 for mac-elcapitan
(1.74 MB, application/zip)
2017-05-30 18:48 PDT
,
Build Bot
no flags
Details
Patch for landing
(26.00 KB, patch)
2017-06-19 10:19 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews115 for mac-elcapitan
(1.75 MB, application/zip)
2017-06-19 11:40 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from ews102 for mac-elcapitan
(977.26 KB, application/zip)
2017-06-19 12:12 PDT
,
Build Bot
no flags
Details
Marking captureCanvas-webrtc.html as flaky on WK1
(25.46 KB, patch)
2017-06-19 13:03 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(27.27 KB, patch)
2017-06-20 16:50 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(27.24 KB, patch)
2017-06-20 17:12 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(27.23 KB, patch)
2017-06-21 13:20 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Patch
(27.07 KB, patch)
2017-06-22 08:14 PDT
,
youenn fablet
no flags
Details
Formatted Diff
Diff
Show Obsolete
(22)
View All
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2017-05-25 11:55:01 PDT
rdar://problem/32283710
Radar WebKit Bug Importer
Comment 2
2017-05-25 11:55:29 PDT
<
rdar://problem/32407693
>
youenn fablet
Comment 3
2017-05-25 11:57:52 PDT
Created
attachment 311257
[details]
Patch
Build Bot
Comment 4
2017-05-25 12:00:21 PDT
Attachment 311257
[details]
did not pass style-queue: ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 5
2017-05-25 12:34:37 PDT
Comment on
attachment 311257
[details]
Patch
Attachment 311257
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3815718
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 6
2017-05-25 12:34:38 PDT
Created
attachment 311264
[details]
Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
youenn fablet
Comment 7
2017-05-25 13:05:47 PDT
Created
attachment 311273
[details]
Patch
Build Bot
Comment 8
2017-05-25 13:08:03 PDT
Attachment 311273
[details]
did not pass style-queue: ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jon Lee
Comment 9
2017-05-25 13:25:06 PDT
Comment on
attachment 311273
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=311273&action=review
r- with lack of test for non-standard resolution.
> Source/ThirdParty/libwebrtc/ChangeLog:3 > + fix-172602
?
> Source/ThirdParty/libwebrtc/ChangeLog:20 > + * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:
Double Changelog.
> LayoutTests/ChangeLog:9 > + * webrtc/captureCanvas-webrtc.html: Using standard resolutions.
we should have a test with expected behavior of non-standard resolutions as well.
youenn fablet
Comment 10
2017-05-25 13:27:34 PDT
> > Source/ThirdParty/libwebrtc/ChangeLog:20 > > + * Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h: > > Double Changelog. > > > LayoutTests/ChangeLog:9 > > + * webrtc/captureCanvas-webrtc.html: Using standard resolutions. > > we should have a test with expected behavior of non-standard resolutions as > well.
This would require switching off the hardware encoder as some bots have one but not others. Doable with an Internals API but I am not sure this is worth it.
youenn fablet
Comment 11
2017-05-25 13:30:05 PDT
Created
attachment 311280
[details]
Patch
Build Bot
Comment 12
2017-05-25 13:31:44 PDT
Attachment 311280
[details]
did not pass style-queue: ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 13
2017-05-25 14:22:01 PDT
Comment on
attachment 311280
[details]
Patch
Attachment 311280
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3816614
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 14
2017-05-25 14:22:02 PDT
Created
attachment 311290
[details]
Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 15
2017-05-25 14:28:39 PDT
Comment on
attachment 311280
[details]
Patch
Attachment 311280
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/3816548
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 16
2017-05-25 14:28:40 PDT
Created
attachment 311293
[details]
Archive of layout-test-results from ews116 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 17
2017-05-25 15:51:10 PDT
Comment on
attachment 311280
[details]
Patch
Attachment 311280
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/3817068
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 18
2017-05-25 15:51:12 PDT
Created
attachment 311306
[details]
Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
youenn fablet
Comment 19
2017-05-26 12:51:13 PDT
Created
attachment 311366
[details]
Patch
Build Bot
Comment 20
2017-05-26 12:53:46 PDT
Attachment 311366
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:573: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
youenn fablet
Comment 21
2017-05-26 14:09:30 PDT
Created
attachment 311372
[details]
Patch
Build Bot
Comment 22
2017-05-26 14:10:31 PDT
Attachment 311372
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:573: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
youenn fablet
Comment 23
2017-05-26 14:16:40 PDT
Created
attachment 311374
[details]
Patch
Build Bot
Comment 24
2017-05-26 14:19:29 PDT
Attachment 311374
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:573: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
youenn fablet
Comment 25
2017-05-26 14:40:01 PDT
Created
attachment 311376
[details]
Patch
Build Bot
Comment 26
2017-05-26 14:42:09 PDT
Attachment 311376
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:573: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 27
2017-05-26 15:38:16 PDT
Comment on
attachment 311376
[details]
Patch
Attachment 311376
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3823914
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 28
2017-05-26 15:38:17 PDT
Created
attachment 311384
[details]
Archive of layout-test-results from ews102 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
youenn fablet
Comment 29
2017-05-30 09:46:19 PDT
(In reply to Build Bot from
comment #27
)
> Comment on
attachment 311376
[details]
> Patch > >
Attachment 311376
[details]
did not pass mac-ews (mac): > Output:
http://webkit-queues.webkit.org/results/3823914
> > New failing tests: > webrtc/captureCanvas-webrtc.html
Test is failing due to the following message appearing in the console log: AVDCreateGPUAccelerator: Error loading GPU renderer I don't think this invalidates the patch.
Eric Carlson
Comment 30
2017-05-30 13:50:28 PDT
Comment on
attachment 311376
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=311376&action=review
> Source/WebCore/ChangeLog:12 > + Adding internal API to switch on/off hardware H264 encoder. > + Adding checks for standard size. If using a software encoder and frame size is not standard,
Nit: "Adding" => "Add"
> LayoutTests/webrtc/captureCanvas-webrtc.html:49 > + if (video.videoWidth === width && videoi.videoHeight === height)
Nit: "videoi"
Eric Carlson
Comment 31
2017-05-30 14:14:46 PDT
(In reply to youenn fablet from
comment #29
)
> (In reply to Build Bot from
comment #27
) > > Comment on
attachment 311376
[details]
> > Patch > > > >
Attachment 311376
[details]
did not pass mac-ews (mac): > > Output:
http://webkit-queues.webkit.org/results/3823914
> > > > New failing tests: > > webrtc/captureCanvas-webrtc.html > > Test is failing due to the following message appearing in the console log: > AVDCreateGPUAccelerator: Error loading GPU renderer > > I don't think this invalidates the patch.
You should probably add "AVDCreateGPUAccelerator:" to the list of stderr strings that are not logged so it doesn't cause tests to be flakey on whatever configurations are causing this.
youenn fablet
Comment 32
2017-05-30 16:04:37 PDT
Created
attachment 311549
[details]
Patch for landing
youenn fablet
Comment 33
2017-05-30 16:05:32 PDT
(In reply to Eric Carlson from
comment #31
)
> (In reply to youenn fablet from
comment #29
) > > (In reply to Build Bot from
comment #27
) > > > Comment on
attachment 311376
[details]
> > > Patch > > > > > >
Attachment 311376
[details]
did not pass mac-ews (mac): > > > Output:
http://webkit-queues.webkit.org/results/3823914
> > > > > > New failing tests: > > > webrtc/captureCanvas-webrtc.html > > > > Test is failing due to the following message appearing in the console log: > > AVDCreateGPUAccelerator: Error loading GPU renderer > > > > I don't think this invalidates the patch. > > You should probably add "AVDCreateGPUAccelerator:" to the list of stderr > strings that are not logged so it doesn't cause tests to be flakey on > whatever configurations are causing this.
Let's see whether this happens again during cq and news bots. If so, I will add it.
Build Bot
Comment 34
2017-05-30 16:07:24 PDT
Attachment 311549
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:576: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 35
2017-05-30 17:02:43 PDT
Comment on
attachment 311549
[details]
Patch for landing
Attachment 311549
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3845023
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 36
2017-05-30 17:02:44 PDT
Created
attachment 311556
[details]
Archive of layout-test-results from ews103 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
youenn fablet
Comment 37
2017-05-30 17:27:03 PDT
Created
attachment 311561
[details]
Adding more logging for WK1
youenn fablet
Comment 38
2017-05-30 17:27:54 PDT
(In reply to Build Bot from
comment #36
)
> Created
attachment 311556
[details]
> Archive of layout-test-results from ews103 for mac-elcapitan > > The attached test failures were seen while running run-webkit-tests on the > mac-ews. > Bot: ews103 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Now this is a real failure...
Build Bot
Comment 39
2017-05-30 17:30:16 PDT
Attachment 311561
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:576: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 40
2017-05-30 18:26:24 PDT
Comment on
attachment 311561
[details]
Adding more logging for WK1
Attachment 311561
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3845382
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 41
2017-05-30 18:26:25 PDT
Created
attachment 311564
[details]
Archive of layout-test-results from ews101 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 42
2017-05-30 18:48:03 PDT
Comment on
attachment 311561
[details]
Adding more logging for WK1
Attachment 311561
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/3845398
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 43
2017-05-30 18:48:05 PDT
Created
attachment 311565
[details]
Archive of layout-test-results from ews117 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-elcapitan Platform: Mac OS X 10.11.6
youenn fablet
Comment 44
2017-05-30 19:51:21 PDT
And here comes again "AVDCreateGPUAccelerator: Error loading GPU render"... I'll add it to the stderr filter
youenn fablet
Comment 45
2017-06-19 10:19:35 PDT
Created
attachment 313309
[details]
Patch for landing
youenn fablet
Comment 46
2017-06-19 10:20:07 PDT
(In reply to youenn fablet from
comment #45
)
> Created
attachment 313309
[details]
> Patch for landing
Adding filtering of AVDCreateGPUAccelerator.
Build Bot
Comment 47
2017-06-19 10:21:26 PDT
Attachment 313309
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:583: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 19 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 48
2017-06-19 11:40:53 PDT
Comment on
attachment 313309
[details]
Patch for landing
Attachment 313309
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/3960044
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 49
2017-06-19 11:40:54 PDT
Created
attachment 313319
[details]
Archive of layout-test-results from ews115 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Build Bot
Comment 50
2017-06-19 12:12:04 PDT
Comment on
attachment 313309
[details]
Patch for landing
Attachment 313309
[details]
did not pass mac-ews (mac): Output:
http://webkit-queues.webkit.org/results/3961186
New failing tests: webrtc/captureCanvas-webrtc.html
Build Bot
Comment 51
2017-06-19 12:12:05 PDT
Created
attachment 313325
[details]
Archive of layout-test-results from ews102 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-elcapitan Platform: Mac OS X 10.11.6
youenn fablet
Comment 52
2017-06-19 13:03:35 PDT
Created
attachment 313326
[details]
Marking captureCanvas-webrtc.html as flaky on WK1
Build Bot
Comment 53
2017-06-19 13:17:03 PDT
Attachment 313326
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:583: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] WARNING: Not running on native Windows. ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 54
2017-06-19 13:42:08 PDT
Comment on
attachment 313326
[details]
Marking captureCanvas-webrtc.html as flaky on WK1 Clearing flags on attachment: 313326 Committed
r218505
: <
http://trac.webkit.org/changeset/218505
>
WebKit Commit Bot
Comment 55
2017-06-19 13:42:10 PDT
All reviewed patches have been landed. Closing bug.
WebKit Commit Bot
Comment 56
2017-06-19 14:25:17 PDT
Re-opened since this is blocked by
bug 173563
youenn fablet
Comment 57
2017-06-20 16:50:44 PDT
Created
attachment 313455
[details]
Patch
Build Bot
Comment 58
2017-06-20 17:06:21 PDT
Attachment 313455
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:583: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] WARNING: Not running on native Windows. ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/mediastream/libwebrtc/H264VideoToolBoxEncoder.mm:102: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/mediastream/libwebrtc/H264VideoToolBoxEncoder.mm:125: When wrapping a line, only indent 4 spaces. [whitespace/indent] [3] Total errors found: 7 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
youenn fablet
Comment 59
2017-06-20 17:12:08 PDT
Created
attachment 313458
[details]
Patch
Build Bot
Comment 60
2017-06-20 17:14:43 PDT
Attachment 313458
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:583: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] WARNING: Not running on native Windows. ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
youenn fablet
Comment 61
2017-06-21 13:20:51 PDT
Created
attachment 313541
[details]
Patch
Build Bot
Comment 62
2017-06-21 13:31:30 PDT
Attachment 313541
[details]
did not pass style-queue: ERROR: Source/WebCore/testing/Internals.h:583: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] WARNING: Not running on native Windows. ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.mm:569: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:72: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
youenn fablet
Comment 63
2017-06-22 08:14:27 PDT
Created
attachment 313627
[details]
Patch
Build Bot
Comment 64
2017-06-22 08:21:24 PDT
Attachment 313627
[details]
did not pass style-queue: ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:536: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm:570: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/testing/Internals.h:583: The parameter name "allowed" adds no information, so it should be removed. [readability/parameter_name] [5] WARNING: Not running on native Windows. ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:73: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/ThirdParty/libwebrtc/Source/webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h:74: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 5 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 65
2017-06-22 08:29:18 PDT
Comment on
attachment 313627
[details]
Patch Clearing flags on attachment: 313627 Committed
r218699
: <
http://trac.webkit.org/changeset/218699
>
WebKit Commit Bot
Comment 66
2017-06-22 08:29:20 PDT
All reviewed patches have been landed. Closing bug.
Matt Lewis
Comment 67
2017-06-23 14:26:54 PDT
It looks like the test platform/mac/webrtc/captureCanvas-webrtc-software-encoder.html is flaky and has been since being added. The Dashboard shows failures on all macOS testers.
https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r218757%20(2498)/results.html
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=platform%2Fmac%2Fwebrtc%2FcaptureCanvas-webrtc-software-encoder.html
diff: --- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/platform/mac/webrtc/captureCanvas-webrtc-software-encoder-expected.txt +++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/platform/mac/webrtc/captureCanvas-webrtc-software-encoder-actual.txt @@ -1,4 +1,4 @@ -PASS captureStream with webrtc +FAIL captureStream with webrtc promise_test: Unhandled rejection with value: "test4 failed"
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