Closed
Bug 1002262
Opened 10 years ago
Closed 10 years ago
Correctly check XMLHttpRequest.responseXML for null-ness in Checker._updates
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
1.37 KB,
patch
|
robert.strong.bugs
:
review+
bzbarsky
:
feedback-
|
Details | Diff | Splinter Review |
This is required with the patch to bug 994964 because XMLHttpRequest.responseXML is nullable in WebIDL, contrary to XPIDL.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8413438 -
Flags: review?(robert.strong.bugs)
Attachment #8413438 -
Flags: feedback?(bzbarsky)
Comment 2•10 years ago
|
||
Comment on attachment 8413438 [details] [diff] [review] Correctly check XMLHttpRequest.responseXML for null-ness in Checker._updates Looks fine giving the info in comment #0 and as long as tests pass. Thanks!
Attachment #8413438 -
Flags: review?(robert.strong.bugs) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to comment #2) > Looks fine giving the info in comment #0 and as long as tests pass. Thanks! This actually broke tests when I was running my patch for bug 994964 on try, which is how I found out about this, but the tests pass for me locally on a clean tree with this. Waiting for Boris' feedback on the patch too...
Comment 4•10 years ago
|
||
Comment on attachment 8413438 [details] [diff] [review] Correctly check XMLHttpRequest.responseXML for null-ness in Checker._updates I don't understand how the patch for bug 994964 has any effect at all here.... If this._request is an actual XHR object, then it's on WebIDL bindings both before and after, and responseXML might be null no matter what. What's _actually_ going on here. Does the tests fail for you locally if you back this patch out?
Attachment #8413438 -
Flags: feedback?(bzbarsky) → feedback-
Comment 5•10 years ago
|
||
Oh, and all interface return types are always nullable in XPIDL, as far as IDL/XPConnect is concerned.
Assignee | ||
Comment 6•10 years ago
|
||
Ah, I did things wrong here. I must have been in the wrong directory or something... Yes, this also happens without my patch, and actually applying this patch makes other tests fail, because we get past where we currently throw and hit other bugs. I guess there is not much value in pursuing this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•