Bug 205924 - Fix test transferToImageBitmap-empty.html after r253099
Summary: Fix test transferToImageBitmap-empty.html after r253099
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-08 06:19 PST by Diego Pino
Modified: 2020-01-08 23:54 PST (History)
3 users (show)

See Also:


Attachments
Patch (1.36 KB, patch)
2020-01-08 06:20 PST, Diego Pino
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>