Closed
Bug 854566
Opened 13 years ago
Closed 13 years ago
test-window-utils-global-private-browsing.js fails to load on fennec
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
1.14
People
(Reporter: evold, Unassigned)
References
Details
Attachments
(1 file)
No description provided.
| Reporter | ||
Comment 1•13 years ago
|
||
Pointer to Github pull-request
| Reporter | ||
Updated•13 years ago
|
Attachment #729210 -
Flags: review?(rFobic)
| Reporter | ||
Comment 2•13 years ago
|
||
This was the error that I got:
(addon-sdk)EMBP:addon-sdk erik_vold$ cfx test -a fennec-on-device -b ~/android/android-sdk-macosx/platform-tools/adb --mobile-app fennec --force-mobile -v
Launching mobile application with intent name org.mozilla.fennec
Pushing the addon to your device
Starting: Intent { act=android.activity.MAIN cmp=org.mozilla.fennec/.App (has extras) }
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
Could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'.
[JavaScript Warning: "SyntaxError: test for equality (==) mistyped as assignment (=)?" {file: "chrome://browser/content/downloads.js" line: 103 column: 50 source: " while (download = this._privateDownloads.pop()) {
"}]
zerdatime 1364245370160 - browser chrome startup finished.
Remote debugger listening on port 6000
OpenGL LayerManager Initialized Succesfully.
Version: OpenGL ES 2.0 build 1.8@905891
Vendor: Imagination Technologies
Renderer: PowerVR SGX 540
FBO Texture Target: TEXTURE_2D
Running tests on Fennec 22.0a1/Gecko 22.0a1 ({aa3c5121-dab2-40e2-81ca-7ea25febc110}) under android/arm-eabi-gcc3.
Error: Error: Unsupported Application: The module sdk/panel currently supports only Firefox.
Traceback (most recent call last):
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path.tests/test-window-utils-global-private-browsing.js", line 12, in
const { Panel } = require('sdk/panel');
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/loader/cuddlefish.js", line 133, in options<.load
error = incompatibility(module) || error;
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/loader/cuddlefish.js", line 80, in incompatibility
" currently supports only " + applications.join(", ") + ".")
0 of 1 tests passed.
error: addon-sdk: An exception occurred.
TypeError: tests.testRuns is undefined
resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js 58
Traceback (most recent call last):
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/timers.js", line 31, in notify
callback.apply(null, args);
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 48, in
onDone: onDone
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/harness.js", line 466, in runTests
onDone({passed: 0, failed: 1});
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 29, in onDone
printFailedTests(tests, cfxArgs.verbose, stdout.write);
[JavaScript Error: "addon-sdk: An exception occurred.
TypeError: tests.testRuns is undefined
resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js 58
Traceback (most recent call last):
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/timers.js", line 31, in notify
callback.apply(null, args);
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 48, in
onDone: onDone
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/harness.js", line 466, in runTests
onDone({passed: 0, failed: 1});
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 29, in onDone
printFailedTests(tests, cfxArgs.verbose, stdout.write);
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jet
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 58, in printFailedTests
let singleIteration = tests.testRuns.length == 1;
info: addon-sdk: [JavaScript Error: "addon-sdk: An exception occurred.
TypeError: tests.testRuns is undefined
resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js 58
Traceback (most recent call last):
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/timers.js", line 31, in notify
callback.apply(null, args);
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 48, in
onDone: onDone
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/harness.js", line 466, in runTests
onDone({passed: 0, failed: 1});
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 29, in onDone
printFailedTests(tests, cfxArgs.verbose, stdout.write);
File "resource://extensions.modules.795d1bd6-a75b-45e0-9bab-7b466ffb92b3-at-jetpack.commonjs.path/sdk/test/runner.js", line 58, in printFailedTests
let singleIteration = tests.testRuns.length == 1;
"]
Use max: undefined or NaN
Use max: undefined or NaN
Use max: undefined or NaN
Use max: undefined or NaN
Use max: undefined or NaN
| Reporter | ||
Updated•13 years ago
|
Severity: normal → critical
Priority: -- → P1
Target Milestone: --- → 1.14
Updated•13 years ago
|
Attachment #729210 -
Flags: review?(rFobic) → review+
Comment 3•13 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/26395ea324ff27775a0ddf2d62e5b867f2a381df
Bug 854566: test-window-utils-global-private-browsing.js fixes for Fennec
https://github.com/mozilla/addon-sdk/commit/a270f4c60b12751e17efb4247b3a6aaa3b7f28c7
Merge pull request #891 from erikvold/854566
Bug 854566: test-window-utils-global-private-browsing.js fixes for Fennec r=@gozala
Comment 4•13 years ago
|
||
Commit pushed to stabilization at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/39467a307f58b63c1907c8d383e48475c98b0624
Bug 854566: test-window-utils-global-private-browsing.js fixes for Fennec r=@gozala
(cherry picked from commit 26395ea324ff27775a0ddf2d62e5b867f2a381df)
| Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•