Closed Bug 1321217 Opened 8 years ago Closed 8 years ago

Remove legacy generator from docshell/.

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

Just replaced legacy generator with ES6 generator.

some notes:
* docshell/test/browser/browser_bug349769.js
  |checkContentProcess| wasn't called properly.
  added |newBrowser| parameter, and also just returned ContentTask.spawn result.

* docshell/test/chrome/bug112564_window.xul and some tests
  ES6 generator doesn't throw StopIteration.
  also, we can just finish the test within testsIterator, instead of checking return value.

* docshell/test/test_bug475636.html
  ES6 generator doesn't have |send|, but |next| receives a value
Attachment #8815632 - Flags: review?(bugs)
Comment on attachment 8815632 [details] [diff] [review]
Remove legacy generator from docshell/.

rs+
Make sure we run as many test assertions with and without this patch.
Attachment #8815632 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/43472882f637
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: