Bug 912053 - ReferenceError in XHR handling; r=m.goleb
Bug 913638 - Don't throw when context has no resources. r=gandalf