gecko-dev/devtools
Nicolas Chevobbe 905b05a8b6 Bug 1438442 - Fix styled console.log issue with empty style; r=Honza.
It is totally valid to declare an empty style in styled console.log.
But we were appending a space after a string with empty style because
we were checking that the style wasn't falsy, and empty string is falsy.
We fix that by checking against undefined.
A test is added to make sure we don't regress that.

MozReview-Commit-ID: EOQ49Gt0Cr9

--HG--
extra : rebase_source : bf711afa76dd784d3cf1f973c47e4aa139d5bc5e
2018-02-15 09:09:36 +01:00
..
client Bug 1438442 - Fix styled console.log issue with empty style; r=Honza. 2018-02-15 09:09:36 +01:00
docs Bug 1406383- Add documentation for squashing commits; r=sole DONTBUILD 2018-01-13 03:12:10 +05:30
platform Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
server Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 11:55:38 +02:00
shared Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
shim Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes 2018-02-07 01:37:36 -08:00
.eslintrc.js Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop 2018-02-07 16:16:09 +00:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
templates.mozbuild Bug 1198013 - DevToolsModules now safe to call multiple times. r=miker 2017-11-03 12:38:05 -05:00