Closed Bug 961502 Opened 10 years ago Closed 7 years ago

Webapp runtime does not show form validation error popups


(Firefox Graveyard :: Webapp Runtime, defect, P2)

26 Branch


(Not tracked)



(Reporter: jeroen, Unassigned)



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.
Component: Untriaged → Webapp Runtime
OS: Linux → All
Hardware: x86 → All
Priority: -- → P2
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.
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.