[Bug 16703] I am suggesting a default value for the "code" argument to the close method. I am currently experimenting with this method and noticed that Chrome and Firefox seem to use different default values. If I do not specify a code, Chrome appears to use 1005 (

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16703

--- Comment #8 from Bronislav Klu&#269;ka <bronislav.klucka@bauglir.com> 2012-04-25 20:08:02 UTC ---
(In reply to comment #7)

You are right, yet we can limit the occurrences of such scenarios.
I know, we cannot have perfect solution in situation we are dealing with 2 apps
(server/client) possibly written by two parties, but we can limit them.

But never the less, though I kind of took your original bug different way, you
are correct, what definitively should be done now it to specify, what the
default should be, if it is allowed, scenario where close() can produces
different results on server based on used browser is most unpleasant.
Creators may not want to remove 1005 or default argument from spec, but there
should be at least clear indication what the default is.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 25 April 2012 20:08:06 UTC