Random test failures "Could not find a script context to deliver the message to"

Bug #1464621 reported by Chris Coulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
Triaged
Medium
Chris Coulson

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.

Changed in oxide:
importance: Undecided → Medium
status: New → Triaged
description: updated
Changed in oxide:
milestone: none → branch-1.11
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in oxide:
milestone: branch-1.11 → branch-1.12
Changed in oxide:
milestone: branch-1.12 → branch-1.13
Changed in oxide:
milestone: branch-1.13 → branch-1.15
Changed in oxide:
milestone: branch-1.15 → branch-1.16
Changed in oxide:
milestone: branch-1.16 → branch-1.17
Changed in oxide:
milestone: branch-1.17 → branch-1.18
Changed in oxide:
milestone: branch-1.18 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.