Closed Bug 985318 Opened 10 years ago Closed 10 years ago

Convert to Promise.jsm in the Toolkit "content" folder

Categories

(Toolkit :: General, 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 conversion required some changes in the front-end tests as well, since contentAreaUtils.js is included there.

A limited tryserver run is green with the test changes:

https://tbpl.mozilla.org/?tree=Try&rev=dbf37dc5d515
Attachment #8393353 - Flags: review?(mak77)
Comment on attachment 8393353 [details] [diff] [review]
The patch

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

ugh, so the searchbar is reusing the Promise module imported from contentAreaUtils? ugh, that sucks from a modularity of code point of view, we should fix bug 619418 soon or later (if not that it will probably break add-ons :( )

::: browser/components/customizableui/test/browser_901207_searchbar_in_panel.js
@@ +84,5 @@
>  
>    let chevron = document.getElementById("nav-bar-overflow-button");
>    yield waitForCondition(function() chevron.open);
> +
> +  yield waitForSearchBarFocus();

"let searchbar" is no more useful for this test (you removed the only usage)
Attachment #8393353 - Flags: review?(mak77) → review+
https://hg.mozilla.org/mozilla-central/rev/a1945d5e465f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Blocks: 996671
No longer blocks: 856878
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: