New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 636409 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 0
Type: Bug



Sign in to add a comment

DevTools: [regression] defining "function Map() ..." breaks developer tools

Reported by simon.sa...@gmail.com, Aug 10 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2824.0 Safari/537.36

Steps to reproduce the problem:
This JavaScript causes fatal problems:

   function Map(keytype, valtype) {
      if (keytype === undefined || keytype === null) {

      } else {
        console.log('some error');
      }
    }

    console.log('test');

The console no longer works afterwards, and the 'some error' console statement is hit hundreds of times, even though no user code ever calls Map().

Add the above code to an HTML page and open the console to see. Confirmed in Windows 10 on dev channel and on 54.0.2825.0 canary (64-bit)

Attached is a reproducible HTML page (it really just contains the above code) and the results.

What is the expected behavior?

What went wrong?
After this happens, in the library I'm using, typing anything at all into the console is broken (never returns)

Did this work before? Yes This has occasionally broken before, not sure which versions of chrome

Chrome version: 54.0.2824.0  Channel: dev
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0
 
crbug.html
429 bytes View Download
error.PNG
156 KB View Download
Cc: dgozman@chromium.org
Labels: -Pri-2 Pri-0
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Summary: DevTools: [regression] defining "function Map() ..." breaks developer tools (was: defining "function Map() ..." breaks developer tools)
Thanks for the report!
Thanks for the speedy investigation!
Labels: Merge-Request-54

Comment 5 by dimu@chromium.org, Aug 11 2016

Labels: -Merge-Request-54 Merge-Review-54 Hotlist-Merge-Review
[Automated comment] We don't branch for M54 for another 13 days, was this request meant for M53?
Labels: -Hotlist-Merge-review -Merge-Review-54
Status: Fixed (was: Assigned)
Cc: kozyatinskiy@chromium.org
 Issue 640632  has been merged into this issue.

Sign in to add a comment