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 269580 - html5 "integrity" attribute not allowed in <script> tag
Summary: html5 "integrity" attribute not allowed in <script> tag
Status: RESOLVED DUPLICATE of bug 267853
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.2
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 11:49 UTC by pepebeans
Modified: 2017-01-25 20:10 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (161.13 KB, text/plain)
2017-01-17 11:49 UTC, pepebeans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pepebeans 2017-01-17 11:49:46 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 8.1 version 6.3 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
  * Copy this Bootstrap starter code and paste on Netbeans Editor:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>

ACTUAL:
  <script> tag, with attribute: "integrity" marked as not allowed by the html editor.

EXPECTED:
  Please make this attribute valid. It might not be fully implemented by W3 stantards, But it will very soon.
Comment 1 pepebeans 2017-01-17 11:49:50 UTC
Created attachment 163410 [details]
IDE log
Comment 2 ssatguru 2017-01-22 19:26:41 UTC
similar issue with <link> tag
html5 value of "import" not allowed for link attribute rel
The following
<link rel="import" href="....">
throws this error
Bad value "import" for attribute "rel" on element "link": The string "import" is not a registered keyword.
Comment 3 jochemb 2017-01-25 20:10:03 UTC

*** This bug has been marked as a duplicate of bug 267853 ***