[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:40:06 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77493
--- Comment #7 from Brady Eidson <beidson at apple.com> 2012-02-10 15:40:05 PST ---
(In reply to comment #6)
> (In reply to comment #2)
> > (From update of attachment 126201 [details] [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.
The History IDL says history.state is readonly. I don't think a page can install a custom getter.
--
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