Closed Bug 1006566 Opened 11 years ago Closed 11 years ago

Unify the common DataStore tests between the main thread and the worker thread.

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: airpingu, Assigned: airpingu)

References

Details

Attachments

(3 files)

After fixing bug 1006562: is(cursor.store, gStore, "Cursor.store is the store"); we can then unify the common part between: 1. file_basic.html and file_basic_worker.js 2. file_sync.html and file_sync_worker.js
To make no difference for the tests between the main thread and the worker, so that we can refactorize them later.
Attachment #8420779 - Flags: review?(amarchesini)
This is the main fix. In the worker, we can use the dedicated importScripts(...) to import the needed JS file.
Attachment #8420780 - Flags: review?(amarchesini)
I didn't align the codes in the previous patches for your convenience of reviews, which are eventually aligned in this patch. ;)
Attachment #8420781 - Flags: review?(amarchesini)
Attachment #8420779 - Flags: review?(amarchesini) → review+
Attachment #8420780 - Flags: review?(amarchesini) → review+
Attachment #8420781 - Flags: review?(amarchesini) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: