alekhya14 / poster-extension

Automatically exported from code.google.com/p/poster-extension
0 stars 0 forks source link

TRACE doesn't do anything #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select the method TRACE from the dropdown
2. Press the green dot button
3. Nothing happens

What is the expected output? What do you see instead?
I expected the standard dialog showing the results.

What version of the product are you using? On what operating system?
Poster 3.1.0 in FF 10.0

Please provide any additional information below.
I suspect that the function PosterApp.prototype.doMethodRequest needs an extra 
if-block:
   } else if (method=="TRACE") {
      this.traceURL();
   }

And that that function can be implemented like this:
PosterApp.prototype.traceURL = function() {
   this.handleSend("TRACE");
}

I also recommend adding an else-block to PosterApp.prototype.doMethodRequest 
showing an error message to the user if none of the methods matched.

Original issue reported on code.google.com by r.spilker on 10 Feb 2012 at 12:48

GoogleCodeExporter commented 8 years ago
Hmm, sorry, I just tried to modify it myself and I get an error message:

Cannot process request on <some url> due to: Component returned failure code: 
0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]

So I get it's not that simple.

Original comment by r.spilker on 10 Feb 2012 at 1:11

GoogleCodeExporter commented 8 years ago
If I understand https://bugzilla.mozilla.org/show_bug.cgi?id=302489 correctly, 
it is no longer possible to use XMLHttpRequest in combination with TRACE.

Original comment by r.spilker on 10 Feb 2012 at 1:28