jsfile.c: JSFILE_CHECK_{OPEN|CLOSED} warning messages are switched

RESOLVED FIXED

Status

()

--
trivial
RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: Mook, Assigned: Mook)

Tracking

Trunk
x86
Windows XP
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
(see URL)

The warnings reported by JSFILE_CHECK_OPEN and JSFILE_CHECK_CLOSED are switched:

js> var a = new File("test.txt")
js> a.position
typein:2: TypeError: File must be closed for position
(Assignee)

Comment 1

12 years ago
Created attachment 235045 [details] [diff] [review]
trivial patch to swap the messages
Assignee: general → mook.moz+sites.org.mozilla.bugzilla
Status: NEW → ASSIGNED
Attachment #235045 - Flags: superreview?
Attachment #235045 - Flags: review?(mrbkap)
Comment on attachment 235045 [details] [diff] [review]
trivial patch to swap the messages

Thanks.
Attachment #235045 - Flags: superreview?
Attachment #235045 - Flags: review?(mrbkap)
Attachment #235045 - Flags: review+
Whiteboard: [checkin needed]
Fix checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]

Updated

12 years ago
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.