www.dailymotion.com - Unable to save settings in Firefox Mobile
URL: http://www.dailymotion.com Browser / Version: Firefox Mobile 35.0 Operating System: Android 4.4.4 Problem type: Looks like the website has a bug. Site owner: No
Steps to Reproduce
- Navigate to: http://www.dailymotion.com
- Click on the "hamburger" menu button
- Click on "Settings"
- Change one of the settings, e.g. Country to Australia
- Use other parts of the site, such as searching videos
- Go back to the settings screen
Expected Behavior: The setting you changed should be saved, e.g. Country should show as Australia.
Actual Behavior: The setting is back to the default, e.g. Country is shown as Auto.
In other mobile browsers the screen refreshes after each setting is changed but this doesn't happen in Firefox Mobile (both on Android and Firefox OS).
Firefox Mobile 36.0, Android 4.1.1, "Country" field select won't open and can't change selection.
In the console, when selecting an item from the country menu.
15:23:46.323 TypeError: a.srcElement is undefined JKRq-.js:3
Emulating a different user agent doesn't fix the issue. It's not working on iOS6 too. I don't know about more recent version of iOS.
@dailymotion is on github. Maybe @matthieuprat can help us find the right person and/or the bug?
Ping @rhumlover since he's working on the mobile web app.
Or maybe @dharFr
He replied on this issue https://webcompat.com/issues/705
Thanks for reporting this issue. Forwarded to the team in charge of the web app.
Hi,
thanks a lot for let us know about this issue. Yep, event.srcElement isn't compatible with Firefox, I'll get it fixed soon!
Thanks @rhumlover, that would be great. You probably know already but just in case - event.srcElement is not a W3C standard so not supported. There's a good SO answer here for others who come across this problem.
Thanks @tagawa! Actually I didn't know srcElement wasn't a W3C standard. Didn't dig deep enough on the properties/methods I use, apparently :)
Thanks guys, the fix will be pushed in production today!
Cool, seems to be saving the setting now in Firefox. Thank you for fixing this.
You're welcome!