Backed out changeset 070cb0982606 (bug 1512956) for xpcshell fails on test_parseDeclarations.js. CLOSED TREE

This commit is contained in:
Razvan Maries
2019-02-24 15:06:59 +02:00
parent ddc3a0b032
commit a51352c65d
5 changed files with 5 additions and 56 deletions

View File

@@ -270,7 +270,7 @@ function cssTrim(str) {
function parseDeclarationsInternal(isCssPropertyKnown, inputString,
parseComments, inComment, commentOverride) {
if (inputString === null || inputString === undefined) {
return [];
throw new Error("empty input string");
}
const lexer = getCSSLexer(inputString);