Ticket #274 (new defect)
Firefox: method finder does not display comments in methods
| Reported by: | fbo | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Tools | Keywords: | |
| Cc: |
Description
Do [Cmd|Ctrl]-Shift-F, search for a method that has comments in its source (-> SCB). Chrome will display these comments, Firefox won't.
Note: See
TracTickets for help on using
tickets.

Same thing in Script Editor.
Solution: annotate each function with its original source code. Right now, in Object Editor this is how we get the source:
scriptSource = Strings.format("this.addScript(%s)", script.getOriginal());This causes toString to be called on the function. In Firefox, toStrings seems to strip comments off the function's code. Not a problem if we stored the orig. source.