Closed Bug 1130373 Opened 11 years ago Closed 11 years ago

Find out if we can inject Readability.js in ES6 mode

Categories

(Firefox for iOS :: Reader View, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: st3fan, Unassigned)

References

Details

Our copy of Readability has all occurences of 'let' replaced with 'var' because the WKWebView does not support fancy ES6 things. Or maybe it does? I remember watching a WWDC presentation where the WebKit team presented a number of ES6 features. Because we are going to host a shared copy of Readabilty.js, shared by the different products, it would be really nice if we would not have to make this change just for iOS.
There is no point in doing this. WebKit simply does not support 'let'. So we have no other choice than to replace let with var.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.