webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
747 stars 67 forks source link

www.breakingviews.com - Site is not usable on Firefox Focus with Geckoview #23470

Closed webcompat-bot closed 5 years ago

webcompat-bot commented 5 years ago

URL: https://www.breakingviews.com/considered-view/eu-investment-banks-face-the-regulatory-microscope/

Browser / Version: Firefox Mobile 64.0 Operating System: Android 6.0 Tested Another Browser: Yes

Problem type: Site is not usable Description: not readable Steps to Reproduce:

Browser Configuration
  • None

From webcompat.com with ❤️

softvision-oana-arbuzov commented 5 years ago

Thanks for the report, but I don't see any Compatibility issue on the provided URL. screenshot-1547474249255

Tested with: Browser / Version: Firefox Nightly 66.0a1 (2019-01-14) Operating System: Google Pixel (Android 9) - 1080 x 1920 pixels (~441 ppi pixel density), Samsung Galaxy S7 Edge (Android 8.0.0) - Resolution 1440 x 2560 pixels (~534 ppi pixel density)

Could you try clearing cache/data/cookies, disable Ad-blocker (if available), or use a clean profile (about:profiles), and check again?

softvision-oana-arbuzov commented 5 years ago

After further investigation, it seems that the site is not displayed on Firefox Focus with Geckoview enabled. screenshot-1547474609854

The issue is not reproducible on Firefox Focus without Geckiview.

Tested with: Tested with: Browser / Version: Firefox Focus 8.0.6 (Build #330111642 🦎 64.0.201901111134233) Operating System: Google Pixel (Android 9) - 1080 x 1920 pixels (~441 ppi pixel density), Samsung Galaxy S7 Edge (Android 8.0.0) - Resolution 1440 x 2560 pixels (~534 ppi pixel density)

Reopening and moving to Needsdiagnosis for further investigation,

karlcow commented 5 years ago

yes this is just a tracking protection issue. we can reproduce on Firefox RDM with Firefox Android UA + private window.

This is triggered by

    this.incognitoCheck(),

in https://www.breakingviews.com/wp-content/themes/breaking-views-2015/js/global.min.js?ver=f6bdc953917afb93b9d86c2f86104e70f2a2ae33

  incognitoCheck: function () {
    var classCheck = jQuery('#colmain').hasClass('bv-single');
    if ( - 1 === document.cookie.indexOf('breakingviews=activeuser') && classCheck) {
      var IE = BV.getIEVersion();
      return 0 < IE || 11 === IE ? window.indexedDB || !window.PointerEvent && !window.MSPointerEvent ? BV.incognitoPopup(!1)  : BV.incognitoPopup(!0)  : BV.incognitoBrowsers().then(function (isPrivate) {
        BV.incognitoPopup(isPrivate)
      }),
      !1
    }
    return jQuery('body').addClass('public'),
    !1
  },
  incognitoBrowsers: function () {
    return new Promise(function (resolve) {
      var on = function () {
        resolve(!0)
      },
      off = function () {
        resolve(!1)
      };
      if (!window.webkitRequestFileSystem) {
        if ('MozAppearance' in document.documentElement.style) {
          var db = indexedDB.open('test');
          return db.onerror = on,
          void (db.onsuccess = off)
        }
        if (/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
          var isPrivate = !1;
          try {
            window.openDatabase(null, null, null, null)
          } catch (_) {
            isPrivate = !0
          }
          isPrivate ? on()  : off()
        }
        return off()
      }
      window.webkitRequestFileSystem(0, 0, off, on)
    })
  },
karlcow commented 5 years ago

added to https://bugzilla.mozilla.org/show_bug.cgi?id=1101005

lock[bot] commented 5 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem.