Closed Bug 1073600 Opened 8 years ago Closed 4 years ago

Firefox OS gets desktop content, causes all pages on NBC Connecticut website to pop up NativeBundleNoOpImpl error (nbcconnecticut.com)

Categories

(Web Compatibility :: Mobile, defect, P5)

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: bzumwalt, Assigned: karlcow)

References

()

Details

(Whiteboard: [2.1-exploratory-2] [country-us] [serversniff] [sitewait])

Attachments

(2 files)

Attached image Screenshot
Description:
If user navigates to any page with video (including home page) of NBC Connecticut site, an error message appears "The page at http://www.nbcconnecticut.com says: NativeBundleNoOpImpl"

After clicking okay on error the user can navigate page, but video will not play.

Repro Steps:
1) Update a Flame device to BuildID: 20140926000202
2) Tap Rocketbar and navigate to http://www.nbcconnecticut.com

Actual:
Error screen appears.
  
Expected: 
Error screen does not appear.
  
Environmental Variables:
Device: Flame 2.1 KK (319mb)
BuildID: 20140926000202
Gaia: 6a6ed9433fce47e76c07fd35bc5952acb108f4c8
Gecko: 7b09a378588c
Version: 34.0a2 (2.1)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
  
Repro frequency: 3/3, 100%
See attached: screenshot & logcat
Issue DOES occur on Flame KK 2.2 (319mb) & Flame KK 2.0 (319mb)

Flame 2.2 KitKat Base (319mb)
Device: Flame 2.2 Master
BuildID: 20140926040203
Gaia: a06714c555ca7068545f10b4437a16c14cd8e7f5
Gecko: 9e3d649b80a2
Version: 35.0a1 (2.2 Master)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:35.0) Gecko/35.0 Firefox/35.0

Flame 2.0 KitKat Base (319mb)
Device: Flame 2.0
BuildID: 20140926063008
Gaia: c1aa7829548e65360472c31544dbe2839eaf5be1
Gecko: 5a9f1f402425
Version: 32.0 (2.0)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0

Actual Results: Error screen appears.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
Attached file Logcat
Page is built with Google Web Toolkit. Message is shown from here:

http://www.nbcconnecticut.com/assets/pdk449/pdk/js/app/0346E8A5179B107273F0F93E35354C01.cache.js

function Atc(){Atc=CEc;alert('NativeBundleNoOpImpl')}

Further up in the callstack we find stuff like tpPlayer.createVideo(), so I guess there's a bit too much browser sniffing involved in their video. 

If we get the mobile content, this problem will go away. We should contact them and suggest they send their mobile content to Firefox OS smartphones.
Flags: needinfo?(ktucker)
The site intends to send mobile browsers a simplified site, but fails to detect Firefox OS as a smartphone. Here's some analysis of the HTTP traffic that shows evidence of server-side sniffing. Look at the length of the returned HTML code - Firefox OS gets 187kB of HTML (the desktop page) while other smartphone browsers get just 74kB (the mobile page):

Significant difference in source code:
Smallest response has Content-Length: 74501
Largest response has Content-Length: 187526


Selected HTTP response headers (Firefox OS, Firefox on Android, Safari on iPhone):

Response for: 'Mozilla/5.0 (Mobile; rv:29.0) Gecko/29.0 Firefox/29.0'
Response Status: 200
content-length: 187526
content-type: text/html;charset=utf-8

Response for: 'Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0'
Response Status: 200
content-length: 74501
content-type: text/html;charset=utf-8

Response for: 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25'
Response Status: 200
content-length: 74694
content-type: text/html;charset=utf-8
Whiteboard: [2.1-exploratory-2] → [2.1-exploratory-2] [country-us] [serversniff] [contactready]
Summary: [Tech Evangelism] All pages NBC Connecticut website pop up NativeBundleNoOpImpl error (nbcconnecticut.com) → Firefox OS gets desktop content, causes all pages on NBC Connecticut website to pop up NativeBundleNoOpImpl error (nbcconnecticut.com)
NBC Connecticut
http://www.nbcconnecticut.com/

They belong to NBCUniversal Media, LLC. which became NBC Universal 
https://en.wikipedia.org/wiki/NBCUniversal
"NBCUniversal is headquartered in the Rockefeller Plaza in Midtown Manhattan, New York City"

It can give a hint for where the engineers might be.
They seem to hire their own engineers and Web developers
http://www.nbcunicareers.com/search-results?search_type=talent&talent=Technology/Engineering

This could be a candidate for a human contact.
https://twitter.com/zebulonholt
http://www.linkedin.com/in/zebholt

1st attempt
http://twitter.com/MozWebCompat/status/516393757449535488
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [2.1-exploratory-2] [country-us] [serversniff] [contactready] → [2.1-exploratory-2] [country-us] [serversniff] [sitewait]
unable to nominate this to block, as this is a tech evangelism bug.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
FWIW, I got the same popup warning on
http://www.nbclosangeles.com/news/local/hollywood-highland-shooting-report-284945511.html
on desktop linux firefox 34.0 (the one bundled with Ubuntu 14.04) just now.
We do not get the warning anymore.

But we still receive a desktop site instead of the mobile site.
When faking the UA to trigger the mobile site, the layout seems perfectly fine on Gecko.

Zebulon Holt didn't reply at all.
https://www.linkedin.com/in/zebholt
He is also on GitHub but inactive https://github.com/zebholt

Maybe we could have more chances with Alexander Ross
https://github.com/bleen
Let's try on twitter @bleen18
http://twitter.com/MozWebCompat/status/626272880544755712
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.