[Bug 12798] Default to [TreatNullAs=EmptyString]

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12798

--- Comment #8 from Olli Pettay <Olli.Pettay@gmail.com> 2011-06-13 20:40:05 UTC ---
But this kind of common API doesn't magically convert null to "null".

var o = {
  _a : "foo",
  setA: function(v) {
    this._a = v;
  },
  getA: function(v) {
    return this._a;
  }
}

var value = null;
o.setA(value);
alert(value == o.getA());

So, I'm not sure "And it is what's most consistent with other JS APIs. "
argument really holds.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 13 June 2011 20:40:20 UTC