builtin-success-g-set-lastindex-err.js is not passed by chromium
Reported by
chisoon....@gmail.com,
May 10 2017
|
||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Steps to reproduce the problem:
1. open the browser
2. open developer tool and console
3. paste the following script
var r = /b/g;
var callCount = 0;
Object.defineProperty(r, 'exec', {
get: function() {
Object.defineProperty(r, 'lastIndex', { writable: false });
}
});
r[Symbol.match]('abc');
What is the expected behavior?
show error message like firefox browser
What went wrong?
It freezes a moment and crashes
Did this work before? N/A
Chrome version: 54.0.2840.59 Channel: n/a
OS Version: 16.04
Flash Version: Shockwave Flash 25.0 r0
I think chromium should run test262-web-runner well.
https://bakkot.github.io/test262-web-runner/
,
May 10 2017
This produces an error correctly in Chrome 58.0.3029.96 on Linux. You are using an old version of Chrome (4 releases old). |
||
►
Sign in to add a comment |
||
Comment 1 by dtapu...@chromium.org
, May 10 2017