Summary: | Remove remaining uses of deprecated version of toJS | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||
Component: | New Bugs | Assignee: | Sam Weinig <sam> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, eric, gustavo.noronha, gustavo, webkit-ews, webkit.review.bot, xan.lopez | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Sam Weinig
2011-04-21 20:18:40 PDT
Created attachment 90661 [details]
Patch
Attachment 90661 [details] did not build on qt: Build output: http://queues.webkit.org/results/8496228 Attachment 90661 [details] did not build on gtk: Build output: http://queues.webkit.org/results/8494369 Committed r84641: <http://trac.webkit.org/changeset/84641> http://trac.webkit.org/changeset/84641 might have broken Qt Linux Release minimal Comment on attachment 90661 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=90661&action=review > LayoutTests/ChangeLog:10 > + failures are pure JS objects (Array, Boolean, String, Number, Function). I think these aren't failures, and the test shoudl be updated. Ask abarth. But I think I was wrong when I wrote this test. I think pure JS types always use the dynamic global object per the spec. Comment on attachment 90661 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=90661&action=review >> LayoutTests/ChangeLog:10 >> + * fast/dom/prototype-inheritance-2-expected.txt: >> + Add new passing results since we now use the correct global object. The remaining >> + failures are pure JS objects (Array, Boolean, String, Number, Function). > > I think these aren't failures, and the test shoudl be updated. Ask abarth. But I think I was wrong when I wrote this test. I think pure JS types always use the dynamic global object per the spec. They always use the lexical global object, but, yeah, the test isn't correct for these primitive types. |