Bug 205342 - Re-sync web-platform-tests/common from upstream
Summary: Re-sync web-platform-tests/common from upstream
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 205343 205352 205354 205445
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-17 08:49 PST by Chris Dumez
Modified: 2019-12-19 07:14 PST (History)
8 users (show)

See Also:


Attachments
WIP Patch (276.63 KB, patch)
2019-12-17 08:50 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
WIP Patch (276.63 KB, patch)
2019-12-17 12:21 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
WIP Patch (285.48 KB, patch)
2019-12-17 13:42 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (290.94 KB, patch)
2019-12-17 18:38 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (291.88 KB, patch)
2019-12-17 19:18 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2019-12-17 08:49:54 PST
Re-sync web-platform-tests/common from upstream.
Comment 1 Chris Dumez 2019-12-17 08:50:43 PST
Created attachment 385895 [details]
WIP Patch
Comment 2 Chris Dumez 2019-12-17 12:21:20 PST
Created attachment 385908 [details]
WIP Patch
Comment 3 Chris Dumez 2019-12-17 13:42:15 PST
Created attachment 385917 [details]
WIP Patch
Comment 4 Chris Dumez 2019-12-17 18:38:19 PST
Created attachment 385933 [details]
Patch
Comment 5 Chris Dumez 2019-12-17 19:18:40 PST
Created attachment 385935 [details]
Patch
Comment 6 Frédéric Wang (:fredw) 2019-12-18 00:42:03 PST
Comment on attachment 385935 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=385935&action=review

> LayoutTests/canvas/philip/tests/2d.drawImage.incomplete.emptysrc.html:7
> +<link rel="stylesheet" href="../../../imported/w3c/web-platform-tests/2dcontext/resources/canvas-tests.css">

I noticed that these tests currently rely on imported/w3c/web-platform-tests resources. Although your patch does not change the situation, I think there has been some controversy in the past when relying on WPT (bug 179769) so it might be worth checking with your colleagues.
Comment 7 WebKit Commit Bot 2019-12-18 07:49:09 PST
Comment on attachment 385935 [details]
Patch

Clearing flags on attachment: 385935

Committed r253683: <https://trac.webkit.org/changeset/253683>
Comment 8 WebKit Commit Bot 2019-12-18 07:49:11 PST
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2019-12-18 07:50:21 PST
<rdar://problem/58042926>
Comment 10 Chris Lord 2019-12-19 04:18:16 PST
This commit has broken all offscreen-canvas tests, which used the canvas-related files in LayoutTests/imported/w3c/web-platform-tests/common/ that were deleted by this patch. I guess updating the affected tests will fix this(?)
Comment 11 Frédéric Wang (:fredw) 2019-12-19 04:33:13 PST
(In reply to Chris Lord from comment #10)
> This commit has broken all offscreen-canvas tests, which used the
> canvas-related files in LayoutTests/imported/w3c/web-platform-tests/common/
> that were deleted by this patch. I guess updating the affected tests will
> fix this(?)

Yeah I had concern about this change in comment 6. Maybe as a quick solution you can upload a patch to put back the deleted file? Or otherwise as I you suggested, update the affected tests.
Comment 12 Carlos Alberto Lopez Perez 2019-12-19 04:37:33 PST
(In reply to Chris Lord from comment #10)
> This commit has broken all offscreen-canvas tests, which used the
> canvas-related files in LayoutTests/imported/w3c/web-platform-tests/common/
> that were deleted by this patch. I guess updating the affected tests will
> fix this(?)

I will mark all those tests to bug 205445
Comment 13 Chris Dumez 2019-12-19 07:06:56 PST
I think we should resync the offscreen-canvas tests then.
Comment 14 Chris Lord 2019-12-19 07:09:48 PST
(In reply to Chris Dumez from comment #13)
> I think we should resync the offscreen-canvas tests then.

Doing so in bug 205445.
Comment 15 Chris Dumez 2019-12-19 07:14:47 PST
(In reply to Chris Lord from comment #14)
> (In reply to Chris Dumez from comment #13)
> > I think we should resync the offscreen-canvas tests then.
> 
> Doing so in bug 205445.

Thanks. I am guessing those tests are skipped on Apple platforms and that’s why I missed them, sorry about that.