This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10627 - Where this says "Number object" and "String object", it should say "number" and "string". Normal strings and numbers are not objects. A "String object" is actually a different kind of thing (rarely used).
Summary: Where this says "Number object" and "String object", it should say "number" a...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
: 10628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-13 23:41 UTC by contributor
Modified: 2010-10-04 14:55 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2010-09-13 23:41:16 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/#safe-passing-of-structured-data

Comment:
Where this says "Number object" and "String object", it should say "number"
and "string". Normal strings and numbers are not objects. A "String object" is
actually a different kind of thing (rarely used).

Posted from: 63.245.220.240
Comment 1 Anne 2010-09-24 09:10:41 UTC
*** Bug 10628 has been marked as a duplicate of this bug. ***
Comment 2 Ian 'Hixie' Hickson 2010-09-29 07:03:33 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.

Let me know if I screwed it up. I'm pretty sure we have to handle the objects too, I just forgot about the non-object forms. (I still don't really see where in the spec they get coerced back and forth but that's another story.) I also added Boolean which I'd forgotten.
Comment 3 contributor 2010-09-29 07:03:52 UTC
Checked in as WHATWG revision r5549.
Check-in comment: Oops, forgot that numbers and Numbers were distinct in JS.
http://html5.org/tools/web-apps-tracker?from=5548&to=5549