Closed
Bug 1133277
Opened 10 years ago
Closed 10 years ago
Remove nonstandard let blocks and some legacy generators from toolkit/components and modules
Categories
(Toolkit :: General, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
(deleted),
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
let blocks are a nonstandard SpiderMonkey feature we would like to remove (in bug 1023609).
Attachment #8564653 -
Flags: review?(mak77)
Comment 1•10 years ago
|
||
Comment on attachment 8564653 [details] [diff] [review]
remove-let-blocks.patch
Review of attachment 8564653 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/places/tests/network/head_network.js
@@ +13,5 @@
>
> // Import common head.
> +let commonFile = do_get_file("../head_common.js", false);
> +let uri = Services.io.newFileURI(commonFile);
> +Services.scriptloader.loadSubScript(uri.spec, this);
any reason to not keep this consistent with the other heads (thus in a scope)?
::: toolkit/components/places/tests/unit/test_getPlacesInfo.js
@@ +55,5 @@
> add_task(test_getPlacesInfoNonExistentPlace);
>
> function test_promisedHelper() {
> + let uri = NetUtil.newURI("http://www.helper_existent_example.tld");
> + yield PlacesTestUtils.addVisits(uri);
while here please decorate this function as a generator
@@ +90,5 @@
>
> function test_mixed_selection() {
> let placeInfo1, placeInfo2;
> + let uri = NetUtil.newURI("http://www.mixed_selection_test_1.tld");
> + yield PlacesTestUtils.addVisits(uri);
ditto
Attachment #8564653 -
Flags: review?(mak77) → review+
Assignee | ||
Comment 2•10 years ago
|
||
Thanks! I added back the scope head_network.js and decorated the generator functions.
https://hg.mozilla.org/integration/mozilla-inbound/rev/4c7c8d030d08
Assignee | ||
Updated•10 years ago
|
Blocks: 1083482
Summary: Remove nonstandard let blocks from toolkit/components and modules → Remove nonstandard let blocks and some legacy generators from toolkit/components and modules
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•