Closed
Bug 352228
Opened 18 years ago
Closed 7 years ago
javascript: URL should inherit javascript version
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jruderman, Unassigned)
References
Details
http://www.squarefree.com/shell/shell.html and http://www.squarefree.com/jsenv/ work by setting someWindow.locatoin to "javascript:" URLs. But there doesn't seem to be a way to set the JavaScript version for a "javascript:" URL, so I can't use the yield or let keywords with those tools :( One possible fix is to make javascript: URLs inherit the JavaScript version of the script that set them.
Comment 1•15 years ago
|
||
You should change platform to all.
Comment 2•15 years ago
|
||
Some people are just slackers and don't bother to change platform/OS to All/All from what Bugzilla infers by default in the obviously-applies-to-everything case. :-P For the record, generally an inaccurate platform/OS isn't such a big deal that it needs to be fixed on its own and not as part of an unrelated change; queries are little bit off, but people working on the bug can usually figure out when a bug really is platform- or OS-dependent and make changes accordingly.
OS: Mac OS X → All
Hardware: PowerPC → All
Comment 3•15 years ago
|
||
(In reply to comment #0) A workaround for your use case (I'm guessing you are trying to keep errors saying "line 1") could be to have a loop that creates tags like these and increments the version by .1 each time: <script type="application/javascript;version="{version} src="data:,some data uri that defines the shell eval function on line 1"> I have implemented this to allow up to the nth version of JavaScript in my modified version of your shell at http://code.eligrey.com/shell/shell.html .
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 4•7 years ago
|
||
let and yield are already available with the default (standard) JavaScript version. We should not add a new way to promote non-standard JavaScript versions anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•