W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: Setting document.domain

From: Gervase Markham <gerv@mozilla.org>
Date: Thu, 29 Jan 2009 11:54:36 +1100
Message-ID: <4980FE4C.4030506@mozilla.org>
To: James Graham <jgraham@opera.com>
CC: Ian Hickson <ian@hixie.ch>, HTML WG <public-html@w3.org>, contact@publicsuffix.org

James Graham wrote:
> I think the algorithm for determining if a domain is in the public
> suffix list should be specified in detail somewhere, although I guess
> HTML 5 is likely not quite the right place since this may be used in
> non-HTML contexts.

It's not as well-linked as it should be, but the definition of the list
format is here:

If this language is insufficiently normative, perhaps someone with
experience or writing speccy normative language might like to revise it.
This may well expose ambiguities.

Code in Mozilla parses the list and makes a comparison of a domain with
the list, I would hope according to the rules given at the above URL,
and returns true or false as appropriate.

[Note that I am currently not a subscriber to public-html@w3.org or any
WHAT-WG list.]

Received on Thursday, 29 January 2009 00:55:27 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:41 UTC