Summary: | new prototype-inheritance* tests have invalid expectations for primitive types | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> | ||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | abarth, ap, oliver, sam, ukai | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Eric Seidel (no email)
2009-08-02 22:34:39 PDT
Created attachment 33968 [details]
use JSVALUE64 for X86_64 LINUX, except Qt
---
2 files changed, 12 insertions(+), 1 deletions(-)
sorry, wrong bug id. please ignore the attachment. Comment on attachment 33968 [details]
use JSVALUE64 for X86_64 LINUX, except Qt
Clearing flag. Wrong bug.
I see typeof returning: number object boolean function It seems that number and boolean should be ignored by these tests. But "function" is not a primitive type, correct? That should still have the inner global object's prototype chain, no? > It seems that number and boolean should be ignored by these tests. But
> "function" is not a primitive type, correct? That should still have the inner
> global object's prototype chain, no?
Yeah, you want "object" and "function". Keep in mind that JavaScript is tricky and typeof null === "object", so you want to filter those out as well.
> Will fix.
Eric, please do!
|