Closed Bug 755509 Opened 12 years ago Closed 12 years ago

Add tests to ensure that deleteDatabase sets undefined success result

Categories

(Core :: Storage: IndexedDB, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: khuey, Assigned: khuey)

References

Details

Attachments

(2 files)

      No description provided.
This is just moving code around.
Assignee: nobody → khuey
Status: NEW → ASSIGNED
Attachment #624892 - Flags: review?(jonas)
https://hg.mozilla.org/mozilla-central/rev/1143cf39246f
https://hg.mozilla.org/mozilla-central/rev/38c9289bdf6d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
OS: Windows 7 → All
Hardware: x86_64 → All
Resolution: --- → FIXED
Summary: deleteDatabase should set undefined success result → Add tests to ensure that deleteDatabase sets undefined success result
Target Milestone: --- → mozilla15
Version: unspecified → Trunk
Comment on attachment 624894 [details] [diff] [review]
Part 2: Test explicitly for undefined.

>-  is(event.target.result, null, "event should have no result");
>+  ok(event.target.result === undefined, "event should have no result");
ise(event.target.result, undefined, "event should have undefined result");
No, is does ==, not ===.
The 'ise' instead of 'is' was not a typo; 'ise' does use ===
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: