W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: Testing Requirements

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Sat, 4 Jun 2011 17:56:45 -0700
Message-ID: <BANLkTi=JkVMigUSAWTYquqzsp1i=2bML9A@mail.gmail.com>
To: Philippe Le Hegaret <plh@w3.org>
Cc: Marcos Caceres <marcosscaceres@gmail.com>, James Graham <jgraham@opera.com>, Dominique Hazael-Massieux <dom@w3.org>, public-webapps@w3.org, "public-html-testsuite@w3.org" <public-html-testsuite@w3.org>, "fd@w3.org" <fd@w3.org>, public-test-infra@w3.org
On 6/3/11, Philippe Le Hegaret <plh@w3.org> wrote:


> You now have:
One more list to unsubscribe from.

>  http://www.w3c-test.org:81/
>  http://www.w3c-test.org:82/
>  http://www.w3c-test.org:83/
>

| function assert_readonly(object, property_name, description)
|     {
|          var initial_value = object[property_name];
|          try {
|              var message = make_message(
|                  "assert_readonly", description,
|                  "deleting property ${p} succeeded", {p:property_name});
|
| // (GS) REmemer, delete will result `true` if p doesn't have that property.
| // (GS) so javascript: alert( delete ({}).toString) will result `true`.
| // Since DOM readonly is often impl'd as a getter in the object's prototype,
| // delete o[p] may result true, though the getter `p` remains.
|              assert(delete object[property_name] === false, message);

(unsubscribes...)
-- 
Garrett
Received on Sunday, 5 June 2011 01:01:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT