Closed
Bug 565767
Opened 15 years ago
Closed 15 years ago
XHR doesn't return values from delegated methods
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
0.4
People
(Reporter: zpao, Assigned: zpao)
Details
Attachments
(1 file)
|
1.73 KB,
patch
|
avarma
:
review+
|
Details | Diff | Splinter Review |
For example, XMLHttpRequest.getResponseHeaders() returns a value, but using xhr.XMLHttpRequest.getResponseHeaders() returns undefined (since the original return value isn't also returned.
Comment 1•15 years ago
|
||
Oops, thanks for the report. Since you've assigned this to yourself, I assume you'd like to fix it?
| Assignee | ||
Comment 2•15 years ago
|
||
I did forget to attach it... blocked by bug 565767 because the test is depending on assertEqual distinguishing between null and undefined.
I could do
> assert(null !== undefined)
but I'd rather do this "correctly". If it's taking too long to track down everything in bug 565767 then I'll do this the alternate way.
Attachment #445410 -
Flags: review?(avarma)
Comment 3•15 years ago
|
||
Comment on attachment 445410 [details] [diff] [review]
Patch v0.1
Sounds good. This patch looks fine, so feel free to land it once the blocker does.
Attachment #445410 -
Flags: review?(avarma) → review+
| Assignee | ||
Comment 4•15 years ago
|
||
I'm just going to land this with assert(a === null) since the discussion in bug 565765 is not resolving itself quick enough. If that gets fixed, it'll just have to include changing this assert as well.
No longer depends on: 565765
| Assignee | ||
Comment 5•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: -- → 0.4
Comment 6•15 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.
To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Flags: in-testsuite+
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•