Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8769 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Error messages from Domino JavaScript environment: nested comments and = for ==

Reported by: scott.a.jenkins@medstar.net Assigned to: sam
Priority: normal Milestone: 1.x
Component: Prototype Version: edge
Severity: normal Keywords:
Cc:

Description

When attempting to use Prototype in the Common Javascript environment in IBM/Lotus Domino, a series of errors are generated.

The first is

Error: nested comment

at the "/*----------" in the header. Simply eliminating the slash will fix this.

The second series of errors is much more pervasive. It generates an

Error: Test for equality (==) mistyped as assignment(=)?

everytime the C idiom of doing if (temp = rvalue) is evaluated.

Since Domino is rather strict in its treatment of errors, this is preventing the use of Prototype in the Notes client environment.

Change History

06/27/07 13:16:47 changed by madrobby

  • status changed from new to closed.
  • resolution set to wontfix.

Both are not errors; this is valid JavaScript.

We cannot account for faulty JavaScript interpreters beyond those used in our development target browsers, which are (primarily) IE 6+, Safari 1.3+, Firefox 2+, and (secondarily) older Firefox versions, Konqueror and Opera 9.

I'd recommend that if you do want to use Prototype in environments other than those I mentioned, that you use a major version of Prototype and adjust/patch accordingly. Use the unit tests to see if the changes work.

08/05/07 00:57:47 changed by nzkoz

  • resolution changed from wontfix to fixed.

(In [7274]) Performance enhancement for Base.exists?. CLoses #8769. [hasmanyjosh]