Closed Bug 1036608 Opened 10 years ago Closed 10 years ago

[B2G][2.0][Mobile] Spotify embed suggests FxOS users download iOS/Android native app (which leads to OOM)

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 affected, b2g-v2.0 affected, b2g-v2.1 unaffected)

RESOLVED WONTFIX
Tracking Status
b2g-v1.4 --- affected
b2g-v2.0 --- affected
b2g-v2.1 --- unaffected

People

(Reporter: psiphantong, Unassigned)

References

()

Details

(Whiteboard: [273MB-Flame-Support] [2.0-exploratory][country-all][clientsniff][contactready])

Attachments

(2 files)

Attached file mm.txt
Description:
When the user download Spotify,the browser will crash 

Setup Steps:
1) Flame device is set to 273mb

Repro Steps:
1) Update a Flame device to BuildID: 20140708000322
2) Go to Browser
3) Go to search 'insert artist'(kilo kish) spotify
4) Enter the first link on google
5) Tap on the Spotify icon/get spotify 

Actual:
the browser crash

Expected:
the browser goes to the download/sign in page

Environmental Variables:
Device: Flame 2.0 
Build ID: 20140708000322
Gaia: e935f4ff190b76c70d9b2af8856c542a6e4a7546
Gecko: 3f9d7a3a0b7b
Version: 32.0a2 (2.0) 
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Repro frequency: 100%
See attached: screenshot, logcat
Attached image 2014-07-09-09-45-58.png
This issue also reproduces on the Flame 1.4(273mb). The browser crash

Flame 1.4(273MB)

Environmental Variables:
Device: Flame 1.4
Build ID: 20140709003002
Gaia: b0e9b4bdb39c5eb93a6783a34624ffc84f62b126
Gecko: acf704e54e19
Version: 30.0 (1.4)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0
Flame 2.1(273mb



------------------------------------------------------------------------------------------------------------------

This issue does not reproduce on the Flame 2.1(273mb), Buri 2.1, Open C 2.1, Flame 2.0(512mb), Buri 2.0, Open C 2.0, Buri 1.4, Open C 1.4 or Flame Base v122(273mb). The browser goes to the download/sign in page

Flame 2.1 (273mb)

Environmental Variables:
Device: Flame Master(273MB)
BuildID: 20140709040203
Gaia: 0f9f11d0a6dadb3ea27160204bbe911c1ad69a6f
Gecko: 196d05832e12
Version: 33.0a1 (Master) 
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0

Buri 2.1

Environmental Variables:
Device: Buri Master
Build ID: 20140709073020
Gaia: c394b7b4205b6f1a6ca44915fc08650f3ad127ec
Gecko: 2d88803a0b9c
Version: 33.0a1 (Master)
Firmware Version: v1.2device.cfg
User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0

Open C 2.1

Environmental Variables:
Device: Open_C Master
Build ID: 20140708040218
Gaia: 740faa5d0060fb218b407cf224330654ddf833a5
Gecko: 465280604ea6
Version: 33.0a1 (Master)
Firmware Version: P821A10V1.0.0B06_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:33.0) Gecko/33.0 Firefox/33.0

Flame 2.0(512mb)

Environmental Variables
Device: Flame v2.0 
Build ID: 20140708000322
Gecko: https://hg.mozilla.org/releases/mozilla-aurora/rev/3f9d7a3a0b7b
Gaia: e935f4ff190b76c70d9b2af8856c542a6e4a7546
Platform Version: 32.0a2
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Buri 2.0

Environmental Variables:
Device: Buri 2.0
Build ID: 20140709063007
Gaia: 1774027323bb072b4ebdfea9883572bcf2535c87
Gecko: 11b6493a7d8f
Version: 32.0a2 (2.0)
Firmware Version: v1.2device.cfg
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Open C 2.0

Environmental Variables:
Device: Open_C 2.0
Build ID: 20140708000322
Gaia: e935f4ff190b76c70d9b2af8856c542a6e4a7546
Gecko: 3f9d7a3a0b7b
Version: 32.0a2 (2.0)
Firmware Version: P821A10V1.0.0B06_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0


Buri 1.4

Environmental Variables:
Device: Buri 1.4
Build ID: 20140709003002
Gaia: b0e9b4bdb39c5eb93a6783a34624ffc84f62b126
Gecko: acf704e54e19
Version: 30.0 (1.4)
Firmware Version: v1.2device.cfg
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

Open C 1.4

Environmental Variables:
Device: Open_C 1.4
Build ID: 20140709000201
Gaia: b0e9b4bdb39c5eb93a6783a34624ffc84f62b126
Gecko: acf704e54e19
Version: 30.0 (1.4)
Firmware Version: P821A10V1.0.0B06_LOG_DL
User Agent: Mozilla/5.0 (Mobile; rv:30.0) Gecko/30.0 Firefox/30.0

Flame Base Image v.122(273mb)

Environmental Variables:
Device: Flame 1.3
Build ID: 20140616171114
Gaia: e1b7152715072d27e0880cdc6b637f82fa42bf4e
Gecko: e181a36ebafaa24e5390db9f597313406edfc794
Version: 28.0 (1.3)
Firmware Version: v122
User Agent: Mozilla/5.0 (Mobile; rv:28.0) Gecko/28.0 Firefox/28.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Why do we think it is a Web Compatibility issue?
Please file this under the correct product and component. Also, a video might be useful here.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage-]
Flags: needinfo?(ktucker) → needinfo?(psiphantong)
video added, https://www.youtube.com/watch?v=76ZgaCM7hYo
Component: Mobile → Gaia::Browser
Flags: needinfo?(psiphantong)
Product: Tech Evangelism → Firefox OS
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage-] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Spotify doesn't actually offer an app for Firefox OS right now--just for Android and iOS. Ideally, you shouldn't even have the download option there.

In https://d2b1xqaw2ss8na.cloudfront.net/static/js/md.294dffe.js,

isMobile: function () {
  Spotify.BrowserDetect.init();
  return - 1 !== ['iOS', 'Android'].indexOf(Spotify.BrowserDetect.OS)
}

Spotify.BrowserDetect will end up with "Unknown", because navigator.platform is "" on Firefox OS.

var Spotify = function (c) {
    c.BrowserDetect = {
        initialized: !1,
        init: function () {
            this.initialized || (this.browser = this._searchString(this.dataBrowser) || 'Unknown', this.version = this._searchVersion(navigator.userAgent) || this._searchVersion(navigator.appVersion) || 'an unknown version', this.OS = this._searchString(this.dataOS) || 'Unknown', this.initialized = !0)
        },
        ...

So the OOM part seems like our bug, but we could ask Spotify to just show some kind of (unsatisfying) unsupported message here.
Summary: [B2G][2.0][Mobile] Out of memory issue when the user downloads Spotify → [B2G][2.0][Mobile] Spotify embed suggests FxOS users download iOS/Android native app (which leads to OOM)
Whiteboard: [273MB-Flame-Support] [2.0-exploratory] → [273MB-Flame-Support] [2.0-exploratory][country-all][clientsniff][contactready]
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][lead-review+]
QA Whiteboard: [QAnalyst-Triage+][lead-review+] → [QAnalyst-Triage+]
I don't think this is a compat issue - it's a gecko regression on our side based on the branch analysis above. However, this is likely something not worth fixing, as it's a desktop site & not a critical user workflow.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: