-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close the page in the text layer caret selection integration test #18317
Close the page in the text layer caret selection integration test #18317
Conversation
This integration test is currently the only one that spawns a separate browser instance. However, while it closes the browser once it's done, it doesn't close the page (and therefore doesn't call the `testingClose` method) like the other integration tests do. This commit fixes this difference by closing the page before closing the browser, thereby ensuring all regular cleanup logic gets called and we avoid (intermittent) shutdown tracebacks in the logs. This allows upcoming integration tests that spawn a separate browser instance to reuse this pattern to cleanly end the test. Given that we integrate the `closeSinglePage` code from mozilla#17962 for this patch, @calixteman is credited as the co-author. Co-authored-by: Calixte Denizet <calixte.denizet@gmail.com>
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/ef2d91320447d63/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/82a64abe6bc496e/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/ef2d91320447d63/output.txt Total script time: 29.22 mins
Image differences available at: http://54.241.84.105:8877/ef2d91320447d63/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/82a64abe6bc496e/output.txt Total script time: 44.49 mins
Image differences available at: http://54.193.163.58:8877/82a64abe6bc496e/reftest-analyzer.html#web=eq.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, thank you!
This integration test is currently the only one that spawns a separate browser instance. However, while it closes the browser once it's done, it doesn't close the page (and therefore doesn't call the
testingClose
method) like the other integration tests do.This commit fixes this difference by closing the page before closing the browser, thereby ensuring all regular cleanup logic gets called and we avoid (intermittent) shutdown tracebacks in the logs. This allows upcoming integration tests that spawn a separate browser instance to reuse this pattern to cleanly end the test.
Given that we integrate the
closeSinglePage
code from #17962 for this patch, @calixteman is credited as the co-author.