Open Bug 1330647 Opened 7 years ago Updated 2 years ago

Video dimension info rendered incorrectly

Categories

(Firefox :: Page Info Window, defect)

50 Branch
Unspecified
All
defect

Tracking

()

Tracking Status
firefox50 --- affected
firefox51 --- affected
firefox52 --- wontfix
firefox53 --- affected
firefox84 --- affected

People

(Reporter: mikael, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507

Steps to reproduce:

View a video, e.g. http://techslides.com/demos/sample-videos/small.mp4

Press cmd-i to show page info.

Switch to media tab, select the video.


Actual results:

The video dimension is rendered as "¤¤¤px × ¤¤¤px".


Expected results:

The video dimension should be rendered as the actual size "480px × 120px" (or whatever the size is in the sample video).
OS: Unspecified → Mac OS X
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox: 50.1.0, Build ID: 20161208153507

I have managed to reproduce this issue on the latest Firefox (50.1.0) release and latest Nightly (53.0a1) build on Mac Os 10.11 and also on Windows 7. 

I have tested on a Firefox en-us build and the video dimensions are displayed as "NaNpx x NaNpx". For testing this I have used the provided URL in comment 0 and also with another video: https://goo.gl/WVOzft.
Here is a screenshot with the issue: https://goo.gl/uvMynM.

The dimensions were correctly displayed on Firefox 42.0a1. I have performed a regression and here are the results: 
Last good revision: 2ee9895e032c (2015-07-29)
First bad revision: 62469b20ec84 (2015-07-30)
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2ee9895e032c&tochange=62469b20ec84
Status: UNCONFIRMED → NEW
Component: Untriaged → Page Info Window
Ever confirmed: true
OS: Mac OS X → All
Too late for firefox 52, mass-wontfix.

:florian Duplicate of Bug 1327606 - which also mentions a more recent example of returning NaN

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: