Right now if you access navigator.buildID in anything other than an official build you'll get an exception. This is not a big problem for code in general, but it's already been reported that one web app (zimbra) triggers this and the way it does it is by enumerating the properties on the navigator object. The fix for this is trivial, patch coming up.
Created attachment 237006 [details] [diff] [review] Don't throw if NS_BUILD_ID is not set.
The buildID navigator property was introduced by bug 345993.
See also bug 348069
*** Bug 348069 has been marked as a duplicate of this bug. ***
Fix landed on the trunk.
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Flags: blocking1.8.1? → blocking1.8.1+
Comment on attachment 237006 [details] [diff] [review] Don't throw if NS_BUILD_ID is not set. a=beltzner on behalf of 181drivers
Attachment #237006 - Flags: approval1.8.1? → approval1.8.1+
Fix landed on the 1.8.1 branch.
RCS file: /cvsroot/mozilla/testing/mochitest/tests/test_bug351601.html,v done Checking in test_bug351601.html; /cvsroot/mozilla/testing/mochitest/tests/test_bug351601.html,v <-- test_bug351601.html initial revision: 1.1 done
You need to log in before you can comment on or make changes to this bug.