Bug 142672

Summary: [GTK] ES6 Symbol errors when loading remote web inspector
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer, ysuzuki, zan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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 :)