This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246007 - Embedded webkit has not the same behaviour as chrome with connector
Summary: Embedded webkit has not the same behaviour as chrome with connector
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.0.1
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-25 13:56 UTC by skygo
Modified: 2014-10-27 07:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skygo 2014-07-25 13:56:40 UTC
During test specification I encounter a difference in the behaviour of embedded webkit and chrome with connector.

Testspec involved[Web Client] LESS support / Debugging Information / CSS Styles window   

On chrome: 
with inspection I have the following:
 Generated rule, changes will be lost one regenerated
 all applied style are linked to less file

On embedded webkit
 No red label.
 All applied Styles are linked to css file

As stated in the test specification the Expected behaviour is to have this red label also in embedded webkit.
Comment 1 Vladimir Riha 2014-07-25 14:06:54 UTC
What JDK do you have? What version of less compiler? If you have less compiler > 1.5, IDE now generates source maps instead of the old @debug. It is possible that the embedded browser does not support it.
Comment 2 skygo 2014-07-25 14:21:36 UTC
I have jdk 8.0_11 and less 1.7.3.
So I guess I hit the limitation you mention.
Comment 3 Vladimir Riha 2014-08-13 12:29:46 UTC
Hm, it works for me. Does the generated css contain 

/*# sourceMappingURL=newstyle.css.map */

and does this map file exist? If no, could you please make sure that in Tools|Options|Miscellaneous|CSS Preprocessors, "Generate extra information" is checked for LESS? Thank you

Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408122300)
Java: 1.8.0_11; Java HotSpot(TM) Client VM 25.11-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 4 skygo 2014-08-25 13:56:24 UTC
Sorry for delayed response.

Work for me now with the Build 201408250001. Chrome with connector and embedded webkit react the same.