[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    kjs: about if(undefvar)...
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2003-01-11 14:49:55
[Download RAW message or body]

Hi,

The outcome of this test case
  <html><head><script>
    try {
      eval("if (xxx) alert('defined'); else alert('undefined');");
    } catch(e) {
      alert("error\n" + e);
    }
  </script></head><body></body></html>

has changed. It now throws an exception (used to be 'false' iirc). Is that
correct behaviour?
(I need to change the js code in netscape.javascript.JSObject if so)

Koos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic