Closed Bug 1100932 Opened 10 years ago Closed 10 years ago

Long tapping on a item opens the item page on amazon.com

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox33 affected, firefox34 affected, firefox35 affected, firefox36 affected, firefox37 affected, firefox38 affected, fennec+)

RESOLVED DUPLICATE of bug 1016480
Tracking Status
firefox33 --- affected
firefox34 --- affected
firefox35 --- affected
firefox36 --- affected
firefox37 --- affected
firefox38 --- affected
fennec + ---

People

(Reporter: cos_flaviu, Unassigned)

References

Details

Environment: 
Device: Nexus 4 (Android 4.4.4);
Build: Nightly 36.0a1 (2014-11-18);

Steps to reproduce:
1. Go to amazon.com
2. Long tap on any item.

Expected result:
The context menu is displayed.

Actual result:
Context menu is displayed for a second then the tapped item page is loaded.
Sounds like bug https://bugzilla.mozilla.org/show_bug.cgi?id=1021804. I can't tell if that bug is still incomplete based on the end discussion.
Flags: needinfo?(markcapella)
See Also: → 1021804
That bug was completed.

On quick glance this is a new twist ... http://www.amazon.com/ wfm on my tablet, but fails on my phone/GS3 as described above just for that url.

On either device if I search down into amazon say to page
http://www.amazon.com/gp/aw/s/ref=nb_sb_noss?k=data+structures+and+algorithms+

Things seem to behave properly again for both devices.
Flags: needinfo?(markcapella)
tracking-fennec: --- → ?
Is this tech evangelism?

Mike - Can you tell what is different between the mobile and desktop pages? (tablets use the desktop)
Flags: needinfo?(miket)
I think this is probably a dupe of Bug 1016480.

In AmazonUI-5e7ba3ac832e67d6ff6a32a33143a3f221ec8bf6.device_type-mobile.rendering_engine-not-trident.weblab-AUI_CSS_REDUCTION_28708-T1.min._V2_.js (cool file name, heh) there's some Fastclick-ish code:

touchend: function(a, d) {
  var f = m(a.currentTarget), k = f.data("a-fast-click");
  if (k && (clearTimeout(k.highlightTimer), f.removeClass("a-touch-press"), !g && Math.abs(k.dX) < j && Math.abs(k.dY) < j && b.now() - k.startTime > 50 && k.touchId === d.identifier && !f.closest(".a-fastclick-disable").length)) {
      a.preventDefault();
      var f = a.target, l;
      l = a.originalEvent.changedTouches[0];
      document.activeElement && document.activeElement !== f && document.activeElement.blur();
      k = document.createEvent("MouseEvents");
      k.initMouseEvent("click", !0, !0, window, 1, l.screenX, l.screenY, l.clientX, l.clientY, !1, !1, !1, !1, 0, null);
      k.auiFastClick = !0;
      f.dispatchEvent(k);
      h.push({
          x: d.clientX,
          y: d.clientY
      });
      b.delay(n, 1500);
  }
}

If I comment out:

//k.initMouseEvent("click", ...);
//k.auiFastClick = !0;
//f.dispatchEvent(k);

I can get a context menu w/o navigation.
Going to go ahead and dupe.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
tracking-fennec: ? → +
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.