diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2019-03-18 18:39:07 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2019-03-18 20:53:54 -0400 |
commit | 1413b3d6fd7297014d35d862abc792dc30c1ec24 (patch) | |
tree | 9ca3e687f4a1344283f840164530f9961d055479 /devtools/client/responsive.html | |
parent | 2d20c38f8395871facc2b23058770156c30611f5 (diff) | |
download | UXP-1413b3d6fd7297014d35d862abc792dc30c1ec24.tar UXP-1413b3d6fd7297014d35d862abc792dc30c1ec24.tar.gz UXP-1413b3d6fd7297014d35d862abc792dc30c1ec24.tar.lz UXP-1413b3d6fd7297014d35d862abc792dc30c1ec24.tar.xz UXP-1413b3d6fd7297014d35d862abc792dc30c1ec24.zip |
Issue #756 - Remove Contextual Identity from DevTools
Diffstat (limited to 'devtools/client/responsive.html')
-rw-r--r-- | devtools/client/responsive.html/docs/browser-swap.md | 3 | ||||
-rw-r--r-- | devtools/client/responsive.html/manager.js | 16 |
2 files changed, 1 insertions, 18 deletions
diff --git a/devtools/client/responsive.html/docs/browser-swap.md b/devtools/client/responsive.html/docs/browser-swap.md index 75055ad4e..f4f8322cb 100644 --- a/devtools/client/responsive.html/docs/browser-swap.md +++ b/devtools/client/responsive.html/docs/browser-swap.md @@ -96,11 +96,8 @@ browsers are swapped. Browser attributes `gBrowser.swapBrowsersAndCloseOther` transfers between browsers: -* `usercontextid` - Tab attributes `gBrowser.swapBrowsersAndCloseOther` transfers between tabs: -* `usercontextid` * `muted` * `soundplaying` * `busy` diff --git a/devtools/client/responsive.html/manager.js b/devtools/client/responsive.html/manager.js index a3fbed366..97ef8ad6d 100644 --- a/devtools/client/responsive.html/manager.js +++ b/devtools/client/responsive.html/manager.js @@ -76,11 +76,6 @@ const ResponsiveUIManager = exports.ResponsiveUIManager = { this.showRemoteOnlyNotification(window, tab, options); return promise.reject(new Error("RDM only available for remote tabs.")); } - // Remove this once we support this case in bug 1306975. - if (tab.linkedBrowser.hasAttribute("usercontextid")) { - this.showNoContainerTabsNotification(window, tab, options); - return promise.reject(new Error("RDM not available for container tabs.")); - } if (!this.isActiveForTab(tab)) { this.initMenuCheckListenerFor(window); @@ -218,16 +213,7 @@ const ResponsiveUIManager = exports.ResponsiveUIManager = { } }), - showRemoteOnlyNotification(window, tab, options) { - this.showErrorNotification(window, tab, options, getStr("responsive.remoteOnly")); - }, - - showNoContainerTabsNotification(window, tab, options) { - this.showErrorNotification(window, tab, options, - getStr("responsive.noContainerTabs")); - }, - - showErrorNotification(window, tab, { command } = {}, msg) { + showRemoteOnlyNotification(window, tab, { command } = {}) { // Default to using the browser's per-tab notification box let nbox = window.gBrowser.getNotificationBox(tab.linkedBrowser); |