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)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: ckerschb, Assigned: mcmanus)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
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?
Blocks: 1193558
Flags: needinfo?(mcmanus)
Flags: needinfo?(hurley)
Already got an r+ for that patch from Patrick within Bug 1233760.
Attachment #8700791 - Flags: review+
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)
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
Attachment #8700791 - Attachment is obsolete: true
Attachment #8700791 - Flags: review+
Assignee: nobody → mcmanus
Status: NEW → ASSIGNED
Flags: needinfo?(hurley)
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+
https://hg.mozilla.org/integration/mozilla-inbound/rev/79e7505bce80ff259d5540c0b07bac7e7f25935d Bug 1234366 - Convert netwerk/test/unit/test_spdy.js to use asyncOpen2 r=ckerschb
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: