Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Crashing on GET'ing JS file #11076

Closed
ariya opened this issue Feb 17, 2013 · 1 comment
Closed

Crashing on GET'ing JS file #11076

ariya opened this issue Feb 17, 2013 · 1 comment

Comments

@ariya
Copy link
Owner

ariya commented Feb 17, 2013

ditesh.k...@gmail.com commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.

1.8.1

What steps will reproduce the problem?

  1. Run the following script:

var page = require('webpage').create();

page.onError = function(msg, trace) {
console.log(JSON.stringify(trace));
};

page.onResourceRequested = function(res) {
console.log("requested: " + JSON.stringify(res));
};

page.onResourceReceived = function(res) {
console.log("received: " + JSON.stringify(res));
};

page.open("http://chase.com", function (status) {
console.log("done");
phantom.exit();
});

  1. PhantomJS crashes.

What is the expected output? What do you see instead?

It shouldn't crash. It crashes.

Which operating system are you using?

Fedora Linux 16.

Did you use binary PhantomJS or did you compile it from source?

Binary PhantomJS.

Please provide any additional information below.

It seems to crash when making the following request:

{"headers":[{"name":"User-Agent","value":"Mozilla/5.0 (Unknown; Linux i686) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.8.1 Safari/534.34"},{"name":"Accept","value":"/"},{"name":"Referer","value":"https://www.chase.com/"}],"id":30,"method":"GET","time":"2013-02-17T08:17:38.487Z","url":"https://chaseonline.chase.com/content/secure/opinionlab/document/oo_conf_bar.js"}

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #1076.
🌟   1 people had starred this issue at the time of migration.

@vitallium
Copy link
Collaborator

vitaliy....@gmail.com commented:

 

 
Metadata Updates

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants