Closed
Bug 1366448
Opened 8 years ago
Closed 8 years ago
Permaorange in browser_force_process_selector.js when Gecko 55 merges to mozilla-beta on 2017-06-12
Categories
(Testing :: Mochitest, defect)
Tracking
(firefox-esr45 unaffected, firefox-esr52 unaffected, firefox53 unaffected, firefox54 unaffected, firefox55blocking fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox-esr45 | --- | unaffected |
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | blocking | fixed |
People
(Reporter: philor, Assigned: mrbkap)
References
Details
Attachments
(1 file)
Apparently the process described in https://hg.mozilla.org/mozilla-central/annotate/8d60d0f825110cfb646ac31dc16dc011708bcf34/dom/base/test/browser_force_process_selector.js#l17 is a nightly-only process, because when browser_force_process_selector.js hits beta in three weeks, it's going to be permaorange with an unexpected pass like https://treeherder.mozilla.org/logviewer.html#?job_id=100612603&repo=try
[Tracking Requested - why for this release]: potential merge permaorange, potential closed tree, potential delayed b1.
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(mrbkap)
Comment 1•8 years ago
|
||
marking as blocking 55.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mrbkap
Flags: needinfo?(mrbkap)
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8870615 [details]
Bug 1366448 - Fix assumptions in this test so it works across branches.
https://reviewboard.mozilla.org/r/142068/#review146426
Looks okay - just two notes. Thanks!
::: commit-message-96e18:1
(Diff revision 1)
> +Bug 1366448 - Use a better method to ensure we're doing the right thing. r=mconley
I think this commit message could probably be a little clearer about:
a) Why this method is better
b) What the "right thing" is.
::: dom/base/test/browser_force_process_selector.js:8
(Diff revision 1)
> + let processCreated = new Promise(resolve => {
> + Services.obs.addObserver(function observer(subject, topic, data) {
> + is(topic, CONTENT_CREATED, "got the right topic");
> + Services.obs.removeObserver(observer, topic);
> + resolve();
> + }, CONTENT_CREATED)
> + });
I believe you can use TestUtils.topicObserved for this - example:
```js
let processCreated = TestUtils.topicObserved(CONTENT_CREATED);
```
Attachment #8870615 -
Flags: review?(mconley) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8870615 [details]
Bug 1366448 - Fix assumptions in this test so it works across branches.
https://reviewboard.mozilla.org/r/142068/#review146426
> I believe you can use TestUtils.topicObserved for this - example:
>
> ```js
>
> let processCreated = TestUtils.topicObserved(CONTENT_CREATED);
>
> ```
I thought this existed somewhere but couldn't find it. Thanks!
Pushed by mrbkap@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43dffb5a0052
Fix assumptions in this test so it works across branches. r=mconley
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•7 years ago
|
Component: BrowserTest → Mochitest
You need to log in
before you can comment on or make changes to this bug.
Description
•