Re: [dev-servo] Unable to add field to XHR struct : mime::Mime is not traceable

2015-10-25 Thread Josh Matthews
Yep. You want to add an entry to the list at http://mxr.mozilla.org/servo/source/components/script/dom/bindings/trace.rs#308 (and be sure to add a corresponding `use` statement at the top of the file). Cheers, Josh On 2015-10-25 7:42 PM, Jitendra Jain wrote: Hello, We are trying to add the

[dev-servo] Unable to add field to XHR struct : mime::Mime is not traceable

2015-10-25 Thread Jitendra Jain
Hello, We are trying to add the override_mime_type field to the XHR structure but facing the following error since mime::Mime does not implement the JSTraceable trait: /home/jitendra/Mozilla/servo/components/script/dom/xmlhttprequest.rs:124:5: 124:49 error: no method named `trace` found for

Re: [dev-servo] Additional crashing and timeout tests for XMLHttpRequest

2015-10-25 Thread Josh Matthews
Ah, you have been bit by a common problem in our test harness. If you run `RUST_BACKTRACE=1 ./mach test-wpt ...` (ie. the same command as before, but with RUST_BACKTRACE=1 preceding it) then you should get a stack trace for the first panic that occurs - right now the output only shows one for

Re: [dev-servo] Additional crashing and timeout tests for XMLHttpRequest

2015-10-25 Thread Jitendra Jain
Sorry had to break the email chain due to size limits of 40 KB. I tried the command you mentioned but still not able to figure out any place which called overrideMimeType() resulting in the crash. I have attached the new stack trace with this email. Thanks for the prompt reply ! -- Thanks and

Re: [dev-servo] Additional crashing and timeout tests for XMLHttpRequest

2015-10-25 Thread Josh Matthews
On 2015-10-25 2:07 PM, Jitendra Jain wrote: Sorry had to break the email chain due to size limits of 40 KB. I tried the command you mentioned but still not able to figure out any place which called overrideMimeType() resulting in the crash. I have attached the new stack trace with this email.