[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20757:
--------------------------------
Description:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
However,
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
> However,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20757:
--------------------------------
Description:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
was:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
However,
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20757) Livereload does not work with CordovaSim on default THYM project
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20757?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20757:
--------------------------------
Workaround: (was: Workaround Exists)
> Livereload does not work with CordovaSim on default THYM project
> ----------------------------------------------------------------
>
> Key: JBIDE-20757
> URL: https://issues.jboss.org/browse/JBIDE-20757
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.3.0.Final
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
> <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20745) Livereload doesn't work stable with CordovaSim / BrowserSim
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20745?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-20745:
--------------------------------
Description:
It seems that Livereload stopped working on simple pages like:
{code}
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
{code}
But at the same time it works fine with some complex projects like & https://github.com/ibuziuk/cordovasim-demo
was:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim
Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}
However, it seems that Livereload stopped working on simple pages like:
{code}
<!DOCTYPE html>
<html>
<head>
<title>Insert title here</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
{code}
But at the same time it works fine with some complex projects like & https://github.com/ibuziuk/cordovasim-demo
> Livereload doesn't work stable with CordovaSim / BrowserSim
> -----------------------------------------------------------
>
> Key: JBIDE-20745
> URL: https://issues.jboss.org/browse/JBIDE-20745
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim, cordovasim, livereload
> Affects Versions: 4.3.0.CR1
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Priority: Critical
> Fix For: 4.3.1.Final
>
>
> It seems that Livereload stopped working on simple pages like:
> {code}
> <!DOCTYPE html>
> <html>
> <head>
> <title>Insert title here</title>
> </head>
> <body>
> <h1>Hello World</h1>
> </body>
> </html>
> {code}
> But at the same time it works fine with some complex projects like & https://github.com/ibuziuk/cordovasim-demo
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months
[JBoss JIRA] (JBIDE-20756) Touch events for BrowserSim are not set properly
by Vlado Pakan (JIRA)
Vlado Pakan created JBIDE-20756:
-----------------------------------
Summary: Touch events for BrowserSim are not set properly
Key: JBIDE-20756
URL: https://issues.jboss.org/browse/JBIDE-20756
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: browsersim
Affects Versions: 4.3.0.CR1
Environment: JBDS 9.0.0.CR1-v20150918-0257-B105 Fedora 22 KDE 64bit
Reporter: Vlado Pakan
1. Create HTML page with this content:
{code:html}
<!DOCTYPE html>
<html>
<head>
<title>sample</title>
<script type="text/javascript">
function window_onload() {
document.getElementById('touchable').addEventListener('touchstart', function(ev) {
alert('touchstart')}, false);
document.getElementById('touchable').addEventListener('touchend', function(ev) {
alert('touchend')}, false);
document.getElementById('touchable').addEventListener('touchmove', function(ev) {
alert('touchmove')}, false);
}
</script>
</head>
<body onload='window_onload();'>
<div id='touchable'>This element is touchable.</div>
</body>
</html>
{code}
2. Open this page in BrowserSim
3. Enable touch events for BrowserSim
4. Click somewhere within the page in BrowserSim
ERROR:
{noformat}
!JavaScript WARN: Converting `ontouchstart` property to event listener.
!JavaScript ERROR: TypeError: Unable to delete property. on line 118 for file:///.../jboss-touchevents/src/main/webapp/index.html
!JavaScript WARN: Converting `ontouchend` property to event listener.
!JavaScript ERROR: TypeError: Unable to delete property. on line 118 for file:///.../jboss-touchevents/src/main/webapp/index.html
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 7 months