Ariya Hidayat
c33b916cfb
More 1.8 materials.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-21 22:12:05 -08:00
Ivan De Marino
d998c59358
Importing GhostDriver v1.0.2.
...
Changes listed here: https://github.com/detro/ghostdriver/issues?labels=1.0.2&page=1&state=closed
2012-12-19 19:29:54 -08:00
Ariya Hidayat
8836398825
Generalize WebServer binary data handling into a real encoding support.
...
http://code.google.com/p/phantomjs/issues/detail?id=505
2012-12-17 23:12:48 -08:00
Sebastian Krzyszkowiak
f70a6ab4ee
Add test case for WebServerResponse::setEncoding
...
http://code.google.com/p/phantomjs/issues/detail?id=505
2012-12-17 19:27:19 -08:00
Sebastian Krzyszkowiak
78e72312dc
Implement WebServerResponse::setEncoding in order to allow binary encoding to be sent.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=505
2012-12-17 19:27:06 -08:00
Ivan De Marino
302050e0ce
Fixing typo in GhostDriver 1.0.1
2012-12-17 19:15:43 -08:00
Ariya Hidayat
9a8b84a293
More changes for 1.8.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-16 23:16:37 -08:00
Ariya Hidayat
9c0888d54d
Fix potential hang in the example scripts due to missing exit() call.
...
Patch by Jônatas Pedraza <jonatas.nona@gmail.com > and Vivek Galatage
<vivekgalatage@gmail.com >.
http://code.google.com/p/phantomjs/issues/detail?id=922
2012-12-16 23:02:44 -08:00
David Burrows
15fe514025
Increase maximum number of redirects in line with modern browsers.
...
Modern browser mostly limit re-directs to 20. The current limit in PhantomJS is 10 which is not in line with most browsers. This patch is a simple increase of gMaxRedirections from 10 to 20.
http://code.google.com/p/phantomjs/issues/detail?id=849
2012-12-16 22:21:07 -08:00
qubird
f6a91a8813
New WebPage#setContent api - makes possible to specify location along with content
...
http://code.google.com/p/phantomjs/issues/detail?id=909
2012-12-16 15:43:10 -08:00
Ariya Hidayat
daae36c3ba
Some changes for 1.8.
...
http://code.google.com/p/phantomjs/issues/detail?id=863
2012-12-16 14:48:28 -08:00
fastclemmy
3b2a1c27a1
Update examples/pizza.coffee.
...
Guess the DOM has changed a little. No more class .address but an (incorrectly used) <address> tag instead. (same pull request as the vanilla JS example)
http://code.google.com/p/phantomjs/issues/detail?id=921
2012-12-16 14:20:57 -08:00
fastclemmy
8f14ef027e
Fix examples/pizza.js.
...
Guess the DOM has changed a little. No more class .address but an (incorrectly used) <address> tag instead.
http://code.google.com/p/phantomjs/issues/detail?id=921
2012-12-16 14:19:57 -08:00
Ivan De Marino
027aa93b18
Importing GhostDriver version 1.0.1.
...
Changes are documented here:
https://github.com/detro/ghostdriver/issues?labels=1.0.1&state=closed .
https://github.com/detro/ghostdriver/issues/130
2012-12-16 13:55:58 -08:00
Ivan De Marino
f5652e5110
Fix "--webdriver-selenium-grid-hub" CLI parameter.
...
I had forgotten to update the option parsing code,
and the option was never picked.
Related issue: [GhostDriver #130 ](https://github.com/detro/ghostdriver/issues/130 ).
2012-12-13 23:45:54 -08:00
Vitaliy Slobodin
04b74f99fd
Enable WOFF file support.
...
Background:
WOFF format requires that WebKit should be compiled with zlib.
Related issues:
http://code.google.com/p/phantomjs/issues/detail?id=592
2012-12-12 21:42:58 -08:00
Jon Leighton
eb3c9caa6e
Upgrade to Qt 4.8.4
...
http://code.google.com/p/phantomjs/issues/detail?id=918
2012-12-12 21:42:45 -08:00
Jon Leighton
66ab9a1113
Fix memory leak on linux
...
We were previously adding the certificates on each instantiation of
NetworkAccessManager, causing memory consumption to grow unbounded.
I have also removed the Qt version check. It's unnecessary as we only
build against a fixed Qt version.
https://code.google.com/p/phantomjs/issues/detail?id=882
2012-12-12 21:25:26 -08:00
Vitaliy Slobodin
5eb0f64e6b
Fix window.location.
...
Description:
Web Page can't navigate to a relative url using the property 'window.location'.
Upstream bug:
https://bugs.webkit.org/show_bug.cgi?id=47978
Issues:
http://code.google.com/p/phantomjs/issues/detail?id=632
http://code.google.com/p/phantomjs/issues/detail?id=530
2012-12-12 17:03:37 +04:00
James M. Greene
31dd714a22
Added getters for the WebPage#onError and phantom.onError properties
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=910
2012-12-11 21:57:25 -08:00
Jon Leighton
487fbf3035
Enable multiple files to be uploaded to a file input
...
Obviously, the input must have the multiple attribute for this to work.
The API is:
page.uploadFile('#file_input', ['file1', file2'])
I haven't implemented support for multiple files in the page.filePicker
API because I couldn't work out how to get a return value of an array
of strings through the JS/C++ bridge.
https://code.google.com/p/phantomjs/issues/detail?id=256
2012-12-11 21:41:02 -08:00
James M. Greene
e8380e42d7
Added CoffeeScript examples where missing, minor other fixes
...
Added CoffeeScript examples where missing, minor other fixes such as spacing standardization (2 spaces is the standard in CoffeeScript via Ruby). Also a small set of minor JS example fixes and additional comments.
Fixes http://code.google.com/p/phantomjs/issues/detail?id=907
2012-12-06 14:29:37 -06:00
James M. Greene
4c285c419d
Removed an invalid spec file and an invalid spec include.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=906
2012-12-06 08:27:55 -08:00
James M. Greene
f61635f2d4
Adding 'WebPage#close' calls where appropriate in example scripts.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=903
2012-12-06 08:27:06 -08:00
James M. Greene
c9f9b5a14b
Added getters for all of the WebPage signal//callback handlers.
...
Fixes http://code.google.com/p/phantomjs/issues/detail?id=899
2012-12-05 23:43:50 -06:00