[Webkit-unassigned] [Bug 145243] JIT bug - fails when inspector closed, works when open

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 20 22:33:40 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145243

--- Comment #2 from Yusuke Suzuki <utatane.tea at gmail.com> ---
hm, at r182007, it already fails.
So there's issue before r182007.

The issue looks like that.
In chai.js, we call

function Assertion(...) {
    flag(this, '...', ...);
    flag(this, '...', ...);
    flag(this, '...', ...);
}

function flag(obj, ...) {
    accessing obj.__flags become error (obj is undefined)
}

function expect(...) {
    return new Assertion(...);
}

I guess
1. accidentally accessing incorrect location of arguments (`obj`).
2. accidentally `this` becomes undefined.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150521/d99ff758/attachment.html>


More information about the webkit-unassigned mailing list