New issue
Advanced search Search tips

Issue 720300 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 720299
Owner: ----
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

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/
 
Screenshot from 2017-05-10 18-07-57.png
121 KB View Download
Mergedinto: 720299
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment