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

RESOLVED INCOMPLETE

Status

--
major
RESOLVED INCOMPLETE
4 years ago
a year ago

People

(Reporter: m_khvoinitsky, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

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
(Reporter)

Updated

4 years ago
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
Last Resolved: a year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.