Bug 190216 - Image.__proto__ should be Function.prototype, not HTMLElement.prototype
Summary: Image.__proto__ should be Function.prototype, not HTMLElement.prototype
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://heycam.github.io/webidl/#name...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-10-02 12:25 PDT by Chris Dumez
Modified: 2018-10-02 15:54 PDT (History)
9 users (show)

See Also:


Attachments
Patch (3.89 KB, patch)
2018-10-02 12:28 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (5.33 KB, patch)
2018-10-02 14:18 PDT, 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 2018-10-02 12:25:43 PDT
Image.__proto__ should be Function.prototype, not HTMLElement.prototype, as per:
- https://heycam.github.io/webidl/#named-constructors

Gecko and Blink agree with the specification.
Comment 1 Chris Dumez 2018-10-02 12:28:42 PDT
Created attachment 351430 [details]
Patch
Comment 2 Chris Dumez 2018-10-02 14:18:13 PDT
Created attachment 351438 [details]
Patch
Comment 3 WebKit Commit Bot 2018-10-02 15:53:43 PDT
Comment on attachment 351438 [details]
Patch

Clearing flags on attachment: 351438

Committed r236769: <https://trac.webkit.org/changeset/236769>
Comment 4 WebKit Commit Bot 2018-10-02 15:53:44 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-10-02 15:54:27 PDT
<rdar://problem/44956798>