[JBoss JIRA] (JBIDE-17944) BrowserSim: Use http: protocol instead of file: for accessing local files
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-17944?page=com.atlassian.jira.plugi... ]
Jeff MAURY closed JBIDE-17944.
------------------------------
Resolution: Won't Do
> BrowserSim: Use http: protocol instead of file: for accessing local files
> -------------------------------------------------------------------------
>
> Key: JBIDE-17944
> URL: https://issues.jboss.org/browse/JBIDE-17944
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: browsersim, cordovasim
> Affects Versions: 4.2.2.Final
> Reporter: Alexey Kazakov
> Assignee: Ilya Buziuk
> Priority: Major
> Fix For: 4.12.x
>
> Attachments: ripple.png
>
>
> Currently, BrowserSim works through file: protocol but this protocol doesn't work well with paths relative to the webroot (which start with "/").
> So if a local file contains any links to local resources (css, js, ...) via relative paths then these resources are not available in BrowserSim.
> For example all official ionic example projects use such paths. It makes "open with BrowserSim" feature useless for those projects.
> It would be great if BrowserSim uses http: as our HTML5 preview does.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (JBIDE-17443) CordovaSim crash on Fedora 20 when browsing a jQueryMobile based app
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-17443?page=com.atlassian.jira.plugi... ]
Jeff MAURY closed JBIDE-17443.
------------------------------
Resolution: Won't Do
> CordovaSim crash on Fedora 20 when browsing a jQueryMobile based app
> --------------------------------------------------------------------
>
> Key: JBIDE-17443
> URL: https://issues.jboss.org/browse/JBIDE-17443
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cordovasim
> Affects Versions: 4.2.0.Beta1
> Environment: Fedora 20
> JBoss Developer Studio 8.0.0.Beta1
> webkitgtk-2.2.7-1.fc20.x86_64
> Reporter: Vineet Reynolds
> Assignee: Ilya Buziuk
> Priority: Major
> Fix For: 4.12.x
>
>
> The root cause appears to be whatever is causing JBIDE-17442 to manifest. Raising this to track CordovaSim behavior, since it relies on the BrowserSim component.
> CordovaSim crashes when launching the TicketMonster app (from WFK 2.6). The offending line of code seems to be :
> {noformat}
> $("#container").enhanceWithin();
> {noformat}
> in the mobile {{router.js}}. The [enhanceWithin API|http://api.jquerymobile.com/enhanceWithin/] is new in jQueryMobile 1.4.x. The same line works without any flaw in CordovaSim on Windows and Mac OS X.
> Additional notes - strace output reveals that BrowserSim is terminated due to a SIGTRAP event, which is a bit weird.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months