Commit 83650b1b authored by wang's avatar wang

ws 测试

parent b1305b0d
No preview for this file type
......@@ -3674,7 +3674,7 @@ class CanvasRenderingContext2D {
drawImage() {
print1('CanvasRenderingContext2D.drawImage', arguments)
// this._context.drawImage(...arguments)
this._onload();
// this._onload();
}
......@@ -3938,7 +3938,6 @@ Object.defineProperties(CanvasRenderingContext2D.prototype, {
createPattern: {enumerable: true},
createRadialGradient: {enumerable: true},
drawFocusIfNeeded: {enumerable: true},
drawImage: {enumerable: true},
fill: {enumerable: true},
fillText: {enumerable: true},
getContextAttributes: {enumerable: true},
......@@ -4184,6 +4183,7 @@ Object.defineProperties(HTMLImageElement.prototype, {
onload: {
set(args) {
this._onload = args
args();
}
}
})
......@@ -7752,11 +7752,11 @@ Object.defineProperties(MediaQueryList.prototype, {
get() {
medias.push(this.type[0]);
// return _random() > 0.5 ? true: false
let t = window.ENV.matchmedias[this.type[0]];
let t = window.ENV.matchmedias[this.type];
if (t === undefined) {
t = false;
}
v_console_log(" [*] MediaQueryList -> matches[get]", this.type[0], t);
print(" [*] MediaQueryList -> matches[get]", this.type, t);
return t;
}
......@@ -8293,7 +8293,6 @@ Array.prototype.join = v_saf(function join(s) {
"createPattern",
"createRadialGradient",
"drawFocusIfNeeded",
"drawImage",
"fill",
"fillText",
"getContextAttributes",
......@@ -12447,7 +12446,9 @@ Object.defineProperties(Worker.prototype, {
O.u[O.u.length - 1] = !O.u[O.u.length - 1]
}, function (O) {
let res = O.u[O.u.length - 2][O.u[O.u.length - 1]];
if (O.u[O.u.length - 1] === 'length' && res === 44 && O.u[O.u.length - 2][0]+'' === '0,0,0,0'){
if (O.u[O.u.length - 1] === 'length' && res === 4
&& O.u[O.u.length - 2][0]
&& O.u[O.u.length - 2][0].hash!== undefined){
debugger
}
con3(O.u[O.u.length - 2], 'get', O.u[O.u.length - 1], '=', res)
......@@ -12955,6 +12956,9 @@ Object.defineProperties(Worker.prototype, {
}
}, function (O) {
"use strict";
if (O.u[O.u.length - 2]===5 && O.u[O.u.length - 1] === 232){
debugger;
}
con3(O.u[O.u.length - 3], 'set', O.u[O.u.length - 2], '=', O.u[O.u.length - 1])
O.u[O.u.length - 3][O.u[O.u.length - 2]] = O.u[O.u.length - 1];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment