Yes, it seems like this (I installed the app trough pkcon, with allow-unconfined). I should elaborate on the fact that it doesn't cause a stop, my url was miswritten, the xhr works, but it still prints this.
Date: Fri, 24 Jul 2015 07:46:17 -0500 From: ja...@canonical.com To: ubuntu-phone@lists.launchpad.net Subject: Re: [Ubuntu-phone] XHR doesn't work because of apparmor On 07/24/2015 04:40 AM, Bogdan Cuza wrote: > Actually, that didn't work. I just tested on another device. I tested 2 apps, > one of which is unconfined, same denial. > You are getting an apparmor denial with an unconfined app? > -------------------------------------------------------------------------------- > From: bogdan.c...@hotmail.com > To: michael.zane...@canonical.com; ubuntu-phone@lists.launchpad.net > Date: Fri, 24 Jul 2015 15:45:05 +0700 > Subject: Re: [Ubuntu-phone] XHR doesn't work because of apparmor > > I solved this by using: > "if (xhr.readyState == 4) { > if (xhr.status == 200) {" > instead of XMLHttpRequest.DONE. Hope this helps someone :) > > > Date: Thu, 23 Jul 2015 15:49:27 +0200 > From: michael.zane...@canonical.com > To: ubuntu-phone@lists.launchpad.net > Subject: Re: [Ubuntu-phone] XHR doesn't work because of apparmor > > Probably related to this bug: > > https://bugs.launchpad.net/apparmor-easyprof-ubuntu/+bug/1404188 > > It prints the same apparmor denial. > > Br, > Michael > > On 23.07.2015 15:06, Bogdan Cuza wrote: >> Hello! >> >> I am having some issues with a XmlHttpRequest. The response is null, >> even though it passes req.readyState == XMLHttpRequest.DONE. The log >> reports this: >> >> QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply >> "An AppArmor policy prevents this sender from sending this message to >> this recipient; type="method_call", sender=":1.465" (uid=32011 pid=22453 >> comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ q") >> interface="org.freedesktop.DBus.Properties" member="GetAll" error >> name="(unset)" requested_reply="0" >> destination="org.freedesktop.NetworkManager" (uid=0 pid=1245 >> comm="NetworkManager ")" >> >> QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An >> AppArmor policy prevents this sender from sending this message to this >> recipient; type="method_call", sender=":1.465" (uid=32011 pid=22453 >> comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ q") >> interface="org.freedesktop.NetworkManager" member="GetDevices" error >> name="(unset)" requested_reply="0" >> destination="org.freedesktop.NetworkManager" (uid=0 pid=1245 >> comm="NetworkManager ")" >> "Object path cannot be empty" >> "Object path cannot be empty" >> >> My apparmor has "networking" in policy_groups. Could anyone help me with >> this? >> >> Thanks, >> >> Bogdan >> >> >> > > > > -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : > ubuntu-phone@lists.launchpad.net Unsubscribe : > https://launchpad.net/~ubuntu-phone More help : > https://help.launchpad.net/ListHelp > > -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : > ubuntu-phone@lists.launchpad.net Unsubscribe : > https://launchpad.net/~ubuntu-phone More help : > https://help.launchpad.net/ListHelp > > -- Jamie Strandboge http://www.ubuntu.com/ -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp