[Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation
Daniel Narvaez
dwnarvaez at gmail.com
Fri Dec 20 14:34:17 EST 2013
On 20 December 2013 16:42, Code Raguet <ignacio.code at gmail.com> wrote:
>
> On Fri, Dec 20, 2013 at 6:04 AM, Daniel Narvaez <dwnarvaez at gmail.com>wrote:
>
>> What about using the user agent in isStandalone instead of the protocol?
>> We can make the web activity and the sugar-web-test use two different,
>> recognizable user agents.
>
>
> I like it
>
> Other approach may be registering an "acticity" scheme in sugar-web-test
> that (internaly) replaces de request.uri with "http".
> But I don know if this is possible... (I'm a newbie with webkit)
>
It should be possible but not as easy as tweaking a flag or something like
that. You would need to download from http using libsoup or something and
pipe data into the custom protocol stream.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131220/ecfc2216/attachment.html>
More information about the Sugar-devel
mailing list