Closed Bug 1141323 Opened 9 years ago Closed 7 years ago

isPrivate(instance of require("sdk/tabs").Tab) is broken on Fennec for android

Categories

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

All
Android
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: m_khvoinitsky, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305221847
Firefox for Android

Steps to reproduce:

var tabs = require("sdk/tabs");
var isPrivate = require("sdk/private-browsing").isPrivate;
// using isPrivate(tabs.activeTab)


Actual results:

isPrivate(tabs.activeTab) always return false on android
BUT
var getTargetWindow = require("sdk/content/mod").getTargetWindow;
isPrivate(getTargetWindow(tabs.activeTab)) works good everywhere


Expected results:

isPrivate(tabs.activeTab) should work everywhere
Severity: normal → major
Component: Untriaged → General
OS: Linux → Android
Product: Firefox → Add-on SDK
Hardware: x86_64 → All
Version: 36 Branch → unspecified
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.