Check for keywords

1 view
Skip to first unread message

Scott Blum

unread,
Mar 15, 2007, 4:46:06 PM3/15/07
to Kelly Norton, Miguel Méndez, Rajeev Dayal, Joel Webber, Google-Web-Tool...@googlegroups.com
Hi guys,

Need a little help here testing a possible solution for getting truly naked objects to use as associative maps (issue #631).  Run the attached file in your browser; if everything is good, you'll just get a "done" message.  Please report results back to this thread.

Status:
IE6 - Passes all tests except the 'in' test, you will not hit "constructor", "toString", or "valueOf" with an 'in' expression (not a deal breaker)
FFWin - Passes all tests

Scott


foo.html

Joel Webber

unread,
Mar 15, 2007, 4:53:21 PM3/15/07
to Scott Blum, Kelly Norton, Miguel Méndez, Rajeev Dayal, Google-Web-Tool...@googlegroups.com
I'm afraid you're going to have to hide the extension on this file (.txt, perhaps). It looks like an XSS attack to gmail :)

Joel Webber

unread,
Mar 15, 2007, 4:55:52 PM3/15/07
to Scott Blum, Kelly Norton, Miguel Méndez, Rajeev Dayal, Google-Web-Tool...@googlegroups.com
Whoops, never mind. Just don't use 'view'.

FFMac: groovy.
Safari: groovy.
Opera9Mac: groovy.
WebKit tip: groovy.

Kelly Norton

unread,
Mar 15, 2007, 4:56:55 PM3/15/07
to Scott Blum, Miguel Méndez, Rajeev Dayal, Joel Webber, Google-Web-Tool...@googlegroups.com
The test works, but isn't it the same as doing a hasOwnProperty check?

/kel

On 3/15/07, Scott Blum <sco...@google.com > wrote:

Miguel Méndez

unread,
Mar 15, 2007, 4:57:27 PM3/15/07
to Scott Blum, Kelly Norton, Rajeev Dayal, Joel Webber, Google-Web-Tool...@googlegroups.com
The test passed for Mozilla and Firefox on Linux.

On 3/15/07, Scott Blum <sco...@google.com> wrote:



--
Miguel

Kelly Norton

unread,
Mar 15, 2007, 4:58:41 PM3/15/07
to Scott Blum, Miguel Méndez, Rajeev Dayal, Joel Webber, Google-Web-Tool...@googlegroups.com
And by work I mean specifically: on the following OS X browsers: FF2, WebKit nightly, Opera 9 and Safari.

/kel

sha-india

unread,
Mar 20, 2007, 7:29:36 AM3/20/07
to Google Web Toolkit Contributors
test passes in mozilla (windows xp)
but in IE6 SP2 i get "constructor was misssed by 'in'" "toString was
missed by 'in'" "valueOf was missed by 'in'" and finally 'done'
hope this helps

Scott Blum

unread,
Mar 20, 2007, 1:10:46 PM3/20/07
to Google-Web-Tool...@googlegroups.com
Thanks, Sha-india!
Reply all
Reply to author
Forward
0 new messages