ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #03166
[Bug 1464621] [NEW] Random test failures "Could not find a script context to deliver the message to"
Public bug reported:
We've been getting random failures like this since pretty much forever:
FAIL! : qml-api-test::WebView_save_restore_state::test_WebView_save_and_restore_scroll_offset(row 0) Uncaught exception: Could not find a script context to deliver the message to
Loc: [(0)]
I *think* what is happening is that the test executes before the browser
process has loaded and serialized the TestUtilsSlave.js user script,
which happens asynchronously when creating TestWebContext. The issue is
exacerbated in this particular test because it creates each TestWebView
with a new TestWebContext.
** Affects: oxide
Importance: Medium
Status: Triaged
** Changed in: oxide
Importance: Undecided => Medium
** Changed in: oxide
Status: New => Triaged
** Description changed:
We've been getting random failures like this since pretty much forever:
FAIL! : qml-api-test::WebView_save_restore_state::test_WebView_save_and_restore_scroll_offset(row 0) Uncaught exception: Could not find a script context to deliver the message to
- Loc: [(0)]
+ Loc: [(0)]
I *think* what is happening is that the test executes before the browser
process has loaded and serialized the TestUtilsSlave.js user script,
- which happens asynchronously. The issue is exacerbated in this
- particular test because it creates each TestWebView with a new
- TestWebContext.
+ which happens asynchronously when creating TestWebContext. The issue is
+ exacerbated in this particular test because it creates each TestWebView
+ with a new TestWebContext.
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1464621
Title:
Random test failures "Could not find a script context to deliver the
message to"
Status in Oxide Webview:
Triaged
Bug description:
We've been getting random failures like this since pretty much
forever:
FAIL! : qml-api-test::WebView_save_restore_state::test_WebView_save_and_restore_scroll_offset(row 0) Uncaught exception: Could not find a script context to deliver the message to
Loc: [(0)]
I *think* what is happening is that the test executes before the
browser process has loaded and serialized the TestUtilsSlave.js user
script, which happens asynchronously when creating TestWebContext. The
issue is exacerbated in this particular test because it creates each
TestWebView with a new TestWebContext.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1464621/+subscriptions
Follow ups
References