Closed Bug 1071464 Opened 11 years ago Closed 11 years ago

Object.isFrozen() should return true when given primitive values as input

Categories

(Core :: JavaScript: Standard Library, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: 446240525, Assigned: 446240525)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [DocArea=JS])

Attachments

(1 file)

js> Object.isFrozen("foo") TypeError: "foo" is not an object // should return true in ES6
Attachment #8493590 - Flags: review?(till)
Comment on attachment 8493590 [details] [diff] [review] bug-1071464.patch Review of attachment 8493590 [details] [diff] [review]: ----------------------------------------------------------------- Very nice! Did you run all tests and make sure that no existing tests break for this? I'd be surprised if we didn't have tests covering the old behavior. Do you have level 1 commit access? If so, please do a try run testing just one platform (Linux64 is usually good) with debug-only and including all test suites except Talos. Once that turns up green, you can paste the test run's URL in the bug and set checkin-needed and a sheriff will land the patch for you. If you don't yet have level 1 commit access, you should apply for it using this as a guide: https://www.mozilla.org/hacking/commit-access-policy/ CC me on the bug and I'll vouch for you. Also let me know here, and I'll do a try run as described above.
Attachment #8493590 - Flags: review?(till) → review+
Assignee: nobody → 446240525
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: