Bug 205924

Summary: Fix test transferToImageBitmap-empty.html after r253099
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, webkit-bug-importer, zan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Diego Pino 2020-01-08 06:19:33 PST
Fix test transferToImageBitmap-empty.html after r253099
Comment 1 Diego Pino 2020-01-08 06:20:03 PST
Created attachment 387102 [details]
Patch
Comment 2 Diego Pino 2020-01-08 06:24:44 PST
The test http/wpt/offscreen-canvas/transferToImageBitmap-empty.html is failing since r253099.

According to https://html.spec.whatwg.org/multipage/canvas.html#dom-offscreencanvas-transfertoimagebitmap, transferToImageBitmap should return InvalidStateError if there's no context. r253099 implemented such behavior. The test should be updated.
Comment 3 WebKit Commit Bot 2020-01-08 23:52:57 PST
Comment on attachment 387102 [details]
Patch

Clearing flags on attachment: 387102

Committed r254253: <https://trac.webkit.org/changeset/254253>
Comment 4 WebKit Commit Bot 2020-01-08 23:52:59 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2020-01-08 23:54:27 PST
<rdar://problem/58435498>