Closed
Bug 1028773
Opened 11 years ago
Closed 8 years ago
test-simple-prefs.testUnloadOfDynamicPrefGeneration fails on android
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: evold, Unassigned)
Details
executing 'addon-sdk/tests/test-simple-prefs.testUnloadOfDynamicPrefGeneration'
console.info: addon-sdk: executing 'addon-sdk/tests/test-simple-prefs.testUnloadOfDynamicPrefGeneration'
pass: start creating the xpi
console.info: addon-sdk: pass: start creating the xpi
1403493470058 addons.update-checker WARN HTTP Request failed for an unknown reason
1403493470058 addons.update-checker WARN HTTP Request failed for an unknown reason
1403493471214 addons.xpi WARN Failed to set permissions 755 on /storage/emulated/legacy/jetpack-profile/extensions/trash: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: setFilePermissions :: line 271" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIProvider.jsm:271 < recursiveRemove()@resource://gre/modules/addons/XPIProvider.jsm:1300 < DirInstallLocation_getTrashDir()@resource://gre/modules/addons/XPIProvider.jsm:7116 < DirInstallLocation_installAddon()@resource://gre/modules/addons/XPIProvider.jsm:7138 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5609 < TaskImpl_run()@resource://gre/modules/Task.jsm:301 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/mo
1403493471214 addons.xpi WARN Failed to set permissions 755 on /storage/emulated/legacy/jetpack-profile/extensions/trash: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: setFilePermissions :: line 271" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIProvider.jsm:271 < recursiveRemove()@reso!
urce://gre/modules/addons/XPIProvider.jsm:1300 < DirInstallLocation_getTrashDir()@resource://gre/modules/addons/XPIProvider.jsm:7116 < DirInstallLocation_installAddon()@resource://gre/modules/addons/XPIProvider.jsm:7138 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5609 < TaskImpl_run()@resource://gre/modules/Task.jsm:301 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/mod!
ules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown>
1403493471230 addons.xpi WARN Failed to set permissions 755 on /storage/emulated/legacy/jetpack-profile/extensions/trash: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: setFilePermissions :: line 271" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIProvider.jsm:271 < recursiveRemove()@resource://gre/modules/addons/XPIProvider.jsm:1300 < DirInstallLocation_installAddon()@resource://gre/modules/addons/XPIProvider.jsm:7204 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5609 < TaskImpl_run()@resource://gre/modules/Task.jsm:301 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown>
1403493471230 addons.xpi WARN Failed to set permissions 755 on /storage/emulated/legacy/jetpack-profile/extensions/trash: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: setFilePermissions :: line 271" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIProvider.jsm:271 < recursiveRemove()@reso!
urce://gre/modules/addons/XPIProvider.jsm:1300 < DirInstallLocation_installAddon()@resource://gre/modules/addons/XPIProvider.jsm:7204 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5609 < TaskImpl_run()@resource://gre/modules/Task.jsm:301 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown>
1403493471238 addons.xpi WARN failed to set lastModifiedTime on /storage/emulated/legacy/jetpack-profile/extensions/test-bootstrap-addon@mozilla.com.xpi: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.lastModifiedTime]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: DirInstallLocation_installAddon :: line 7214" data: no] Stack trace: DirInstallLocation_installAddon()@resource://gre/modules/addons/XPIProvider.jsm:7214 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5609 < TaskImpl_run()@resource://gre/modules/Task.jsm:301 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown>
1403493471238 addons.xpi WARN failed to set lastModifiedTime on /storage/emulated/legacy/jetpack-profile/extensions/test-bootstrap-addon@mozilla.com.xpi: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.lastModifiedTime]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: DirInstallLocation_installAddon :: line 7214" data: no] Stack trace: DirInstallLocation_installAddon()@resource:/!
/gre/modules/addons/XPIProvider.jsm:7214 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5609 < TaskImpl_run()@resource://gre/modules/Task.jsm:301 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown>
1403493471292 addons.xpi WARN Failed to set permissions 755 on /storage/emulated/legacy/jetpack-profile/extensions/staged: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: setFilePermissions :: line 271" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIProvider.jsm:271 < DirectoryInstallLocation.prototype.cleanStagingDir()@resource://gre/modules/addons/XPIProvider.jsm:7083 < DirectoryInstallLocation.prototype.releaseStagingDir()@resource://gre/modules/addons/XPIProvider.jsm:7047 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5681 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown
1403493471292 addons.xpi WARN Failed to set permissions 755 on /storage/emulated/legacy/jetpack-profile/extensions/staged: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.permissions]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: setFilePermissions :: line 271" data: no] Stack trace: setFilePermissions()@resource://gre/modules/addons/XPIProvider.jsm:271 < DirectoryInstallLocat!
ion.prototype.cleanStagingDir()@resource://gre/modules/addons/XPIProvider.jsm:7083 < DirectoryInstallLocation.prototype.releaseStagingDir()@resource://gre/modules/addons/XPIProvider.jsm:7047 < AI_startInstall/<()@resource://gre/modules/addons/XPIProvider.jsm:5681 < Handler.prototype.process()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:863 < this.PromiseWalker.walkerLoop()@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:742 < <file:unknown>!
pass: installed
console.info: addon-sdk: pass: installed
pass: addon id: test-bootstrap-addon@mozilla.com
console.info: addon-sdk: pass: addon id: test-bootstrap-addon@mozilla.com
pass: the add-on is enabled
console.info: addon-sdk: pass: the add-on is enabled
console.error: addon-sdk:
[JavaScript Error: "fail: the add-on is enabled - true == false"]
fail:
the add-on is enabled - true == false
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[JavaScript Error: "args[0] is undefined" {file: "chrome://browser/content/ConsoleAPI.js" line: 21}]
[Exception... "[JavaScript Error: "args[0] is undefined" {file: "chrome://browser/content/ConsoleAPI.js" line: 21}]'[JavaScript Error: "args[0] is undefined" {file: "chrome://browser/content/ConsoleAPI.js" line: 21}]' when calling method: [nsIObserver::observe]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource://gre/modules/devtools/Console.jsm :: sendConsoleAPIMessage :: line 562" data: yes]
************************************************************
console.trace: addon-sdk:
_ecated/unit-test.js 92 fail
_/sdk/test/assert.js 88 fail
_/sdk/test/assert.js 102 ok
_est-simple-prefs.js 278 exports.testUnloadOfDynamicPrefGeneration/<
_/Promise-backend.js 863 Handler.prototype.process
_/Promise-backend.js 742 this.PromiseWalker.walkerLoop
0
pass: enabled
console.info: addon-sdk: pass: enabled
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIConsoleService.logStringMessage]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/ConsoleAPI.js :: observe :: line 44" data: no]
************************************************************
console.log: addon-sdk: [JavaScript Error: "fail: the add-on is enabled - true == false"]
[JavaScript Error: "window.gViewController is undefined" {file: "resource://gre/modules/addons/XPIProvider.jsm -> file:///storage/emulated/legacy/jetpack-profile/extensions/620ebd1d-534b-4a02-b7ab-dbedf742ca11@jetpack/bootstrap.js -> resource://extensions.modules.620ebd1d-534b-4a02-b7ab-dbedf742ca11-at-jetpack.commonjs.path/toolkit/loader.js -> resource://extensions.modules.620ebd1d-534b-4a02-b7ab-dbedf742ca11-at-jetpack.commonjs.path/sdk/preferences/utils.js" line: 40}]
System JS : ERROR resource://gre/modules/addons/XPIProvider.jsm -> file:///storage/emulated/legacy/jetpack-profile/extensions/620ebd1d-534b-4a02-b7ab-dbedf742ca11@jetpack/bootstrap.js -> resource://extensions.modules.620ebd1d-534b-4a02-b7ab-dbedf742ca11-at-jetpack.commonjs.path/toolkit/loader.js -> resource://extensions.modules.620ebd1d-534b-4a02-b7ab-dbedf742ca11-at-jetpack.commonjs.path/sdk/preferences/utils.js:40 - TypeError: window.gViewController is undefined
| Reporter | ||
Updated•11 years ago
|
Assignee: nobody → evold
Priority: -- → P2
Comment 2•8 years ago
|
||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•