| Summary: | shell page won't load in Chrome v49 - Uncaught TypeError: Proxy.create is not a function | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Rafael Chaves <rafael> |
| Component: | Client | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mamacdon, steve_northover |
| Version: | unspecified | ||
| Target Milestone: | 12.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Rafael Chaves
The failing code is in org.eclipse.orion.client.ui\web\gcli\util\l10n.js:
> exports.propertyLookup = Proxy.create({
^^^^^^
Mark, is there a way by this. The thing is undefined so we could check for it but could the code continue and do something useful? (didn't look into it) Apparently that provisional API was removed and replaced by a standardized Proxy object, which seems to use a vanilla constructor (note args were swapped): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features#Proxy https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Proxy#Basic_example Thanks Rafael -- I've patched the offending source to work around the problem. This is 3rd party code, and patching is not where we want to be. We should open a CQ for a newer version of GCLI. |