Update to Drupal 8.0.5. For more information, see https://www.drupal.org/node/2679347

This commit is contained in:
Pantheon Automation 2016-03-02 12:40:24 -08:00 committed by Greg Anderson
parent 2a9f1f148d
commit fd3b12cf27
251 changed files with 5439 additions and 957 deletions

View file

@ -19,14 +19,15 @@ Poltergeist.Browser = (function () {
* @param owner
* @param width
* @param height
* @param jsErrors
* @constructor
*/
function Browser(owner, width, height) {
function Browser(owner, width, height, jsErrors) {
this.owner = owner;
this.width = width || 1024;
this.height = height || 768;
this.pages = [];
this.js_errors = true;
this.js_errors = (typeof jsErrors === 'boolean') ? jsErrors : true;
this._debug = false;
this._counter = 0;
this.resetPage();

View file

@ -26,4 +26,4 @@ phantom.injectJs("" + phantom.libraryPath + "/browser.js");
system = require('system');
new Poltergeist(system.args[1], system.args[2], system.args[3]);
new Poltergeist(system.args[1], system.args[2], system.args[3], system.args[4] === 'false' ? false : true);

View file

@ -5,11 +5,12 @@ Poltergeist = (function () {
* @param port
* @param width
* @param height
* @param jsErrors
* @constructor
*/
function Poltergeist(port, width, height) {
function Poltergeist(port, width, height, jsErrors) {
var self;
this.browser = new Poltergeist.Browser(this, width, height);
this.browser = new Poltergeist.Browser(this, width, height, jsErrors);
this.commandServer = new Poltergeist.Server(this, port);
this.commandServer.start();