gwt /
gwt /
354dce3bcd8fbd93c8ae85f92670997c47556751 Workaround JSONTest failure in Firefox 17
For some reason, calling JSONValue.isNull() sometimes returns non-null
even for JSONArray, JSONBoolean, and JSONObject values. This only
happens in Firefox 17 in web, draft, or nometa test modes, not in dev
mode.
As a workaround, since JSONNull is a singleton class, return null in
JSONNull.isNull() if 'this' doesn't refer to the singleton instance.
Bug: issue 8139
Change-Id: I8c79c5279a122748047b23d068e2eed4ad9fb22f
1 file changed