Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 261740 Details for
Bug 493670
[acorn] Chrome browser bug causes infinite loop
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed patch
493670.patch (text/plain), 1012 bytes, created by
Olivier Thomann
on 2016-05-13 19:09:41 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2016-05-13 19:09:41 EDT
Size:
1012 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.javascript/web/acorn/dist/acorn_loose.js b/bundles/org.eclipse.orion.client.javascript/web/acorn/dist/acorn_loose.js >index 7d52f05..9abe0b2 100644 >--- a/bundles/org.eclipse.orion.client.javascript/web/acorn/dist/acorn_loose.js >+++ b/bundles/org.eclipse.orion.client.javascript/web/acorn/dist/acorn_loose.js >@@ -789,7 +789,14 @@ var lp = _state.LooseParser.prototype; > lp.parseTopLevel = function () { > var node = this.startNodeAt(this.options.locations ? [0, _.getLineInfo(this.input, 0)] : 0); > node.body = []; >- while (this.tok.type !== _.tokTypes.eof) node.body.push(this.parseStatement()); >+ // ORION prevent V8 bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=493670 >+ while (this.tok.type !== _.tokTypes.eof) { >+ var stmt = this.parseStatement(); >+ if (stmt.end === stmt.start) { >+ break; >+ } >+ node.body.push(stmt); >+ } > this.last = this.tok; > if (this.options.ecmaVersion >= 6) { > node.sourceType = this.options.sourceType;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 493670
: 261740