Closed
Bug 1234366
Opened 9 years ago
Closed 9 years ago
Convert netwerk/test/unit/test_spdy.js to use asyncOpen2
Categories
(Core :: DOM: Security, defect)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: ckerschb, Assigned: mcmanus)
References
Details
Attachments
(1 file, 1 obsolete file)
6.36 KB,
patch
|
ckerschb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•9 years ago
|
||
Initially that testfile was already converted to use AsyncOpen2 within Bug 1233760. But caused problems on inbound and so I backed it out again. When running locally I realized the test doesn't even finish successfully without asyncOpen2:
0:01.02 TEST_STATUS: Thread-1 testOnStopRequest PASS [testOnStopRequest : 64] true == true
0:01.03 TEST_STATUS: Thread-1 testOnStopRequest FAIL [testOnStopRequest : 65] false == true
/home/ckerschb/moz/mc-obj-dbg/_tests/xpcshell/netwerk/test/unit/test_spdy.js:testOnStopRequest:65
/home/ckerschb/moz/mc/testing/xpcshell/head.js:_do_main:208
/home/ckerschb/moz/mc/testing/xpcshell/head.js:_execute_test:535
The error I receive locally is the error I received on inbound with the patch applied. Not sure what's going on. Pat, or Nick could any of you take a look?
Reporter | ||
Comment 2•9 years ago
|
||
Already got an r+ for that patch from Patrick within Bug 1233760.
Attachment #8700791 -
Flags: review+
Assignee | ||
Comment 3•9 years ago
|
||
are your local problems related to not having the node server running? (typically on linux 64 used to make it work)
in any event I can reproduce the problem (both pass and fail with the patch) and will try and puzzle it out
Flags: needinfo?(mcmanus)
Assignee | ||
Comment 4•9 years ago
|
||
it fails because the second argument of asyncopen (the channel itself in the push cases) is passed to onDataAvailable and is used on line 138 to check the uri
Assignee | ||
Comment 5•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8700791 -
Attachment is obsolete: true
Attachment #8700791 -
Flags: review+
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8701632 -
Flags: review?(mozilla)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mcmanus
Status: NEW → ASSIGNED
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(hurley)
Reporter | ||
Comment 7•9 years ago
|
||
Comment on attachment 8701632 [details] [diff] [review]
Convert netwerk/test/unit/test_spdy.js to use asyncOpen2
Review of attachment 8701632 [details] [diff] [review]:
-----------------------------------------------------------------
Ah I see, thanks Pat.
Attachment #8701632 -
Flags: review?(mozilla) → review+
Assignee | ||
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/79e7505bce80ff259d5540c0b07bac7e7f25935d
Bug 1234366 - Convert netwerk/test/unit/test_spdy.js to use asyncOpen2 r=ckerschb
Comment 9•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•