Skip to content

Commit

Permalink
Bug 1456076 - Update ESLint to 4.19.1 & eslint-plugin-html to 4.0.3. …
Browse files Browse the repository at this point in the history
…r=mossop

MozReview-Commit-ID: Gs6T8AsLPPo

--HG--
extra : rebase_source : bf189ef047294ea405d8e7628eae94daa6d93e89
  • Loading branch information
Standard8 committed Apr 23, 2018
1 parent 19bd898 commit 88e4fd5
Show file tree
Hide file tree
Showing 8 changed files with 182 additions and 136 deletions.
1 change: 1 addition & 0 deletions browser/base/content/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -2835,6 +2835,7 @@ function losslessDecodeURI(aURI) {
// Encode invisible characters (C0/C1 control characters, U+007F [DEL],
// U+00A0 [no-break space], line and paragraph separator,
// object replacement character) (bug 452979, bug 909264)
// eslint-disable-next-line no-control-regex
value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\ufffc]/g,
encodeURIComponent);

Expand Down
1 change: 1 addition & 0 deletions dom/media/PeerConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,7 @@ class RTCPeerConnection {

// The fippo butter finger filter AKA non-ASCII chars
// Note: SDP allows non-ASCII character in the subject (who cares?)
// eslint-disable-next-line no-control-regex
let pos = sdp.search(/[^\u0000-\u007f]/);
if (pos != -1) {
throw new this._win.DOMException(
Expand Down
Loading

0 comments on commit 88e4fd5

Please sign in to comment.