9 assert_not_equals(Image.prototype.__proto__, HTMLImageElement.prototype, "Im
age.prototype __proto__ is not HTMLImageElement prototype");
Yuki
2017/01/19 09:57:28
We know that Image.prototype.__proto__ must be HTM
We know that Image.prototype.__proto__ must be HTMLElement.prototype, I'd
recommend to compare with HTMLElement.prototype.
Also, we know that:
Image.__proto__ should be HTMLElement
Image.name should be "Image" instead of "HTMLImageElement"
On 2017/01/19 at 09:57:28, Yuki wrote:
> We know that Image.prototype.__proto__ must be HTMLElement.prototype, I'd
recommend to compare with HTMLElement.prototype.
>
> Also, we know that:
> Image.__proto__ should be HTMLElement
> Image.name should be "Image" instead of "HTMLImageElement"
Done.
10 }, "NamedConstructor creates the correct object structure.");
Issue 2647643002: Fix V8 bindings for named constructors to set prototype object correctly
(Closed)
Created 3 years, 11 months ago by sashab
Modified 3 years, 9 months ago
Reviewers: tkent, bashi, haraken, Yuki
Base URL:
Comments: 79