Bug 225845

Summary: Allow conditionally enabling OffscreenCanvas only for non-worker contexts
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: alecflett, annulen, beidson, benjamin, cdumez, changseok, cmarcelo, darin, esprehn+autocc, ews-watchlist, gyuyoung.kim, jbedard, joepeck, jsbell, kondapallykalyan, ryuan.choi, sergio, webkit-bug-importer, zan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225858
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Sam Weinig
Reported 2021-05-15 14:00:32 PDT
Split worker enablement out of OFFSCREEN_CANVAS using a new OFFSCREEN_CANVAS_IN_WORKER macro
Attachments
Patch (38.41 KB, patch)
2021-05-15 14:12 PDT, Sam Weinig
no flags
Patch (87.08 KB, patch)
2021-05-15 16:58 PDT, Sam Weinig
no flags
Patch (38.39 KB, patch)
2021-05-15 19:11 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2021-05-15 14:12:33 PDT
Darin Adler
Comment 2 2021-05-15 15:18:25 PDT
Comment on attachment 428741 [details] Patch Looks OK. I assume this is because some platform, perhaps Apple ones, may want to ship OffsceenCanvas outside of Workers sooner, because the issues in workers may take longer to resolve thoroughly.
Sam Weinig
Comment 3 2021-05-15 16:43:14 PDT
(In reply to Darin Adler from comment #2) > Comment on attachment 428741 [details] > Patch > > Looks OK. > > I assume this is because some platform, perhaps Apple ones, may want to ship > OffsceenCanvas outside of Workers sooner, because the issues in workers may > take longer to resolve thoroughly. Exactly.
Sam Weinig
Comment 4 2021-05-15 16:58:14 PDT
Sam Weinig
Comment 5 2021-05-15 19:11:49 PDT
EWS
Comment 6 2021-05-15 20:15:05 PDT
Committed r277560 (237788@main): <https://commits.webkit.org/237788@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428763 [details].
Radar WebKit Bug Importer
Comment 7 2021-05-15 20:16:16 PDT
Zan Dobersek
Comment 8 2021-05-17 00:19:21 PDT
The ConditionalForWorker attribute values had unfortunate typos that ended up effectively disabling these interfaces under workers. Fixed in #225858.
Sam Weinig
Comment 9 2021-05-17 09:14:48 PDT
(In reply to Zan Dobersek from comment #8) > The ConditionalForWorker attribute values had unfortunate typos that ended > up effectively disabling these interfaces under workers. Fixed in #225858. Sorry about that :(. Thanks for the fix.
Note You need to log in before you can comment on or make changes to this bug.