Skip to content

Commit a450e83

Browse files
juliemrcnishina
authored andcommitted
fix(bootstrap): enable debug info before setting defer label
closes angular#3035 Note that in most cases, this should not have surfaced as an issue because the base test mock modules will also try to turn on debug info. Closes angular#3009
1 parent 2cbe01e commit a450e83

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bin/webdriver-manager

+1
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ var httpGetFile = function(fileUrl, fileName, outputDir, callback) {
203203
var options = {
204204
url: fileUrl,
205205
strictSSL: !ignoreSSL,
206+
rejectUnauthorized: !ignoreSSL,
206207
proxy: resolveProxy(fileUrl)
207208
};
208209

lib/protractor.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@ Protractor.prototype.get = function(destination, opt_timeout) {
637637

638638
this.driver.get(this.resetUrl).then(null, deferred.reject);
639639
this.executeScript_(
640-
'window.name = "' + DEFER_LABEL + ENABLE_DEBUG_INFO_LABEL + '" + window.name;' +
640+
'window.name = "' + ENABLE_DEBUG_INFO_LABEL + DEFER_LABEL + '" + window.name;' +
641+
641642
'window.location.replace("' + destination + '");',
642643
msg('reset url'))
643644
.then(null, deferred.reject);

0 commit comments

Comments
 (0)