firefox-profile
Advanced tools
Comparing version 0.2.7 to 0.2.9
@@ -0,1 +1,14 @@ | ||
# 0.2.9 | ||
* support for jetpack extensions (jpm now in beta) (thanks @jsantell) | ||
# 0.2.8 | ||
* updated package versions. | ||
* dropping support for nodejs 0.8. | ||
# 0.2.7 | ||
* updated package versions + fixed coverage report | ||
# 0.2.6 | ||
@@ -2,0 +15,0 @@ |
@@ -8,3 +8,3 @@ var webdriver = require('selenium-webdriver'); | ||
// add an extension by specifying the path to the xpi file or to the unzipped extension directory | ||
myProfile.addExtensions([__dirname + '/test/extensions/png-extension.xpi', __dirname + '/test/extensions/firebug-1.12.4-fx.xpi'], function() { | ||
myProfile.addExtensions([ __dirname + '/test/extensions/firebug-2.0.1-fx.xpi'], function() { | ||
@@ -11,0 +11,0 @@ var capabilities = webdriver.Capabilities.firefox(); |
@@ -14,3 +14,4 @@ 'use strict'; | ||
async = require('async'), | ||
uuid = require('node-uuid'); | ||
uuid = require('node-uuid'), | ||
getID = require('jetpack-id'); | ||
@@ -429,3 +430,3 @@ var config = { | ||
this._addonDetails(addon, function(addonDetails) { | ||
var addonId = addonDetails.id; | ||
var addonId = getID(addonDetails); | ||
var unpack = addonDetails.unpack === undefined ? true : addonDetails.unpack; | ||
@@ -463,3 +464,4 @@ | ||
'unpack': true, | ||
'version': null | ||
'version': null, | ||
'isNative': false | ||
}, self = this; | ||
@@ -491,2 +493,3 @@ | ||
details.unpack = false; | ||
details.isNative = true; | ||
Object.keys(details).forEach(function (prop) { | ||
@@ -493,0 +496,0 @@ if (manifest[prop] !== undefined) { |
{ | ||
"name": "firefox-profile", | ||
"version": "0.2.7", | ||
"version": "0.2.9", | ||
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities", | ||
@@ -60,6 +60,6 @@ "main": "lib/firefox_profile", | ||
"grunt-mocha-cov": "0.2.1", | ||
"mocha": "~1.18.0", | ||
"mocha": "~1.20.1", | ||
"mocha-lcov-reporter": "0.0.1", | ||
"request": "~2.34.0", | ||
"sinon": "~1.9.0", | ||
"request": "~2.36.0", | ||
"sinon": "~1.10.2", | ||
"sinon-chai": "~2.5.0", | ||
@@ -69,6 +69,7 @@ "wd": "~0.2.5" | ||
"dependencies": { | ||
"jetpack-id": "0.0.4", | ||
"adm-zip": "~0.4.3", | ||
"archiver": "~0.7.1", | ||
"async": "~0.2.9", | ||
"fs-extra": "~0.8.1", | ||
"archiver": "~0.10", | ||
"async": "~0.9.0", | ||
"fs-extra": "~0.9.1", | ||
"lazystream": "~0.1.0", | ||
@@ -75,0 +76,0 @@ "node-uuid": "~1.4.1", |
@@ -175,2 +175,3 @@ /*jshint camelcase:false*/ | ||
unpack: true, | ||
isNative: false, | ||
version: '2.1.0' | ||
@@ -188,2 +189,3 @@ }); | ||
unpack: false, | ||
isNative: false, | ||
version: '2.2.99' | ||
@@ -201,2 +203,3 @@ }); | ||
unpack: false, | ||
isNative: true, | ||
version: '0.0.1' | ||
@@ -203,0 +206,0 @@ }); |
@@ -55,5 +55,10 @@ /*jshint camelcase:false*/ | ||
fp.setPreference('extensions.firebug.console.enableSites', true); | ||
fp.setPreference('extensions.firebug.cookies.enableSites', true); | ||
fp.setPreference('extensions.firebug.net.enableSites', true); | ||
fp.setPreference('extensions.firebug.script.enableSites', true); | ||
fp.setPreference('extensions.firebug.currentVersion', '2.0.1'); | ||
fp.setPreference('extensions.firebug.defaultPanelName', 'console'); | ||
// calling updatePreferences is now optional | ||
// fp.updatePreferences(); | ||
// no longer works with ff 30+: have to be called explicitly | ||
fp.updatePreferences(); | ||
fp.addExtensions(testProfile.extensions, function() { | ||
@@ -76,3 +81,3 @@ fp.encoded(function(zippedProfile) { | ||
.init({ | ||
browserName:'firefox', | ||
browserName:'firefox', // latest | ||
firefox_profile: zippedProfile, | ||
@@ -90,6 +95,10 @@ name: 'firefox-profile-js', | ||
res.should.contain('function'); | ||
sendStatusToSauceLabs(browser.sessionID, true, function() { done(); }); | ||
if (browser.sessionID) { | ||
sendStatusToSauceLabs(browser.sessionID, true, function() { done(); }); | ||
} | ||
}) | ||
.fail(function(err) { | ||
sendStatusToSauceLabs(browser.sessionID, true, function() { done(err); }); | ||
if (browser.sessionID) { | ||
sendStatusToSauceLabs(browser.sessionID, true, function() { done(err); }); | ||
} | ||
}) | ||
@@ -96,0 +105,0 @@ .done(); |
@@ -12,3 +12,3 @@ var path = require('path'); | ||
profileWithFirebug: { | ||
extensions: [path.join(__dirname, 'extensions/firebug-1.12.4-fx.xpi')] | ||
extensions: [path.join(__dirname, 'extensions/firebug-2.0.1-fx.xpi')] | ||
@@ -15,0 +15,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6507165
34
980
9
+ Addedjetpack-id@0.0.4
+ Addedarchiver@0.10.1(transitive)
+ Addedasync@0.9.2(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbl@0.9.5(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedbuffer-crc32@0.2.13(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcrc32-stream@0.2.0(transitive)
+ Addeddebug@1.0.5(transitive)
+ Addeddeflate-crc32-stream@0.1.2(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedfile-utils@0.2.2(transitive)
+ Addedfindup-sync@0.2.1(transitive)
+ Addedfs-extra@0.9.1(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@4.3.54.5.37.2.3(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedisbinaryfile@2.0.4(transitive)
+ Addedjetpack-id@0.0.4(transitive)
+ Addedminimatch@2.0.103.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedms@2.0.0(transitive)
+ Addedncp@0.5.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedtar-stream@0.4.7(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedxtend@4.0.2(transitive)
+ Addedzip-stream@0.3.7(transitive)
- Removedarchiver@0.7.1(transitive)
- Removedasync@0.2.10(transitive)
- Removeddebug@0.7.4(transitive)
- Removedfile-utils@0.1.5(transitive)
- Removedfindup-sync@0.1.3(transitive)
- Removedfs-extra@0.8.1(transitive)
- Removedglob@3.2.11(transitive)
- Removediconv-lite@0.2.11(transitive)
- Removedisbinaryfile@0.1.9(transitive)
- Removedlodash@2.1.0(transitive)
- Removedlodash._isnative@2.4.1(transitive)
- Removedlodash._objecttypes@2.4.1(transitive)
- Removedlodash._shimkeys@2.4.1(transitive)
- Removedlodash.defaults@2.4.1(transitive)
- Removedlodash.isobject@2.4.1(transitive)
- Removedlodash.keys@2.4.1(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.2.140.3.0(transitive)
- Removedmkdirp@0.3.5(transitive)
- Removedncp@0.4.2(transitive)
- Removedrimraf@2.2.8(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedzip-stream@0.2.3(transitive)
Updatedarchiver@~0.10
Updatedasync@~0.9.0
Updatedfs-extra@~0.9.1