Closed Bug 991738 Opened 10 years ago Closed 10 years ago

Fix "test_markpageas.js" before switching Task.jsm to use Promise.jsm

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: Paolo, Assigned: Paolo)

References

Details

Attachments

(1 file)

Attached patch The patchSplinter Review
This patch cleans up the Places test named "test_markpageas.js".

This is required before switching Task.jsm to use Promise.jsm.
Attachment #8401352 - Flags: review?(mak77)
Comment on attachment 8401352 [details] [diff] [review]
The patch

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

::: toolkit/components/places/tests/unit/test_markpageas.js
@@ +22,5 @@
> +  let completionPromise = new Promise(resolveCompletionPromise => {
> +    observer = {
> +      _visitCount: 0,
> +      onBeginUpdateBatch: function () {},
> +      onEndUpdateBatch: function() {},

may use NavHistoryObserver.prototype
Attachment #8401352 - Flags: review?(mak77) → review+
Pushed with the suggested change:

https://hg.mozilla.org/integration/fx-team/rev/069251b56355
https://hg.mozilla.org/mozilla-central/rev/069251b56355
Assignee: nobody → paolo.mozmail
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Blocks: 996671
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: