[Webkit-unassigned] [Bug 77493] PopStateEvent.state should use the same object as history.state

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 15:33:31 PST 2012


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





--- Comment #6 from Pablo Flouret <pablof at motorola.com>  2012-02-10 15:33:30 PST ---
(In reply to comment #2)
> (From update of attachment 126201 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=126201&action=review
> 
> > Source/WebCore/bindings/js/JSPopStateEventCustom.cpp:53
> > +    return jsHistory->get(exec, Identifier(exec, "state"));
> 
> If the web page installs a getter on the history object, does this call that getter?  (Seems like something we should test.)
> 

Apparently the attribute in JSC isn't configurable so there would be no way to set a custom getter, right? I modified it to call jsHistory->state() directly to be sure.

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