Closed Bug 903672 Opened 11 years ago Closed 11 years ago

whatever prints out "reference to undefined property {foo}" is missing a newline at the end

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 921680

People

(Reporter: mccr8, Unassigned)

References

Details

(Whiteboard: [fuzzblocker])

I get a lot of stuff like this is the output of a debug build:
reference to undefined property options.bytes++DOCSHELL 0x7fffd6842c00 == 7 [id = 7]
Blocks: 903705
No longer blocks: 903705
This wreaks havoc with any testing framework that tries to parse Firefox's output.
Whiteboard: [fuzzblocker]
It looks like this is JSMSG_UNDEFINED_PROP, which is used in two places:
  http://mxr.mozilla.org/mozilla-central/search?string=JSMSG_UNDEFINED_PROP&filter=[Jj]SMSG_UNDEFINED_PROP

I couldn't figure out what actually might be printing this message.

Fixing the code causing this particular warning may be easier than tracking down what is failing to produce a newline...
I've seen this issue for at least two JS errors in different fiels.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.