[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
Thu Dec 3 07:09:05 PST 2009


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


Patrik Persson <patrik.j.persson at ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #44231|0                           |1
        is obsolete|                            |
  Attachment #44231|review?                     |
               Flag|                            |
  Attachment #44239|                            |review?
               Flag|                            |




--- Comment #3 from Patrik Persson <patrik.j.persson at ericsson.com>  2009-12-03 07:09:04 PST ---
Created an attachment (id=44239)
 --> (https://bugs.webkit.org/attachment.cgi?id=44239)
Revised more tests.

I completely missed the fact that three existing tests broke with this
change. Sorry about this. This patch includes those tests.

The tests didn't expect exceptions to be raised. Rather, they simply
expected to receive an empty string when reading the cookie attribute
of a document created using document.implementation.create[HTML]Document.

One new test case replaces another case. I placed the new case in
'fast/cookies' to be able to use the JavaScript framework
(shouldThrow, shouldBe) for checks.

Anyway, before we get into the details of testing this, we should
decide whether to raise an exception at all.

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