Bug 24879 - Add frame accessors to Screen, Console, and BarInfo objects.
Summary: Add frame accessors to Screen, Console, and BarInfo objects.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 02:06 PDT by Mads Ager
Modified: 2009-03-30 07:55 PDT (History)
1 user (show)

See Also:


Attachments
Patch to add accessors. (3.60 KB, patch)
2009-03-27 02:07 PDT, Mads Ager
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mads Ager 2009-03-27 02:06:54 PDT
Add frame accessor to Screen, Console, and BarInfo objects.

Add type accessor to BarInfo objects.

In the V8 JavaScript bindings, we need access to the frame and type
for already created Screen, Console and BarInfo objects in order to
keep their wrappers alive across GCs.
Comment 1 Mads Ager 2009-03-27 02:07:47 PDT
Created attachment 29006 [details]
Patch to add accessors.
Comment 2 Darin Adler 2009-03-27 07:17:22 PDT
Comment on attachment 29006 [details]
Patch to add accessors.

Unfortunate these need to be exposed, but harmless.
Comment 3 Dimitri Glazkov (Google) 2009-03-30 07:55:41 PDT
Landed as http://trac.webkit.org/changeset/42100.