Bug 142672 - [GTK] ES6 Symbol errors when loading remote web inspector
Summary: [GTK] ES6 Symbol errors when loading remote web inspector
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-13 08:35 PDT by Philippe Normand
Modified: 2015-04-13 03:18 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2015-03-13 08:35:06 PDT
http://127.0.0.1:2345/Models/ScriptSyntaxTree.js:51:33: CONSOLE ERROR ReferenceError: Can't find variable: Symbol
http://127.0.0.1:2345/Views/ObjectPreviewView.js:58:18: CONSOLE ERROR ReferenceError: Can't find variable: Symbol
http://127.0.0.1:2345/Views/ObjectTreeView.js:81:23: CONSOLE ERROR ReferenceError: Can't find variable: Symbol
http://127.0.0.1:2345/Views/SourceCodeTextEditor.js:95:78: CONSOLE ERROR ReferenceError: Can't find variable: Symbol

This is because the client doesn't have the WebPreference for Symbol enabled.

Should we expose ::setJavaScriptRuntimeFlags() in the GTK WebSettings API or is this considered temporary and thus overkill to expose?
Comment 1 Radar WebKit Bug Importer 2015-03-13 08:35:23 PDT
<rdar://problem/20152780>
Comment 2 Timothy Hatcher 2015-03-13 08:36:21 PDT
We will eventually enable Symbol again. It was disabled until more support got added, as it was breaking sites like Facebook.
Comment 3 Philippe Normand 2015-04-13 03:18:53 PDT
It was enabled again in bug 143375 so let's close this bug :)