[Webkit-unassigned] [Bug 76035] Add state attribute to history's dom interface.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 13 12:24:40 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76035





--- Comment #18 from Adam Barth <abarth at webkit.org>  2012-01-13 12:24:38 PST ---
> > Source/WebCore/page/History.idl:40
> > +        readonly attribute [CustomGetter] DOMObject state;
> 
> This really doesn't need to be custom.  The create-on-read logic should be in History/HistoryItem code, and you can use a generated wrapper.

If you need a ScriptState to deserialize the SerializedScriptValue, you should be able to use the [CallWith=ScriptState] attribute in the IDL.  (Hopefully that works with attributes.)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list