Closed Bug 1226311 Opened 9 years ago Closed 9 years ago

Remove SpecialPowers.isMainProcess() tests from IndexedDB

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(2 files)

There are a number of tests in the dom/indexedDB/test/ directory that detect if they are running in the main process, and if they are, they just don't do anything. All of that code should be removed and replaced with skip-if annotations in the mochitest.ini file, so that it is easier to tell that these tests don't do anything.
Assignee: nobody → continuation
Summary: Skip IndexedDB tests that don't do anything with e10s → Remove SpecialPowers.isMainProcess() tests from IndexedDB
isMainProcess() is used in a few places to disable tests when run in a
content process. However, these tests are either never run in e10s or
pass when run with e10s, so remove all of the testing code. Some of
this was to work around issues with test_ipc.html which does not seem
to exist any more.

This patch also removes some code for disabling a test on Windows 2003.
Attachment #8691646 - Flags: review?(Jan.Varga)
Comment on attachment 8691645 [details] [diff] [review]
part 1 - Remove some obsolete includes for test_ipc.html in indexeddb.

Review of attachment 8691645 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8691645 - Flags: review?(Jan.Varga) → review+
Comment on attachment 8691646 [details] [diff] [review]
part 2 - Remove SpecialPowers.isMainProcess usage from various IndexedDB tests.

Review of attachment 8691646 [details] [diff] [review]:
-----------------------------------------------------------------

The try push has some problems but it seems it's not related to these two patches.
Attachment #8691646 - Flags: review?(Jan.Varga) → review+
https://hg.mozilla.org/mozilla-central/rev/44d659497cb9
https://hg.mozilla.org/mozilla-central/rev/f5d820b790a0
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: