Bug 1148694 patch 3 - remove tests affected by removal of CSSCharsetRule. r=dbaron, r=khuey

This commit is contained in:
Kevin Wern 2015-04-20 23:38:13 -07:00
parent cad494d874
commit 10ec87bdf8
3 changed files with 0 additions and 17 deletions

View File

@ -270,8 +270,6 @@ var interfaceNamesInGlobalScope =
"CSS",
// IMPORTANT: Do not change this list without review from a DOM peer!
"CSS2Properties",
// IMPORTANT: Do not change this list without review from a DOM peer!
"CSSCharsetRule",
// IMPORTANT: Do not change this list without review from a DOM peer!
"CSSConditionRule",
// IMPORTANT: Do not change this list without review from a DOM peer!

View File

@ -128,16 +128,6 @@ const tests = [
tst: "td:lang(en"
},
{
name: "@charset 1",
ref: "@charset 'utf-8';",
tst: "@charset 'utf-8"
},
{
name: "@charset 2",
ref: "@charset 'utf-8';",
tst: "@charset 'utf-8'"
},
{
name: "@media 3",
ref: "@media all {}",

View File

@ -107,11 +107,6 @@ var innerRuleInfo = [
return Math.abs(width - (aApplied ? monospaceWidth : serifWidth)) <= 1; // bug 769194 prevents local()
// fonts working on Android
}],
["@charset 'UTF-8';",
function(aApplied, aParent, aException) {
// just test whether it threw
return aParent instanceof CSSRule ? aException : !aException;
}],
["@import url(nothing.css);",
function(aApplied, aParent, aException) {
// just test whether it threw