[Webkit-unassigned] [Bug 32115] document.cookie accessors should raise INVALID_STATE_ERR if there is no browsing context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 11 14:31:33 PST 2009


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





--- Comment #14 from Darin Adler <darin at apple.com>  2009-12-11 14:31:33 PST ---
(From update of attachment 44688)
The mechanics of the patch seem great, and the test cases look good.

If the idea here is changing to match HTML5, then I think we might have a
problem because Hixie claims that Safari treats documents as having no browsing
context in cases where HTML5 would want it to have a browsing context.

In general, raising an exception in cases where we previously failed in a
quieter way incurs a significant risk of breaking some website that
accidentally depends on the behavior. Especially in light of the fact that
Firefox never raises in an exception in these cases, I'm worried. We should
find some way to mitigate this risk.

Is there some kind of testing we can do? Is there some WebKit contributor who
has some idea about how to vet this change short of shipping it and waiting for
the complaints to come in?

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