Closed Bug 1005461 Opened 10 years ago Closed 8 years ago

Migrate dom/tests/mochitest/webapps tests to dom/apps/tests

Categories

(Core Graveyard :: DOM: Apps, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1242899

People

(Reporter: marco, Unassigned)

Details

dom/tests/mochitest/webapps tests are only run on Desktop. We should migrate them to dom/apps/tests to allow running them also on b2g and Android.

We need to:
1) Make test_bug_765063.xul a browser mochitest (because it depends on the browser interface)
2) Write a browser mochitest that tests installing an app with the user confirming the prompt (it would be a subset of test_install_app.xul)
3) Write a browser mochitest that tests installing an app with the user not confirming the prompt (so we actually need to check that the app isn't installed)
4) Migrate all the other tests to dom/apps/tests, using SpecialPowers.autoConfirmAppInstall instead of the confirmNextInstall function that fiddles with the browser UI (that is in head.js)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.