Closed Bug 946466 Opened 11 years ago Closed 11 years ago

[B2G] [Everything.me] [Pinterest] Upload Your Photo menu contains non-photo options

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ckreinbring, Unassigned)

References

()

Details

(Whiteboard: dogfood1.2 [contactready])

Attachments

(2 files)

Description:
While registering an account via email, the menu for selecting a source to upload photos shows sources that do not contain photos.

Repro Steps:
1) Update Buri to Build ID: 20131204004003
2) Launch the Pinterest app from Everything.me.
3) Tap Join Pinterest Today, then "your email address".
4) Tap the Upload Your Photo button and observe the menu that appears.

Actual:
The Select From menu contains options that do not contain photos (Video, System Ringtones and Music).

Expected:
The Select From menu contains only options that contain photos to upload (Wallpaper, Gallery and Camera).

Environmental Variables
Device: Buri 1.2 commercial RIL
Build ID: 20131204004003
Gecko: http://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/758f3fb32dda
Gaia: 8d762f3376318fd6be390432db750ae4904c9ab6
Platform Version: 26.0
RIL Version: 01.02.00.019.102

Notes:
Also repros on Leo 1.1 mozilla RIL
Repro frequency: 100%
See attached screenshot
Summary: [B2G] [Pinterest] Upload Your Photo menu contains non-photo options → [B2G] [Everything.me] [Pinterest] Upload Your Photo menu contains non-photo options
That's a TE Issue with Pinterest. They need to include accept filters to input file element to ensure that only images are allowed to be uploaded.
No longer blocks: b2g-facebook
Component: Preinstalled B2G Apps → Mobile
Attached image 2013-12-11 17.55.51.png
Also happens in Chrome Mobile, so it's not really a FxOS specific issue.
To be more clear, they should add `accept="image/*;capture=camera"` to <input id="id_img" name="img" type="file"> on that page. But this seems more like a "would be nice improvement" rather than Tech Evangelism.
Is there a platform/browser where it is working as it is described in?

(In reply to ckreinbring from comment #0)
> Expected:
> The Select From menu contains only options that contain photos to upload
> (Wallpaper, Gallery and Camera).
The code sent to iOS is

> <div id="CompletePhoto">
> <div class="frame">
> <img src="https://s-passets-ec.pinimg.com/images/registration/default-profile.png" 
>      alt="Photo of Account Creator" />
> </div>
> <div class="buttons">
> <label for="id_img" 
>        class="Button WhiteButton Button13 ContrastButton upload" 
>        data-text-uploading="Uploading&hellip;">Upload your Photo</label>
> </div>
> </div>

But when clicking upload your photo, there is a kind of native menu appearing.

later in the code

> <li class="hidden" id="profile_img">
> <input id="id_user_image_url" 
>        name="user_image_url" 
>        type="hidden" 
>        value="https://s-passets-ec.pinimg.com/images/registration/default-profile.png" />
> </li>
> </ul>
> <div class="fileInput">
> <input id="id_img" 
>        name="img" 
>        type="file" />
> </div>
> 


They also use https://s-passets-ec.pinimg.com/js/jquery-1.7.1.min.js
Whiteboard: dogfood1.2 → dogfood1.2 [contactready]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: