[Sugar-devel] [web-activity] functional tests and env.isStandalone's current implementation

Code Raguet iraguet at activitycentral.com
Fri Dec 20 10:43:52 EST 2013


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)


On Fri, Dec 20, 2013 at 12:42 PM, 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)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131220/755af7f2/attachment.html>


More information about the Sugar-devel mailing list