Bug 153296
Summary: | Uncaught Exception: ReferenceError: Can't find variable: ListMultimap | ||
---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bburg, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All |
Devin Rousso
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)
-------
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/24270996>
Joseph Pecoraro
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
Devin Rousso
(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.
Devin Rousso
(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 ***