Closed Bug 834089 Opened 11 years ago Closed 11 years ago

Broken private-browsing test on fennec which tries to open a window

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: evold, Assigned: evold)

Details

Attachments

(1 file)

$ cfx test -a fennec-on-device -b ~/android/android-sdk-macosx/platform-tools/adb --mobile-app fennec --force-mobile -v -f private
Launching mobile application with intent name org.mozilla.fennec
Killing running Firefox instance ...
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'.
zerdatime 1358989460786 - browser chrome startup finished.
Running tests on Fennec 21.0a1/Gecko 21.0a1 ({aa3c5121-dab2-40e2-81ca-7ea25febc110}) under android/arm-eabi-gcc3.
info: addon-sdk: executing 'test-private-browsing.testIsActiveDefault'
info: addon-sdk: pass: pb.isActive returns false when private browsing isn't supported
info: addon-sdk: executing 'test-private-browsing.testWindowDefaults'
error: addon-sdk: An exception occurred.
Error: This method is not yet supported by Fennec, consider using require("tabs") instead
resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/windows/fennec.js 32
Traceback (most recent call last):
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/timers.js", line 31, in notify
callback.apply(null, args);
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/deprecated/unit-test.js", line 286, in 
timer.setTimeout(function() { onDone(self); }, 0);
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/deprecated/unit-test.js", line 456, in 
options.onDone(self);
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/deprecated/unit-test.js", line 438, in runNextTest
self.start({test: test, onDone: runNextTest});
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/deprecated/unit-test.js", line 469, in start
this.test.testFunction(this);
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/tests/test-private-browsing.js", line 23, in exports.testWindowDefaults
onActivate: function(window) {
File "resource://a63f154d-7772-4f21-80fc-8a4e59dbdc27-at-jetpack/addon-sdk/lib/sdk/windows/fennec.js", line 32, in open
throw new Error(ERR_FENNEC_MSG);
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
1 of 3 tests passed.
Assignee: nobody → evold
Attachment #705666 - Flags: review?(zer0)
Commit pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/0e92d480efa9cacf9c5f2f34348d94ace59fe706
Merge pull request #742 from erikvold/fennec-pb-test-fixes

Fix Bug 834089 Fixing private-browsing test for fennec, which cannot open new windows r=@zer0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #705666 - Flags: review?(zer0) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: