~ubuntu-branches/debian/stretch/adblock-plus/stretch

« back to all changes in this revision

Viewing changes to lib/objectTabs.js

  • Committer: Package Import Robot
  • Author(s): David Prévot, Wladimir Palant, David Prévot
  • Date: 2015-08-11 13:53:30 UTC
  • mfrom: (0.48.1) (0.47.1) (0.46.1) (0.33.3) (59.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20150811135330-x1l7w2y7ohir1ek3
Tags: 2.6.10+dfsg-1
[ Wladimir Palant ]
* Releasing Adblock Plus 2.6.10

[ David Prévot ]
* Don’t ship new fonts

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
  /**
77
77
   * Windows that the window event handler is currently registered for.
78
 
   * @type Array of Window
 
78
   * @type Window[]
79
79
   */
80
80
  windowListeners: null,
81
81
 
178
178
  {
179
179
    // Object tabs aren't usable in Fennec
180
180
    let {application} = require("info");
181
 
    if (application == "fennec" || application == "fennec2")
 
181
    if (application == "fennec" || application == "fennec2" ||
 
182
        application == "adblockbrowser")
182
183
      return;
183
184
 
184
185
    let {Prefs} = require("prefs");
354
355
  /**
355
356
   * Calculates element's position relative to the top frame and considering
356
357
   * clipping due to scrolling.
357
 
   * @return {left: Number, top: Number, right: Number, bottom: Number}
 
358
   * @return {{left: Number, top: Number, right: Number, bottom: Number}}
358
359
   */
359
360
  _getElementPosition: function(/**Element*/ element)
360
361
  {