Closed Bug 742422 Opened 12 years ago Closed 12 years ago

Use JS_NewObjectWithUniqueType when creating DOM protos

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

From IRC:

<bhackett> bz: it means that TI will distinguish between that object and other
  objects with the same prototype
<bhackett> otherwise it will lump together all objects which have the same
  prototype
<bhackett> generally, we really want objects which are prototypes of other objects
  to have unique types
Whiteboard: [need review]
Attachment #612247 - Flags: review?(peterv) → review+
https://hg.mozilla.org/projects/birch/rev/d89eb350cf4a
Flags: in-testsuite-
Whiteboard: [need review] → [need birch merge]
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/d89eb350cf4a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [need birch merge]
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: