Closed Bug 682416 Opened 13 years ago Closed 8 years ago

Make dom/ mochitests pass in fennec

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jdm, Unassigned)

References

Details

Attachments

(6 files)

Through a combination of SpecialPowers APIs and elbow grease we shall prevail.
Every test in dom/test/mochitest/ajax/offline fails because offlineTests.js is a huge mess of privileged code that doesn't have a SpecialPowers equivalent yet. This needs solving one way or another.
dom/tests/mochitest/bugs has a lot of tests that use showModalDialog and therefore fail.
Depends on: 679841
Depends on: 683245
dom/tests/mochitest/bugs/test_bug427744.html should probably not run if plugin.disable is true, as it is for non-maemo platforms on mobile.
dom/tests/mochitest/bugs/test_bug61098.html registers a mock prompt service and factory, which makes me want to cry.
Depends on: 683259
Depends on: 683262
dom/tests/mochitest/whatwg/test_bug500328.html uses SpecialPowers.isBackButtonEnabled which calls SpecialPowers private APIs that don't work in e10s (and have comments indicating that much).
Depends on: 683264
Depends on: 621362
Depends on: 683275
The above comments and blocking bugs indicate test failures that these patches do not address. Furthermore, these patches are still based on the existing SpecialPowers.setXPref infrastructure, so they'll need to be rewritten to use the new SpecialPowers.pushPrefEnv API when that lands.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: