← Back to team overview

touch-packages team mailing list archive

[Bug 1324855] Re: Instantiating an UbuntuWebView warns about setting WebContext.dataPath once the context is in use

 

** Description changed:

  To observe, run the following example QML scene:
  
-   import Ubuntu.Components.Extras.Browser 0.2
-   UbuntuWebView {}
+   import Ubuntu.Web 0.2
+   WebView {}
  
  Notice the following warnings printed out on the console:
  
-   UserScript url is a construct-only parameter
-   Cannot set WebContext.sessionCookieMode once the context is in use
-   Cannot set WebContext.dataPath once the context is in use
+   OxideQQuickWebContext: Cannot set hostMappingRules once the context is in use
+   OxideQQuickWebContext: Cannot set devToolsBindIp once the context is in use
+   OxideQQuickWebContext: Cannot set devToolsPort once the context is in use
+   OxideQQuickWebContext: Cannot set devToolsEnabled once the context is in use
+   OxideQQuickUserScript: url is a construct-only parameter
+   OxideQQuickUserScript: url is a construct-only parameter
+   OxideQQuickUserScript: url is a construct-only parameter
+   OxideQQuickUserScript: url is a construct-only parameter
+   OxideQQuickWebContext::Cannot set sessionCookieMode once the context is in use
+   OxideQQuickWebContext: Cannot set dataPath once the context is in use
+   OxideQQuickWebContext:: Cannot set cachePath once the context is in use
  
- Those warnings appear to be harmless as everything still works, and I
- have verified that the shared context is indeed a singleton (and that
- only one context is being instantiated during the whole lifetime of the
- application).
+ 
+ Those warnings appear to be harmless as everything still works, and I have verified that the shared context is indeed a singleton (and that only one context is being instantiated during the whole lifetime of the application).

** Also affects: webbrowser-app (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: webbrowser-app (Ubuntu)
       Status: New => Triaged

** Changed in: webbrowser-app (Ubuntu)
   Importance: Undecided => Low

** Changed in: webbrowser-app (Ubuntu)
     Assignee: (unassigned) => Olivier Tilloy (osomon)

** No longer affects: webbrowser-app

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1324855

Title:
  Instantiating an UbuntuWebView warns about setting WebContext.dataPath
  once the context is in use

Status in webbrowser-app package in Ubuntu:
  Triaged

Bug description:
  To observe, run the following example QML scene:

    import Ubuntu.Web 0.2
    WebView {}

  Notice the following warnings printed out on the console:

    OxideQQuickWebContext: Cannot set hostMappingRules once the context is in use
    OxideQQuickWebContext: Cannot set devToolsBindIp once the context is in use
    OxideQQuickWebContext: Cannot set devToolsPort once the context is in use
    OxideQQuickWebContext: Cannot set devToolsEnabled once the context is in use
    OxideQQuickUserScript: url is a construct-only parameter
    OxideQQuickUserScript: url is a construct-only parameter
    OxideQQuickUserScript: url is a construct-only parameter
    OxideQQuickUserScript: url is a construct-only parameter
    OxideQQuickWebContext::Cannot set sessionCookieMode once the context is in use
    OxideQQuickWebContext: Cannot set dataPath once the context is in use
    OxideQQuickWebContext:: Cannot set cachePath once the context is in use

  
  Those warnings appear to be harmless as everything still works, and I have verified that the shared context is indeed a singleton (and that only one context is being instantiated during the whole lifetime of the application).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1324855/+subscriptions