Bug 153296 - Uncaught Exception: ReferenceError: Can't find variable: ListMultimap
Summary: Uncaught Exception: ReferenceError: Can't find variable: ListMultimap
Status: RESOLVED DUPLICATE of bug 144281
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-01-20 18:04 PST by Devin Rousso
Modified: 2016-01-20 21:32 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2016-01-20 18:04:01 PST
Looking at the console, it seems as though defining a function using a keyword value with ES6 classes throws an error:

Base/ListMultimap.js:56: CONSOLE ERROR SyntaxError: Unexpected keyword 'delete'
Debug/UncaughtExceptionReporter.js:56:22: CONSOLE ERROR ReferenceError: Can't find variable: parseURL
Base/Object.js:52:46: CONSOLE ERROR ReferenceError: Can't find variable: ListMultimap
Main.html:1:21: CONSOLE ERROR ReferenceError: Can't find variable: InspectorFrontendAPI
Main.html:1:21: CONSOLE ERROR ReferenceError: Can't find variable: InspectorFrontendAPI
Main.html:1:21: CONSOLE ERROR ReferenceError: Can't find variable: InspectorFrontendAPI
Main.html:1:21: CONSOLE ERROR ReferenceError: Can't find variable: InspectorFrontendAPI
Protocol/InspectorBackendCommands.js:32:17: CONSOLE ERROR ReferenceError: Can't find variable: InspectorBackend
Base/Main.js:59:25: CONSOLE ERROR ReferenceError: Can't find variable: InspectorBackend

-------
Auto-generated details:

Inspected URL:        (unknown)
Loading completed:    false
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/602.1.16+ (KHTML, like Gecko)
Uncaught exceptions:
 - ReferenceError: Can't find variable: ListMultimap (at Object.js:52:46)
 - ReferenceError: Can't find variable: InspectorBackend (at InspectorBackendCommands.js:32:17)
 - ReferenceError: Can't find variable: InspectorBackend (at Main.js:59:25)
-------
Comment 1 Radar WebKit Bug Importer 2016-01-20 18:04:15 PST
<rdar://problem/24270996>
Comment 2 Joseph Pecoraro 2016-01-20 18:16:12 PST
Do you have an out of date JavaScriptCore? Maybe you just need to rebuild everything? 

This was fixed a while ago via bug 144281:
<https://webkit.org/b/144281> keywords ("super", "delete", etc) should be valid method names
https://trac.webkit.org/changeset/194881
Comment 3 Devin Rousso 2016-01-20 19:04:30 PST
(In reply to comment #2)
> Do you have an out of date JavaScriptCore? Maybe you just need to rebuild
> everything? 
> 
> This was fixed a while ago via bug 144281:
> <https://webkit.org/b/144281> keywords ("super", "delete", etc) should be
> valid method names
> https://trac.webkit.org/changeset/194881

Ah...I haven't built JSC in a while, so that is very possible.  I'll try rebuilding tonight and see.
Comment 4 Devin Rousso 2016-01-20 21:32:14 PST
(In reply to comment #3)
> (In reply to comment #2)
> > Do you have an out of date JavaScriptCore? Maybe you just need to rebuild
> > everything? 
> > 
> > This was fixed a while ago via bug 144281:
> > <https://webkit.org/b/144281> keywords ("super", "delete", etc) should be
> > valid method names
> > https://trac.webkit.org/changeset/194881
> 
> Ah...I haven't built JSC in a while, so that is very possible.  I'll try
> rebuilding tonight and see.

Yup...totally works.

*** This bug has been marked as a duplicate of bug 144281 ***