mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 289272c280086dda4bce0d31f2ce0fc1e7a08fa8
This commit is contained in:
parent
6f93950bf2
commit
78cf1982a2
230 changed files with 1832 additions and 1867 deletions
|
@ -19,8 +19,8 @@
|
|||
var t = async_test("checks CanvasRenderingContext2D prototype");
|
||||
_addTest(function(canvas, ctx) {
|
||||
|
||||
_assertSame(CanvasRenderingContext2D.prototype.__proto__, Object.prototype, "CanvasRenderingContext2D.prototype.__proto__", "Object.prototype");
|
||||
_assertSame(ctx.__proto__, CanvasRenderingContext2D.prototype, "ctx.__proto__", "CanvasRenderingContext2D.prototype");
|
||||
_assertSame(Object.getPrototypeOf(CanvasRenderingContext2D.prototype), Object.prototype, "Object.getPrototypeOf(CanvasRenderingContext2D.prototype)", "Object.prototype");
|
||||
_assertSame(Object.getPrototypeOf(ctx), CanvasRenderingContext2D.prototype, "Object.getPrototypeOf(ctx)", "CanvasRenderingContext2D.prototype");
|
||||
t.done();
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue