Closed Bug 1274485 Opened 9 years ago Closed 9 years ago

loadURI crashes on Firefox 46+ versions

Categories

(Firefox :: Untriaged, defect)

46 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: vidyavijayabhanu, Unassigned)

Details

(Keywords: testcase-wanted)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36 Steps to reproduce: I am creating a Firefox addon which has a button on click redirects to server. The below is my code var postData = Components.classes["@mozilla.org/io/string-input-stream;1"].createInstance(Components.interfaces.nsIStringInputStream); postData.setData(sPost, sPost.length); var mimeStream = Components.classes["@mozilla.org/network/mime-input-stream;1"].createInstance(Components.interfaces.nsIMIMEInputStream); mimeStream.setData(postData); mimeStream.addHeader("Content-Type", "application/x-www-form-urlencoded"); mimeStream.addHeader("Content-Length", sPost.length); getWebNavigation().loadURI (sAddr, nsIWebNavigation.LOAD_FLAGS_BYPASS_HISTORY | nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY, null, mimeStream, null); Actual results: loadURI does not return in Fireferox 46+ versions. Looks like it crashes Expected results: The same code works in Firefox 43 and redirects to server correctly. Expecting the same code to work in Firefox 46 and 50
Could you attach a minimal testcase (like .xpi add-on or script to run in Scratchpad), please.
Flags: needinfo?(vidyavijayabhanu)
Keywords: testcase-wanted
closing this issue due to lack of response by the reporter. Please reopen if this issue persists.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(vidyavijayabhanu)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.