Closed Bug 1270998 Opened 8 years ago Closed 8 years ago

Intermittent browser_aboutURLs.js | This test exceeded the timeout threshold. It should be rewritten or split up.

Categories

(Core :: DOM: Security, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: KWierso, Assigned: allstars.chh)

References

Details

(Keywords: intermittent-failure, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

Assignee: nobody → allstars.chh
Attached patch Patch.Splinter Review
Hi Jonas
I've found out the top 5 of the URLs that will take up most of the time,
they are
"about:addons", "about:healthreport", "about:debugging", "about:downloads", and "about:support".

However even I tried to remove them and re-run the tests, the tests still have some *intermittent* timeouts, so in the end I just increased the timeout.

Since you review the original test in Bug 1266022, can you review this test again?

Thanks
Attachment #8750174 - Flags: review?(jonas)
Whiteboard: [domsecurity-intermittent]
Status: NEW → ASSIGNED
Comment on attachment 8750174 [details] [diff] [review]
Patch.

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

I don't know enough about this code to review. I suggest asking someone that's working on the contextual identity feature.
Attachment #8750174 - Flags: review?(jonas)
Comment on attachment 8750174 [details] [diff] [review]
Patch.

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

Hi, Tanvi
Please see the explanation from Comment 1.

Thanks
Attachment #8750174 - Flags: review?(tanvi)
Is this test just loading about: urls to ensure that they don't hit a crash?  What usercontextId are the about: pages loaded in?
(In reply to Tanvi Vyas - behind on reviews [:tanvi] from comment #5)
> Is this test just loading about: urls to ensure that they don't hit a crash?
yes

> What usercontextId are the about: pages loaded in?
https://dxr.mozilla.org/mozilla-central/source/browser/components/contextualidentity/test/browser/browser_aboutURLs.js#35

{userContextId: 1}
Comment on attachment 8750174 [details] [diff] [review]
Patch.

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

::: browser/components/contextualidentity/test/browser/browser_aboutURLs.js
@@ +1,5 @@
> +"use strict";
> +
> +// For some about: URLs, they will take more time to load and cause timeout.
> +// See Bug 1270998.
> +requestLongerTimeout(2);

Seems good to me. Wondering why some about URLs are so slow.
Attachment #8750174 - Flags: review?(tanvi) → review+
(In reply to Andrea Marchesini (:baku) from comment #7)
> Seems good to me. Wondering why some about URLs are so slow.
Thanks for the review, I'm also surprised that those URLs will take that long time, unfortunally I don't have enough time to check this now, will do some investigation after work week.
https://hg.mozilla.org/mozilla-central/rev/9e65f2d5332c
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: