I'm having trouble with AJAX calls (where the file is specified in the "serve"
section).
Short description (Will be followed by a more detailed one):
What steps will reproduce the problem?
1. Add file "A.handlebars" to "serve" section.
2. Within a file loaded in "load" section, make a XHR to URL "A.handlebars"
What is the expected output?
Response should comprise the content of A.handlebars
What do you see instead?
A String representing an HTML file (attached).
The request sent by the browser is
http://localhost:9876/slave/page/RUNNER/id/1341411158408/mode/quirks/upload_size
/50/refresh/1341411173634/load_type/A.handlebars
What version of the product are you using? On what operating system?
JsTestDriver-1.3.4-a( found in WebStorm jsTestDriver plugin Version 1.4.1, 2012
March).
Please provide any additional information below.
I'm using requirejs's text plugin* which basically just sends an XHR
(originally ./A.handlebars). The only way I got it to work was when I rewrote
parts of it so the plugin would send the request to "/test/<platform depended
path to root directory>/A.handlebars", however this is a platform depended hack
(since I don't know how to retrieve the "basepath" dynamically).
Thanks in advance,
Cheers,
Oren
* http://requirejs.org/docs/download.html#text
Original issue reported on code.google.com by oren.ru...@applitools.com on 4 Jul 2012 at 2:34
Original issue reported on code.google.com by
oren.ru...@applitools.com
on 4 Jul 2012 at 2:34Attachments: