Closed Bug 1338255 Opened 7 years ago Closed 7 years ago

Remove remaining legacy generator from js/xpconnect/.

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

remainder of bug 1321222
Summary: Remove legacy generator from js/xpconnect/. → Remove remaining legacy generator from js/xpconnect/.
changed testBody to async function, and moved do_test_finished call to head_watchdog.js.
also removed continueTest by replacing the callsite to use promise.
Attachment #8835789 - Flags: review?(bobbyholley)
Attachment #8835789 - Flags: review?(bobbyholley) → review+
Comment on attachment 8835789 [details] [diff] [review]
Remove remaining legacy generator from js/xpconnect/tests/.

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

::: js/xpconnect/tests/unit/head_watchdog.js
@@ +99,5 @@
>  
>    // Run async.
>    do_test_pending();
>  
>    // Instantiate the generator and kick it off.

What generator?
Thank you for reviewing :)

(In reply to :Ms2ger (⌚ UTC+1/+2) from comment #2)
> Comment on attachment 8835789 [details] [diff] [review]
> Remove remaining legacy generator from js/xpconnect/tests/.
> 
> Review of attachment 8835789 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: js/xpconnect/tests/unit/head_watchdog.js
> @@ +99,5 @@
> >  
> >    // Run async.
> >    do_test_pending();
> >  
> >    // Instantiate the generator and kick it off.
> 
> What generator?

good catch :)
replaced with "// Run the async function."
https://hg.mozilla.org/integration/mozilla-inbound/rev/dc113a0cbbade1d134d55dc531b79f255da86348
Bug 1338255 - Remove remaining legacy generator from js/xpconnect/tests/. r=bholley
https://hg.mozilla.org/mozilla-central/rev/dc113a0cbbad
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Depends on: 1447856
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: