← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1457743] Re: qml-core-test::WebView_scriptMainWorld is flaky

 

** Also affects: webapps-sprint
   Importance: Undecided
       Status: New

** Changed in: webapps-sprint
    Milestone: None => sprint-11

** Changed in: webapps-sprint
   Importance: Undecided => High

** Changed in: webapps-sprint
     Assignee: (unassigned) => Alexandre Abreu (abreu-alexandre)

-- 
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/1457743

Title:
  qml-core-test::WebView_scriptMainWorld is flaky

Status in Oxide Webview:
  Confirmed
Status in Webapps Team Task Tracking Project:
  New

Bug description:
  When running unit tests on trunk on my desktop, I’m regularly seeing
  the following test failure:

  2: PASS   : qml-core-test::WebView_scriptMainWorld::initTestCase()
  2: [0522/074536:ERROR:renderer_main.cc(200)] Running without renderer sandbox
  2: 127.0.0.1 - - [22/May/2015 07:45:36] "GET /tst_WebView_scriptMainWorld.html HTTP/1.1" 200 -
  2: 127.0.0.1 - - [22/May/2015 07:45:36] "GET /empty.html HTTP/1.1" 200 -
  2: [0522/074536:ERROR:oxide_user_script_slave.cc(114)] Could not get a proper message manager for frame: 0x1d81cc24540 while trying to inject script in main world
  2: PASS   : qml-core-test::WebView_scriptMainWorld::test_WebView_canInjectInMainWorldWithOxideApi()
  2: 127.0.0.1 - - [22/May/2015 07:45:36] "GET /tst_WebView_scriptMainWorld.html HTTP/1.1" 200 -
  2: 127.0.0.1 - - [22/May/2015 07:45:36] "GET /empty.html HTTP/1.1" 200 -
  2: [0522/074536:ERROR:oxide_user_script_slave.cc(114)] Could not get a proper message manager for frame: 0x1d81cc24620 while trying to inject script in main world
  2: PASS   : qml-core-test::WebView_scriptMainWorld::test_WebView_receiveMessageFromMainWorldUserscript()
  2: 127.0.0.1 - - [22/May/2015 07:45:36] "GET /tst_WebView_scriptMainWorld.html HTTP/1.1" 200 -
  2: 127.0.0.1 - - [22/May/2015 07:45:36] "GET /empty.html HTTP/1.1" 200 -
  2: [0522/074536:ERROR:oxide_user_script_slave.cc(114)] Could not get a proper message manager for frame: 0x1d81cc24540 while trying to inject script in main world
  2: FAIL!  : qml-core-test::WebView_scriptMainWorld::test_WebView_verifyRegularMainWorldScriptDoesNotHaveAccessToOxideApi() Unexpected result message
  2:    Actual   (): Main world content script found oxide.sendMessage
  2:    Expected (): Main world content script DID NOT found oxide.sendMessage
  2:    Loc: [/home/osomon/dev/phablet/oxide/trunk/qt/tests/qmltests/core/tst_WebView_scriptMainWorld.qml(79)]
  2: PASS   : qml-core-test::WebView_scriptMainWorld::cleanupTestCase()

  It doesn’t happen all the time, but at least 50% of my test runs. I’ve
  seen this failure happen for as long as I can remember, it’s not a
  recent regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1457743/+subscriptions


References