WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 231645
add test for
bug 231353
https://bugs.webkit.org/show_bug.cgi?id=231645
Summary
add test for bug 231353
Cameron McCormack (:heycam)
Reported
2021-10-12 16:39:03 PDT
.
Attachments
Patch
(3.56 KB, patch)
2021-10-12 16:41 PDT
,
Cameron McCormack (:heycam)
youennf
: review+
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch for landing
(3.59 KB, patch)
2021-10-19 01:42 PDT
,
Cameron McCormack (:heycam)
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch for EWS
(3.58 KB, patch)
2021-10-22 18:22 PDT
,
Cameron McCormack (:heycam)
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch for EWS
(3.59 KB, patch)
2021-10-22 23:26 PDT
,
Cameron McCormack (:heycam)
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-10-12 16:40:04 PDT
<
rdar://problem/84172363
>
Cameron McCormack (:heycam)
Comment 2
2021-10-12 16:41:37 PDT
Created
attachment 441018
[details]
Patch
Cameron McCormack (:heycam)
Comment 3
2021-10-12 16:41:55 PDT
(That'll fail EWS since the dependencies haven't landed yet.)
youenn fablet
Comment 4
2021-10-13 11:06:23 PDT
Comment on
attachment 441018
[details]
Patch r=me once bots are happy View in context:
https://bugs.webkit.org/attachment.cgi?id=441018&action=review
> LayoutTests/webrtc/captureStream-color-space.html:10 > + let srcContext = src.getContext("2d");
Could use const I guess here and below.
> LayoutTests/webrtc/captureStream-color-space.html:28 > + assert_array_approx_equals(actual, expected, 2, `actual = ${actual}, expected = ${expected}`);
If this fails, we probably never hit t.done(). Maybe 2 is too small.
> LayoutTests/webrtc/captureStream-color-space.html:32 > +var t = async_test(function(t) {
Could use async_test(async function...
> LayoutTests/webrtc/captureStream-color-space.html:45 > + local.createOffer().then(function(desc) {
You could write it with await in a more readable way
Cameron McCormack (:heycam)
Comment 5
2021-10-13 21:11:04 PDT
(In reply to youenn fablet from
comment #4
)
> > LayoutTests/webrtc/captureStream-color-space.html:28 > > + assert_array_approx_equals(actual, expected, 2, `actual = ${actual}, expected = ${expected}`); > > If this fails, we probably never hit t.done().
I think the test harness considers a test done when it catches an exception, and we are in a step_func() here.
> Maybe 2 is too small.
I want it to be just small enough that it passes. We'll see if EWS is OK with it.
Cameron McCormack (:heycam)
Comment 6
2021-10-19 01:42:19 PDT
Created
attachment 441701
[details]
Patch for landing
Cameron McCormack (:heycam)
Comment 7
2021-10-22 18:22:41 PDT
Created
attachment 442238
[details]
Patch for EWS
Cameron McCormack (:heycam)
Comment 8
2021-10-22 23:26:13 PDT
Created
attachment 442254
[details]
Patch for EWS
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