Warning is bogus. It warns if NS_FAILED is false, meaning the call was actually successful.
Attachment #476845 - Flags: review?(bzbarsky)
Comment on attachment 476845 [details] [diff] [review] Fix warning Er, yes. ;)
Attachment #476845 - Flags: review?(bzbarsky) → review+
Assignee: nobody → webapps
Whiteboard: [needs landing]
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.