Webapp runtime does not show form validation error popups

RESOLVED WONTFIX

Status

defect
P2
normal
RESOLVED WONTFIX
6 years ago
3 years ago

People

(Reporter: jeroen, Unassigned)

Tracking

26 Branch
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

6 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206145833

Steps to reproduce:

Create a webapp with a form with HTML5 form validation.


Actual results:

The webapp runtime does not show form validation error popups - instead, the form is submitted (even though the invalid fields correctly show a red boundary).


Expected results:

Form validation error popups should be shown like in normal Firefox browsing.

To fix this, browser.xul and browser.js should match more closely with webapp.xul and webapp.js. See bug 961377 comment 4. Unlike bug 961377, this bug unfortunately involves copying more code than just a few lines, so perhaps it would be more convenient to have a shared include or something for the browser and the webapprt.

As a temporary workaround for apps, apps could probably detect invalid form input using HTML5 DOM methods and block form submission themselves.
Reporter

Updated

6 years ago
Component: Untriaged → Webapp Runtime
OS: Linux → All
Hardware: x86 → All
Priority: -- → P2
Reporter

Updated

5 years ago
Blocks: 344614
Blocks: 1111077
Per bug 1238079, we're going to disable the desktop web runtime and remove it from the codebase, so we won't fix these bugs in it.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.