Vitaly Slobodin
016ae98b2b
Don't change the URL of the main execution context on exit.
...
We shouldn't change the URL of the main execution context.
Because this will change security policy of our main frame which leads to the following message: `Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file://bla.js. Domains, protocols and ports must match.`
We can fix it by isolating main frame of PhantomJS execution context. We can destroy it separately.
https://github.com/ariya/phantomjs/issues/12697
2014-11-16 08:37:37 -08:00
Ariya Hidayat
41f9463d5a
Update ChangeLog for 1.9.8.
...
https://github.com/ariya/phantomjs/issues/12670
2014-10-22 21:27:58 -07:00
Ariya Hidayat
a61db6ba55
Fix building on OS X 10.10 (Yosemite).
...
Related upstream bugs:
https://bugreports.qt-project.org/browse/QTBUG-39644
https://bugreports.qt-project.org/browse/QTBUG-40612
https://bugreports.qt-project.org/browse/QTBUG-29373
Related upstream commits:
https://qt.gitorious.org/qt/qt/commit/997d6261
https://qt.gitorious.org/qt/qt/commit/b82b8bfa
https://qt.gitorious.org/qt/qt/commit/ea0ab2cd
https://qt.gitorious.org/qt/qt/commit/df35604f
https://github.com/ariya/phantomjs/issues/12622
2014-10-22 11:23:56 -07:00
Ariya Hidayat
8eb3e40c5b
System#os.version should know OS 10.10 Yosemite.
...
https://github.com/ariya/phantomjs/issues/12579
2014-10-21 22:41:35 -07:00
Ariya Hidayat
319ef5762c
System#os.version should know OS 10.9 Mavericks.
...
https://github.com/ariya/phantomjs/issues/12579
2014-10-21 22:40:29 -07:00
Philip Jägenstedt
1eec21ed5c
Backport crash fixes to Phantom::doExit from master
...
The relevant bits from these commits were applied:
cf12fc4a23
a9809996b1
1e7829db97
https://github.com/ariya/phantomjs/issues/11642
https://github.com/ariya/phantomjs/issues/12431
2014-10-21 22:29:31 -07:00
Mark Stosberg
def023a45d
Bump version to 1.9.8 and add ChangeLog entry for 1.9.8
...
https://github.com/ariya/phantomjs/issues/12670
2014-10-20 20:55:27 -07:00
Mark Stosberg
f9e5c8e82a
Fixes #12655 for the 1.9.x branch
2014-10-17 20:09:15 -04:00
Ryunosuke SATO
074d403864
Fix to update RPM version.
...
https://github.com/ariya/phantomjs/issues/11919
2014-03-30 07:11:38 -07:00
Ivan De Marino
f3cd4ecfa9
Travis CI: Adding comments to ".travis.yml".
...
Related to issue #11880
2014-02-02 21:25:51 +00:00
Ivan De Marino
a52f95cf46
Travis CI: trying to make the build more "resilient".
...
Related to issue #11880 .
2014-02-02 21:25:43 +00:00
Ariya Hidayat
fc6f7baf6a
Travis CI: Silent build.
...
https://github.com/ariya/phantomjs/issues/11880
2014-02-02 20:32:47 +00:00
Ariya Hidayat
8c323d1421
Travis CI: Ensure that the build script executable.
...
https://github.com/ariya/phantomjs/issues/11880
2014-02-02 20:32:26 +00:00
Ariya Hidayat
0653b0932a
Travis CI: Packages installation needs a priviliged access.
...
https://github.com/ariya/phantomjs/issues/11880
2014-02-02 20:31:11 +00:00
Ariya Hidayat
be7ecc48fc
Travis CI: Fix the build directives.
...
https://github.com/ariya/phantomjs/issues/11880
2014-02-02 20:30:46 +00:00
Ariya Hidayat
e7235634d1
Travis CI: Ensure packages are cached for faster setup.
...
https://github.com/ariya/phantomjs/issues/11880
2014-02-02 20:30:34 +00:00
Ariya Hidayat
ad95b4721e
First attempt on using Travis CI.
...
https://github.com/ariya/phantomjs/issues/11880
2014-02-02 20:30:16 +00:00
Ariya Hidayat
adaef213c0
ChangeLog for 1.9.7.
...
https://github.com/ariya/phantomjs/issues/11919
2014-01-24 20:23:53 -08:00
Ariya Hidayat
d247926d9c
Getting ready for 1.9.7.
...
https://github.com/ariya/phantomjs/issues/11919
2014-01-24 20:22:38 -08:00
Ariya Hidayat
9e9bcd7763
Revert "Importing GhostDriver 1.1.1."
...
This reverts commit e9bb1ca7c6
.
https://github.com/ariya/phantomjs/issues/11915
2014-01-24 20:21:17 -08:00
Mike McQuaid
b1cfe1650b
Fix userSpaceScaleFactor deprecation.
...
Port of a06a0e0ae6
.
Issue #1162 https://github.com/ariya/phantomjs/issues/11612
2014-01-24 08:46:00 -08:00
Ariya Hidayat
0814bbfb6b
Update ChangeLog for 1.9.6.
...
https://github.com/ariya/phantomjs/issues/11905
2014-01-18 22:44:09 -08:00
Ariya Hidayat
f4a23c96b6
Getting ready for 1.9.6.
...
https://github.com/ariya/phantomjs/issues/11905
2014-01-18 21:55:41 -08:00
Ivan De Marino
e9bb1ca7c6
Importing GhostDriver 1.1.1.
...
Yes, 1.1.0 has just been imported.
But the key feature in 1.1.1 is Session Isolation in WebDriver: something that has been requested many times,
particularly when using GhostDriver with Selenium Grid.
2014-01-18 21:54:38 -08:00
Ivan De Marino
0947eb6324
Importing GhostDriver 1.1.0 in PhantomJS.
...
CHANGELOG for v1.1.0 (https://github.com/detro/ghostdriver/issues?labels=1.1.0&state=closed )
JavaScript Driver (Core)
* ENHANCEMENT: `/maximize` window will set the window size to 1336x768,
currently most common resolution online (see http://gs.statcounter.com/#resolution-ww-monthly-201307-201312 )
* ENHANCEMENT #275 : Implemented Browser and Network (HAR) Logging types
* FIXED #284 : Attempt to wait for Page to Load if input causes form submit
* FIXED #291 : Throw exception when attempting to set invalid timeout value
* FIXED #259 : Fix issue regarding mouse clicks
* ENHANCEMENT #290 : Enabled support for "Keep Alive" HTTP connections
* ENHANCEMENT #262 : Allow access to PhantomJS API from WebDriver (Driver part)
* ENHANCEMENT #293 : Import Selenium 2.39.0 WebDriver Atoms
Java Binding
* MINOR #251 : Minor compilation issues for Binding
* ENHANCEMENT #262 : Allow access to PhantomJS API from WebDriver (Java Binding part)
Tested using GhostDriver validation tests (https://github.com/detro/ghostdriver/tree/master/test ).
https://github.com/ariya/phantomjs/pull/11877
2014-01-18 21:54:16 -08:00
Vasyl Vavrychuk
3f899a1c97
fixed test suite 'WebPage render image'
...
Previously the test suite 'WebPage render image' made a series of
webpage.open without waiting them to complete. This effected next
runned tests because on load handlers for pages were fired after
'WebPage render image' test finish.
https://github.com/ariya/phantomjs/issues/11780
2014-01-18 21:49:15 -08:00
Ariya Hidayat
4ae580ce2c
Update ChangeLog for 1.9.3.
...
https://github.com/ariya/phantomjs/issues/11904
2014-01-18 20:44:20 -08:00
Ariya Hidayat
77e53071dc
Getting ready for 1.9.3.
...
https://github.com/ariya/phantomjs/issues/11904
2014-01-18 14:16:26 -08:00
Ariya Hidayat
6d06893128
Fix warning of obsolete userSpaceScaleFactor on OS X 10.9 (Mavericks).
...
Related upstream bug: https://bugreports.qt-project.org/browse/QTBUG-28574
Issue #1162 https://github.com/ariya/phantomjs/issues/11612
2014-01-03 18:42:23 -08:00
Ariya Hidayat
bd436034cc
Fix CoreText performance note on OS X 10.9 (Mavericks).
...
Upstream Qt bug: https://bugreports.qt-project.org/browse/QTBUG-32789
Upstream patch: https://codereview.qt-project.org/#patch,all,70097,4 .
Upstream commit: https://qt.gitorious.org/qt/qt/commit/98352b964f
https://github.com/ariya/phantomjs/issues/11418
2014-01-03 18:38:33 -08:00
Oleg Plakhotniuk
7468e38db9
Select monospace font family properly.
...
CSS style "font-family: monospace" should select monospace font.
https://github.com/ariya/phantomjs/issues/11764
2013-12-13 07:36:00 -08:00
Martin Popelak
e23daee221
Update of reference for mongoose license
...
As it seems that project Mongoose has been relicensed from MIT to GPL2. The link provided is leading to the new licensing agreement but as today version 3.1 of Mongoose is used which is licensed under MIT therefore correct reference to a license should be provided.
https://github.com/ariya/phantomjs/issues/10718
2013-12-05 07:35:30 -08:00
Jay Klehr
328c621379
Bumping rpm version to match project version
...
https://github.com/ariya/phantomjs/issues/11262
2013-12-05 07:34:46 -08:00
Vitaliy Slobodin
233a9d5c90
REPL returns empty object on enumerating properties on a simple JavaScript type (Number, String, Logical).
...
We should not to do that.
Issue:
https://github.com/ariya/phantomjs/issues/11622
2013-10-08 02:29:00 -07:00
Ariya Hidayat
3ff03acc2f
Getting ready for 1.9.2.
...
Issue #11452 : https://github.com/ariya/phantomjs/issues/11452
2013-09-05 23:36:03 -07:00
Vitaliy Slobodin
66f6496f2d
Use Qt::transparent to resolve graphical artifacts with images with transparent background.
...
We need to use QImage::Format_ARGB32_Premultiplied on Windows to preserve a text hinting and antialiasing. Using the function `qRgba()` leads to wrong pixel values on a target image. Since, `QImage::fill(uint pixel)` doesn't handle the QImage::Format_ARGB32_Premultiplied format, so we need to use the another overload `QImage::fill(const QColor &color)`
Issues:
https://github.com/ariya/phantomjs/issues/11276
https://github.com/ariya/phantomjs/issues/11007
https://github.com/ariya/phantomjs/issues/11366
2013-08-28 22:31:21 -07:00
Ivan De Marino
492e7da959
Import GhostDriver v1.0.4
...
Issues in this release: https://github.com/detro/ghostdriver/issues?labels=1.0.4&state=closed
See GhostDriver Changelog for more details.
Issue #11452 https://github.com/ariya/phantomjs/issues/11452
2013-07-29 23:05:53 -07:00
Eric Heydenberk
e0cca0b060
Update RPM spec changelog
...
- Describe %files change
- Fix year in timestamp in previous changelog entry
Issue #11262 https://github.com/ariya/phantomjs/issues/11262
2013-07-24 23:31:45 -07:00
Ariya Hidayat
34c5e418f1
Get ready for 1.9.1.
2013-06-03 23:11:50 -07:00
Ariya Hidayat
de6e1928a4
ChangeLog: Include the proxy fix.
2013-06-02 19:02:09 -07:00
Ariya Hidayat
d181c00378
Unit tests: reduce the flakiness of loading progress tests.
...
For whatever reason, swapping the order with the render() tests solve the
intermittent random failures. Also, split the tests between loading
start and finish checks (to better recognize which one is failing, if
there is a failure), also make the tests more asynchoronous.
https://github.com/ariya/phantomjs/issues/11091
2013-06-02 13:33:52 -07:00
Ariya Hidayat
192a1e15f9
Unit test: secure connection check becomes async.
...
Issue #10882 : https://github.com/ariya/phantomjs/issues/10882
2013-06-02 12:22:17 -07:00
Ariya Hidayat
f01ab4ec5a
Unit tests: robustify the tests of PDF, GIF, PNG, JPEG rendering.
...
Issue #10973 https://github.com/ariya/phantomjs/issues/10973
2013-06-01 23:49:45 -07:00
Ariya Hidayat
218baaa1d1
Unit tests: terminate any web servers after finishing the tests.
...
Issue #11163 : https://github.com/ariya/phantomjs/issues/11163
Issue #11243 : https://github.com/ariya/phantomjs/issues/11243
2013-06-01 22:27:12 -07:00
Ariya Hidayat
678f751275
Unit test: tweak secure connection check.
...
The main wikipedia page can be slow to load and thus triggers the timeout.
Let's use the fast Google site so that we don't get flaky outcome.
Issue #10882 : https://github.com/ariya/phantomjs/issues/10882
2013-06-01 19:52:38 -07:00
Vitaliy Slobodin
0cdd1ecc7a
Fix including http:// in the proxy URL:
...
The proxy host parsed incorrectly, when it was typed with a scheme (http or https).
Now proxy can be specified with the scheme.
Fix invalid type conversion:
m_proxyPort converts to its ASCII representation.
Use `QString::number` to include a proxy port properly.
Issues:
https://github.com/ariya/phantomjs/issues/11117
https://github.com/ariya/phantomjs/issues/10811
2013-06-01 09:21:38 -07:00
Ariya Hidayat
f63815d4bc
Issue #10939 : Mark for the upcoming version 1.9.1.
...
https://github.com/ariya/phantomjs/issues/10939
2013-05-20 19:50:30 -07:00
Ariya Hidayat
82dcf089e6
Update ChangeLog with the important (backported) network crash fix.
2013-05-20 19:50:29 -07:00
Vitaliy Slobodin
bfc41e6632
Make QNetworkReplyHandler deliver content asynchronously
...
when its load type is set to SynchronousLoad.
Issue #11338 : https://github.com/ariya/phantomjs/issues/11338
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=62808
2013-05-20 19:49:47 -07:00
Ariya Hidayat
b1430051c8
third-party.txt: Include OpenSSL.
...
Issue #11269 https://github.com/ariya/phantomjs/issues/11269
2013-05-20 00:38:32 -07:00