Closed Bug 383217 Opened 18 years ago Closed 18 years ago

discard bind and Function.prototype.bind in favor of BindToObject

Categories

(Toolkit :: Safe Browsing, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 3 alpha6

People

(Reporter: zeniko, Assigned: zeniko)

References

Details

Attachments

(1 file, 1 obsolete file)

... which is used everywhere opposed to the first two which are both called exactly from one place: BindToObject.
Attached patch fix (obsolete) — Splinter Review
Assignee: nobody → zeniko
Status: NEW → ASSIGNED
Attachment #267217 - Flags: review?(tony)
Comment on attachment 267217 [details] [diff] [review] fix >Index: lang.js >+ * @param opt_{...} Dummy optional arguments to make a jscompiler happy >+function BindToObject(fn, self, opt_A, opt_B, opt_C, opt_D, opt_E, opt_F) { Nit: We should just remove the opt_* args since the jscompiler that's referred to here is a Google specific tool.
Attachment #267217 - Flags: review?(tony) → review+
I'm not going to submit this until bug 383269 is resolved for fear of making the test case un-reproducible.
Depends on: 383269
Attachment #267217 - Attachment is obsolete: true
Whiteboard: [checkin needed (once bug 383269 is fixed)]
Target Milestone: --- → Firefox 3 alpha6
Version: unspecified → Trunk
Whiteboard: [checkin needed (once bug 383269 is fixed)] → [checkin needed]
Checked in "fix (with only minimal opt_* arguments)". Clearing checkin-needed status.
Whiteboard: [checkin needed]
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Product: Firefox → Toolkit
No longer blocks: 1540875
Regressions: 1540875
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: