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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 31 16:58:32 PST 2012


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





--- Comment #71 from Kentaro Hara <haraken at chromium.org>  2012-01-31 16:58:30 PST ---
(In reply to comment #70)
> (In reply to comment #69)
> > (In reply to comment #68)
> 
> See the discussion above on how PopStateEvent.state and history.state have to refer to the same object.

Ah, I got it.

> > > I might've been too eager in removing stuff wrt ConstructorTemplate, i'll put it back in. Now that the state is taken directly from the history object how would InitializedByConstructor work in this case?

Then, I guess you need to write custom Event constructor. You can write bindings/js/JSPopStateEventConstructorCustom.cpp by customizing constructJSPopStateEvent() and fillPopStateEventInit() in WebKitBuild/Debug/DerivedSources/WebCore/JSPopStateEvent.cpp.

-- 
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