[Ubuntu-webapps-bugs] [Bug 1399208] Re: Adapt tests to be able to run in single process mode
** Changed in: oxide Status: Triaged => Fix Released ** Changed in: oxide Assignee: (unassigned) => Chris Coulson (chrisccoulson) ** Changed in: oxide Milestone: None => branch-1.15 -- 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/1399208 Title: Adapt tests to be able to run in single process mode Status in Oxide: Fix Released Bug description: In order to make single-process mode a supported process model for Oxide, we need to run the existing unit tests in single-process mode too. However, there are some challenges for this - the main one being that the tests must make use of the singleton WebContext in single- process mode To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1399208/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1568145] [NEW] Oxide doesn't properly report the front/back position for enumerated video devices
Public bug reported: In Oxide's video device enumeration code using libhybris, http://bazaar.launchpad.net/~oxide- developers/oxide/oxide.trunk/view/head:/shared/browser/media/oxide_video_capture_device_factory_linux.cc#L46 the device facing position is "encoded" as a string and passed down to the content layer when creating the VCD name: http://bazaar.launchpad.net/~oxide- developers/oxide/oxide.trunk/view/head:/shared/browser/media/oxide_video_capture_device_factory_linux.cc#L82 This name is then used when creating the MEdiaStreamDevice that serves as a backend for the capture device https://git.launchpad.net/~oxide- developers/oxide/+git/chromium/tree/content/browser/renderer_host/media/video_capture_manager.cc#n842 This then creates a MEdiaStreamDevice based on that positional name https://git.launchpad.net/~oxide- developers/oxide/+git/chromium/tree/content/public/common/media_stream_request.cc#n29 but : 1. the code is #ifdef'd to Android which get its info from https://git.launchpad.net/~oxide- developers/oxide/+git/chromium/tree/media/capture/video/android/java/src/org/chromium/media/VideoCaptureAndroid.java#n58 2. the spelling used (in the android case) is lower case "front", The result is that no matter what camera we are using we get an 'unspecified' as the camera position on the API side, ** Affects: oxide Importance: High Assignee: Alexandre Abreu (abreu-alexandre) Status: In Progress ** Changed in: oxide Assignee: (unassigned) => Alexandre Abreu (abreu-alexandre) ** Changed in: oxide Importance: Undecided => High ** Changed in: oxide Status: New => In Progress -- 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/1568145 Title: Oxide doesn't properly report the front/back position for enumerated video devices Status in Oxide: In Progress Bug description: In Oxide's video device enumeration code using libhybris, http://bazaar.launchpad.net/~oxide- developers/oxide/oxide.trunk/view/head:/shared/browser/media/oxide_video_capture_device_factory_linux.cc#L46 the device facing position is "encoded" as a string and passed down to the content layer when creating the VCD name: http://bazaar.launchpad.net/~oxide- developers/oxide/oxide.trunk/view/head:/shared/browser/media/oxide_video_capture_device_factory_linux.cc#L82 This name is then used when creating the MEdiaStreamDevice that serves as a backend for the capture device https://git.launchpad.net/~oxide- developers/oxide/+git/chromium/tree/content/browser/renderer_host/media/video_capture_manager.cc#n842 This then creates a MEdiaStreamDevice based on that positional name https://git.launchpad.net/~oxide- developers/oxide/+git/chromium/tree/content/public/common/media_stream_request.cc#n29 but : 1. the code is #ifdef'd to Android which get its info from https://git.launchpad.net/~oxide- developers/oxide/+git/chromium/tree/media/capture/video/android/java/src/org/chromium/media/VideoCaptureAndroid.java#n58 2. the spelling used (in the android case) is lower case "front", The result is that no matter what camera we are using we get an 'unspecified' as the camera position on the API side, To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1568145/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1568089] [NEW] Measure webview cost when switching tabs in the browser
Public bug reported: Chrome/Mac uses a browser compositor per RWHV, and seems to have some logic to recycle compositors when switching tabs. In Oxide, when the browser switches between tabs, we destroy the compositor and GL context for the outgoing webview and then create new ones from scratch for the incoming webview. It would be worth measuring the cost of this, especially on the phone. It might be worth trying to recycle them in Oxide too. ** Affects: oxide Importance: Medium Status: Triaged ** Changed in: oxide Importance: Undecided => Medium ** Changed in: oxide Status: New => Triaged -- 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/1568089 Title: Measure webview cost when switching tabs in the browser Status in Oxide: Triaged Bug description: Chrome/Mac uses a browser compositor per RWHV, and seems to have some logic to recycle compositors when switching tabs. In Oxide, when the browser switches between tabs, we destroy the compositor and GL context for the outgoing webview and then create new ones from scratch for the incoming webview. It would be worth measuring the cost of this, especially on the phone. It might be worth trying to recycle them in Oxide too. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1568089/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1342031] Re: Rename QML modules to follow qml-module-foo naming
This bug was fixed in the package ubuntu-ui-toolkit - 1.3.1918+16.04.20160404-0ubuntu1 --- ubuntu-ui-toolkit (1.3.1918+16.04.20160404-0ubuntu1) xenial; urgency=medium [ Benjamin Zeller ] * Register expected warning messages in the tree testcase. * Add testsuite for Tree. Fixes LP: #1549171. * Compile with Qt 5.6. Fixes LP: #1540356 * More Qt 5.6 fixes. [ Michael Terry ] * Add grabGesture field to SwipeArea. * This field controls whether the SwipeArea takes ownership of the gestures it observes. Fixes LP: #1527387. [ Timo Jyrinki ] * Add additional Breaks as requested by archive admin. * Add a test for blocking if packaging not sorted and clean. * More package name transitioning, wrap and sort, fix debian/copyright syntax, update standards-version, fix devel package sections and add/fix lintian-overrides. [ Olivier Tilloy ] * Fix dependencies of the transitional dummy package qtdeclarative5-ubuntu-ui-toolkit-plugin. Fixes LP: #1553551. [ Christian Dywan ] * Rename qtdeclarative5-*-plugin to qml-module-*. Fixes LP: #1342031. * Require a qtdeclarative5 known to have the tab fence patch. * Reset previous theme version and use UbuntuTestCase in tst_animator. * BottomEdge(Hint) focus and close via keyboard. Fixes LP: #1523825 * Add 1.3 version of UbuntuTestCase. * No gdb when running unit tests on armv7l. * Build-depend on python3-debian for wrap-and-sort. [ XiaoGuo Liu ] * Fix AdaptivePageLayout documentation. [ Tim Peeters ] * Properly disable left/right arrows on sections when at the beginning/end of the list. Fixes LP: #1551356. * Sections and old AppHeader landscape mode. Fixes LP: #1551341. * Set the window color as soon as the window is available, to avoid a flickering background when it is updated later. Fixes LP: #1439133, LP: #1554897 * Add theme, style and styleName properties to Dialog and Popover. Fixes LP: #148 * Update the gallery script to use the new name of the export script. * Export the full list of library paths. * Prevent Page geometry changes in APL when changing Pages in a column. * Fix typo in DatePickerStyle. Fixes: LP #1561440. [ Zsombor Egri ] * ListItem focus navigation in ListView and other views. Fixes LP: #1523815, LP: #1536679, LP: #1549733, LP: #1549743 * BorromEdge.preloadContent. Fixes LP: #1540454. * Asynchronous loader (AsyncLoader) using incubator, prerequisite for BottomEdge preloading its content. Fixes LP: #1540454. * ListView proxy should not consume up/down key events. Fixes LP: #1554447 * Pick up the right style. Fixes LP: #1555797 * Label makes sure the color alteration is known by the theming. Fixes LP: #1555784 * Fix AsyncLoader tests so they create slightly less amount of elements. * AdaptivePageLayout removes all pages pushed to next columns when addPageToNextColumn() is called. Fixes LP: #1544745 * Fix BottomEdge content discarding. * Disconnect enabled signal in Label in destructor, so functor call will not be handled when QQuickItem triggers enabled change. Fixes LP: #1560044. [ Andrea Bernabei ] * UI Gallery: fix vertical alignment of labels in left panel list items. * ScrollView: add horizontalScrollbar and verticalScrollbar properties to allow custom properties and styling of scrollbars. * Change Scrollbar default top and bottom anchor margins. Tests included. [ Albert Astals Cid ] * Use "/" instead of QDir::separator for building paths that will be passed to Qt. * Some string optimizations in the icon searching code * Improve icon file searching. Leave searching in hicolor to the end. Do not search on icon themes we've already searched. [ Zoltán Balogh ] * Clean up examples. * Improve unit test plan tool [ Florian Boucault ] * Properly disable PerformanceMonitor for toolkit tests only. Re-enable it for everything else. [ Pierre Bertet ] * Fix the lists style in the offline documentation. Fixes LP: #1557472. * Make export_qml_dir.sh compatible with ZSH. [ CI Train Bot ] * No-change rebuild. -- Zoltan BaloghMon, 04 Apr 2016 04:47:18 + ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to cordova-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1342031 Title: Rename QML modules to follow qml-module-foo naming Status in accounts-qml-module package in Ubuntu: Fix Released Status in address-book-app package in Ubuntu: New Status in bacon2d package in Ubuntu: Triaged Status in clickmanager-plugin package in Ubuntu: New Status in content-hub package in Ubuntu: New Status in cordova-ubuntu package in Ubuntu: New Status in dee-qt package in Ubuntu: New Status in gsettings-qt package in Ubuntu: New Status in history-service package in
[Ubuntu-webapps-bugs] [Bug 1567991] [NEW] Loading URL's in to TestWebView is racy
Public bug reported: There are lots of this pattern in tests: webView.url = ; verify(webView.waitForLoadSucceeded()); TestWebView tracks successful loads with qtest_loadsSucceededCount. waitForLoadSucceeded() increments another counter (qtest_expectedLoadsSucceededCount) and waits until they both match. As these counts get out of sync, we have another function - clearLoadEventCounters() which resets all of these. A solution to some test failures is to place calls to this in various places. It might be better to add a new call to TestWebView (loadUrlAndWait, or something like that), which: - Stops pending loads and waits for them to stop. - Loads WebView.url - Waits for the load to succeed. It would probably be easier to make this more reliable and race free. ** Affects: oxide Importance: Undecided Status: New -- 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/1567991 Title: Loading URL's in to TestWebView is racy Status in Oxide: New Bug description: There are lots of this pattern in tests: webView.url = ; verify(webView.waitForLoadSucceeded()); TestWebView tracks successful loads with qtest_loadsSucceededCount. waitForLoadSucceeded() increments another counter (qtest_expectedLoadsSucceededCount) and waits until they both match. As these counts get out of sync, we have another function - clearLoadEventCounters() which resets all of these. A solution to some test failures is to place calls to this in various places. It might be better to add a new call to TestWebView (loadUrlAndWait, or something like that), which: - Stops pending loads and waits for them to stop. - Loads WebView.url - Waits for the load to succeed. It would probably be easier to make this more reliable and race free. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1567991/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1567974] [NEW] tst_LocationBarController is flaky
Public bug reported: I see occasional test failures like this. The failure suggests that the location bar isn't initially displayed when it should be PASS : qml-api-single-process-test::LocationBarController::initTestCase() QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController1_defaults() OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController1_defaults() QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController2_height() OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController2_height() OxideQQuickLocationBarController: height cannot be negative PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController2_height() [0408/154006:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController3_mode_off() OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0408/154006:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing 127.0.0.1 - - [08/Apr/2016 15:40:06] "GET /tst_LocationBarController.html HTTP/1.1" 200 - QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController3_mode_off() OxideQQuickLocationBarController::show: height is not greater than zero QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController3_mode_off() OxideQQuickLocationBarController::hide: height is not greater than zero PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController3_mode_off() QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController4_mode_on(row 0) OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0408/154008:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController4_mode_on(row 0) QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController4_mode_on(row 1) OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0408/154008:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController4_mode_on(row 1) QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController5_on_show(row 0) OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0408/154009:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController5_on_show(row 0) OxideQQuickLocationBarController::show: mode is not ModeAuto PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController5_on_show(row 0) QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController5_on_show(row 1) OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0408/154010:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController5_on_show(row 1) OxideQQuickLocationBarController::show: mode is not ModeAuto PASS : qml-api-single-process-test::LocationBarController::test_LocationBarController5_on_show(row 1) QWARN : qml-api-single-process-test::LocationBarController::test_LocationBarController6_on_hide(row 0) OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0408/154011:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing FAIL! : qml-api-single-process-test::LocationBarController::test_LocationBarController6_on_hide(row 0) 'verify()' returned FALSE. () Loc: [/home/chr1s/src/oxide/oxide/qt/tests/qmltests/api/tst_LocationBarController.qml(434)] QWARN :
[Ubuntu-webapps-bugs] [Bug 1567975] [NEW] webapp-container crash with Oxide 1.14
Public bug reported: The renderer crashes with Oxide 1.14 when launching the webapp- container. The crash occurs in the context of the greasemonkey main world scripts, here is a stack trace: #0 0x7f6d2b87b0ae base::debug::StackTrace::StackTrace() #1 0x7f6d2b87b469 base::debug::(anonymous namespace)::StackDumpSignalHandler() #2 0x7f6d2a8e8cd0 #3 0x7f6d2e44cdf8 blink::beforeCallEnteredCallback() #4 0x7f6d2d03f8b1 v8::internal::Isolate::FireBeforeCallEnteredCallback() #5 0x7f6d2cd11ae8 v8::Script::Run() #6 0x7f6d2cd222ba v8::Script::Run() #7 0x7f6d2b863ed2 oxide::UserScriptSlave::InjectGreaseMonkeyScriptInMainWorld() #8 0x7f6d2b86463f oxide::UserScriptSlave::InjectScripts() #9 0x7f6d2ea9f794 content::RenderFrameImpl::didFinishDocumentLoad() #10 0x7f6d2e008300 blink::FrameLoader::finishedParsing() #11 0x7f6d2d8f0102 blink::Document::finishedParsing() #12 0x7f6d2db4f7de blink::HTMLDocumentParser::end() #13 0x7f6d2db56f98 blink::HTMLDocumentParser::processParsedChunkFromBackgroundParser() #14 0x7f6d2db574da blink::HTMLDocumentParser::pumpPendingSpeculations() #15 0x7f6d2db62c63 _ZN3WTF21PartBoundFunctionImplISt5tupleIJON5blink36CrossThreadWeakPersistentThisPointerINS2_19HTMLParserSchedulerENS_15FunctionWrapperIMS4_FvvEEEJEEclEv #16 0x7f6d2b9ca740 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0NS0_9BindStateINS0_15RunnableAdapterIPFv10scoped_ptrIN7content12DownloadFileESt14default_deleteIS8_ESC_JNS0_13PassedWrapperISB_ENS0_12InvokeHelperILb0EvSE_EEFvvEE3RunEPNS0_13BindStateBaseE #17 0x7f6d2b87cc4d base::debug::TaskAnnotator::RunTask() #18 0x7f6d2e9ee9c3 scheduler::TaskQueueManager::ProcessTaskFromWorkQueue() #19 0x7f6d2e9eef44 scheduler::TaskQueueManager::DoWork() #20 0x7f6d2e9ecd67 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0ELm1ELm2NS0_9BindStateINS0_15RunnableAdapterIMN9scheduler16TaskQueueManagerEFvNS_9TimeTicksEbEEEFvPS7_S8_bEJNS_7WeakPtrIS7_EES8_bEEENS0_12InvokeHelperILb1EvSB_EEFvvEE3RunEPNS0_13BindStateBaseE #21 0x7f6d2b87cc4d base::debug::TaskAnnotator::RunTask() #22 0x7f6d2b898f89 base::MessageLoop::RunTask() #23 0x7f6d2b8995ad base::MessageLoop::DeferOrRunPendingTask() #24 0x7f6d2b899878 base::MessageLoop::DoWork() #25 0x7f6d2b89b299 base::MessagePumpDefault::Run() #26 0x7f6d2b8adb28 base::RunLoop::Run() #27 0x7f6d2b8987d5 base::MessageLoop::Run() #28 0x7f6d2ead35b8 content::RendererMain() #29 0x7f6d2e985858 content::RunZygote() #30 0x7f6d2e985e34 content::ContentMainRunnerImpl::Run() #31 0x7f6d2e9854e1 content::ContentMain() #32 0x7f6d2b81cb6e oxide::OxideMain() #33 0x7f6d2b7f45d7 oxide::qt::OxideMain() #34 0x7f6d2a52ea00 __libc_start_main ** Affects: oxide Importance: Critical Assignee: Alexandre Abreu (abreu-alexandre) Status: In Progress ** Changed in: oxide Status: New => In Progress ** Changed in: oxide Importance: Undecided => Critical ** Changed in: oxide 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/1567975 Title: webapp-container crash with Oxide 1.14 Status in Oxide: In Progress Bug description: The renderer crashes with Oxide 1.14 when launching the webapp- container. The crash occurs in the context of the greasemonkey main world scripts, here is a stack trace: #0 0x7f6d2b87b0ae base::debug::StackTrace::StackTrace() #1 0x7f6d2b87b469 base::debug::(anonymous namespace)::StackDumpSignalHandler() #2 0x7f6d2a8e8cd0 #3 0x7f6d2e44cdf8 blink::beforeCallEnteredCallback() #4 0x7f6d2d03f8b1 v8::internal::Isolate::FireBeforeCallEnteredCallback() #5 0x7f6d2cd11ae8 v8::Script::Run() #6 0x7f6d2cd222ba v8::Script::Run() #7 0x7f6d2b863ed2 oxide::UserScriptSlave::InjectGreaseMonkeyScriptInMainWorld() #8 0x7f6d2b86463f oxide::UserScriptSlave::InjectScripts() #9 0x7f6d2ea9f794 content::RenderFrameImpl::didFinishDocumentLoad() #10 0x7f6d2e008300 blink::FrameLoader::finishedParsing() #11 0x7f6d2d8f0102 blink::Document::finishedParsing() #12 0x7f6d2db4f7de blink::HTMLDocumentParser::end() #13 0x7f6d2db56f98 blink::HTMLDocumentParser::processParsedChunkFromBackgroundParser() #14 0x7f6d2db574da blink::HTMLDocumentParser::pumpPendingSpeculations() #15 0x7f6d2db62c63 _ZN3WTF21PartBoundFunctionImplISt5tupleIJON5blink36CrossThreadWeakPersistentThisPointerINS2_19HTMLParserSchedulerENS_15FunctionWrapperIMS4_FvvEEEJEEclEv #16 0x7f6d2b9ca740 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0NS0_9BindStateINS0_15RunnableAdapterIPFv10scoped_ptrIN7content12DownloadFileESt14default_deleteIS8_ESC_JNS0_13PassedWrapperISB_ENS0_12InvokeHelperILb0EvSE_EEFvvEE3RunEPNS0_13BindStateBaseE #17 0x7f6d2b87cc4d base::debug::TaskAnnotator::RunTask() #18 0x7f6d2e9ee9c3 scheduler::TaskQueueManager::ProcessTaskFromWorkQueue() #19 0x7f6d2e9eef44 scheduler::TaskQueueManager::DoWork() #20 0x7f6d2e9ecd67
[Ubuntu-webapps-bugs] [Bug 1421423] Re: send_keys in oxide webdriver is not implemented
** Changed in: webapps-sprint Status: Fix Committed => Fix Released -- 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/1421423 Title: send_keys in oxide webdriver is not implemented Status in Oxide: Fix Released Status in webapps-sprint: Fix Released Bug description: I'm trying to automate a test using the oxide webdriver, but an error is raised when I try to send_keys to an input field. To reproduce: Launch the webbrowser with devtools. Something like: elopio@tangamandapio76-desktop:~/workspace/canonical/webbrowser- app/trunk$ UBUNTU_WEBVIEW_DEVTOOLS_HOST=127.0.0.1 UBUNTU_WEBVIEW_DEVTOOLS_PORT=9221 ./src/app/webbrowser/webbrowser-app Install selenium from the ppa: https://launchpad.net/~canonical- platform-qa/+archive/ubuntu/selenium Try to send_keys: $ python3 >>> from selenium import webdriver >>> from selenium.webdriver.chrome.options import Options >>> import subprocess >>> CURRENT_ARCHITECTURE = subprocess.check_output(["dpkg-architecture", "-qDEB_HOST_MULTIARCH"], universal_newlines=True).strip() >>> CHROMEDRIVER_EXEC_PATH = "/usr/lib/{}/oxide-qt/chromedriver".format(CURRENT_ARCHITECTURE) >>> DEFAULT_WEBVIEW_INSPECTOR_IP = '127.0.0.1' >>> DEFAULT_WEBVIEW_INSPECTOR_PORT = 9221 >>> options = Options() >>> options.binary_location = '' >>> options.debugger_address = '{}:{}'.format(DEFAULT_WEBVIEW_INSPECTOR_IP, DEFAULT_WEBVIEW_INSPECTOR_PORT) >>> driver = webdriver.Chrome(executable_path=CHROMEDRIVER_EXEC_PATH, chrome_options=options) >>> driver.get('http://amazon.com/') >>> driver = webdriver.Chrome(executable_path=CHROMEDRIVER_EXEC_PATH, chrome_options=options) >>> driver.get('http://amazon.com/')>>> search_bar = driver.find_element_by_id('nav-searchbar') >>> search_text_field = search_bar.find_element_by_id('twotabsearchtextbox') >>> search_text_field.send_keys('Test') Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webelement.py", line 303, in send_keys self._execute(Command.SEND_KEYS_TO_ELEMENT, {'value': typing}) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webelement.py", line 385, in _execute return self._parent.execute(command, params) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute self.error_handler.check_response(response) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Not Implemented (Session info: content shell=) (Driver info: chromedriver=2.12,platform=Linux 3.18.0-12-generic x86_64) The same script works using the firefox webdriver. To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1421423/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp
[Ubuntu-webapps-bugs] [Bug 1342031] Re: Rename QML modules to follow qml-module-foo naming
This bug was fixed in the package ubuntu-ui-toolkit 1.3.1918+15.04.20160404-0ubuntu1 in https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/stable-phone-overlay --- ubuntu-ui-toolkit (1.3.1918+15.04.20160404-0ubuntu1) vivid; urgency=medium [ Benjamin Zeller ] * Register expected warning messages in the tree testcase. * Add testsuite for Tree. Fixes LP: #1549171. * Compile with Qt 5.6. Fixes LP: #1540356 * More Qt 5.6 fixes. [ Michael Terry ] * Add grabGesture field to SwipeArea. * This field controls whether the SwipeArea takes ownership of the gestures it observes. Fixes LP: #1527387. [ Timo Jyrinki ] * Add a test for blocking if packaging not sorted and clean. * More package name transitioning, wrap and sort, fix debian/copyright syntax, update standards-version, fix devel package sections and add/fix lintian-overrides. [ Olivier Tilloy ] * Fix dependencies of the transitional dummy package qtdeclarative5-ubuntu-ui-toolkit-plugin. Fixes LP: #1553551. [ Christian Dywan ] * Rename qtdeclarative5-*-plugin to qml-module-*. Fixes LP: #1342031. * Require a qtdeclarative5 known to have the tab fence patch. * Reset previous theme version and use UbuntuTestCase in tst_animator. * BottomEdge(Hint) focus and close via keyboard. Fixes LP: #1523825 * Add 1.3 version of UbuntuTestCase. * No gdb when running unit tests on armv7l. * Build-depend on python3-debian for wrap-and-sort. [ XiaoGuo Liu ] * Fix AdaptivePageLayout documentation. [ Tim Peeters ] * Properly disable left/right arrows on sections when at the beginning/end of the list. Fixes LP: #1551356. * Sections and old AppHeader landscape mode. Fixes LP: #1551341. * Set the window color as soon as the window is available, to avoid a flickering background when it is updated later. Fixes LP: #1439133, LP: #1554897 * Add theme, style and styleName properties to Dialog and Popover. Fixes LP: #148 * Update the gallery script to use the new name of the export script. * Export the full list of library paths. * Prevent Page geometry changes in APL when changing Pages in a column. * Fix typo in DatePickerStyle. Fixes: LP #1561440. [ Zsombor Egri ] * ListItem focus navigation in ListView and other views. Fixes LP: #1523815, LP: #1536679, LP: #1549733, LP: #1549743 * BorromEdge.preloadContent. Fixes LP: #1540454. * Asynchronous loader (AsyncLoader) using incubator, prerequisite for BottomEdge preloading its content. Fixes LP: #1540454. * ListView proxy should not consume up/down key events. Fixes LP: #1554447 * Pick up the right style. Fixes LP: #1555797 * Label makes sure the color alteration is known by the theming. Fixes LP: #1555784 * Fix AsyncLoader tests so they create slightly less amount of elements. * AdaptivePageLayout removes all pages pushed to next columns when addPageToNextColumn() is called. Fixes LP: #1544745 * Fix BottomEdge content discarding. * Disconnect enabled signal in Label in destructor, so functor call will not be handled when QQuickItem triggers enabled change. Fixes LP: #1560044. [ Andrea Bernabei ] * UI Gallery: fix vertical alignment of labels in left panel list items. * ScrollView: add horizontalScrollbar and verticalScrollbar properties to allow custom properties and styling of scrollbars. * Change Scrollbar default top and bottom anchor margins. Tests included. [ Albert Astals Cid ] * Use "/" instead of QDir::separator for building paths that will be passed to Qt. * Some string optimizations in the icon searching code * Improve icon file searching. Leave searching in hicolor to the end. Do not search on icon themes we've already searched. [ Zoltán Balogh ] * Clean up examples. * Improve unit test plan tool [ Florian Boucault ] * Properly disable PerformanceMonitor for toolkit tests only. Re-enable it for everything else. [ Pierre Bertet ] * Fix the lists style in the offline documentation. Fixes LP: #1557472. * Make export_qml_dir.sh compatible with ZSH. [ CI Train Bot ] * No-change rebuild. -- Zoltan BaloghMon, 04 Apr 2016 04:47:18 + ** Changed in: ubuntu-ui-toolkit (Ubuntu RTM) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu WebApps bug tracking, which is subscribed to cordova-ubuntu in Ubuntu. https://bugs.launchpad.net/bugs/1342031 Title: Rename QML modules to follow qml-module-foo naming Status in accounts-qml-module package in Ubuntu: Fix Released Status in address-book-app package in Ubuntu: New Status in bacon2d package in Ubuntu: Triaged Status in clickmanager-plugin package in Ubuntu: New Status in content-hub package in Ubuntu: New Status in cordova-ubuntu package in Ubuntu: New Status in dee-qt package in Ubuntu: New Status in gsettings-qt package in Ubuntu: New Status in
[Ubuntu-webapps-bugs] [Bug 1565309] Re: tst_SecurityStatus fails in single process
** Changed in: oxide Status: Triaged => Fix Released ** Changed in: oxide Milestone: None => branch-1.15 -- 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/1565309 Title: tst_SecurityStatus fails in single process Status in Oxide: Fix Released Bug description: FAIL! : qml-api-single-process-test::SecurityStatus::test_SecurityStatus1(row 7) Compared values are not the same Actual (): 4 Expected (): 3 Loc: [/home/chr1s/src/oxide/unit-testing/qt/tests/qmltests/api/tst_SecurityStatus.qml(200)] QWARN : qml-api-single-process-test::SecurityStatus::test_SecurityStatus1(row 8) OxideQQuickWebView: context is read-only in single process mode. The webview will automatically use the application-wide default WebContext [0402/164814:ERROR:layer_tree_host_impl.cc(2205)] Forcing zero-copy tile initialization as worker context is missing 127.0.0.1 - - [02/Apr/2016 16:48:14] "GET /tst_SecurityStatus_run_insecure_content_in_iframe.html HTTP/1.1" 200 - [0402/164814:WARNING:web_contents_impl.cc(3269)] https://testsuite/ ran insecure content from http://testsuite/tst_SecurityStatus_script.js [0402/164814:WARNING:web_contents_impl.cc(3269)] https://testsuite/ ran insecure content from http://testsuite/tst_SecurityStatus_script.js FAIL! : qml-api-single-process-test::SecurityStatus::test_SecurityStatus1(row 8) Compared values are not the same Actual (): 1 Expected (): 2 Loc: [/home/chr1s/src/oxide/unit-testing/qt/tests/qmltests/api/tst_SecurityStatus.qml(208)] The issue here is that running insecure scripts taints host/process combinations for the rest of the session, and each test assumes that they get their own process. Because that's not the case with single- process, earlier tests taint subsequent tests, causing them to fail To manage notifications about this bug go to: https://bugs.launchpad.net/oxide/+bug/1565309/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-webapps-bugs Post to : ubuntu-webapps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-webapps-bugs More help : https://help.launchpad.net/ListHelp