`<p style="color: {{"#8ff"}}; background: {{"#000"}}">`,
`<p style="color: #8ff; background: #000">`,
},
- // This test is broken by the fix to issue 2658.
- // {
- // "styleObfuscatedExpressionBlocked",
- // `<p style="width: {{" e\78preS\0Sio/**/n(alert(1337))"}}">`,
- // `<p style="width: ZgotmplZ">`,
- // },
+ {
+ "styleObfuscatedExpressionBlocked",
+ `<p style="width: {{" e\\78preS\x00Sio/**/n(alert(1337))"}}">`,
+ `<p style="width: ZgotmplZ">`,
+ },
{
"styleMozBindingBlocked",
`<p style="{{"-moz-binding(alert(1337))"}}: ...">`,
`<p style="ZgotmplZ: ...">`,
},
- // This test is broken by the fix to issue 2658.
- // {
- // "styleObfuscatedMozBindingBlocked",
- // `<p style="{{" -mo\7a-B\0I/**/nding(alert(1337))"}}: ...">`,
- // `<p style="ZgotmplZ: ...">`,
- // },
+ {
+ "styleObfuscatedMozBindingBlocked",
+ `<p style="{{" -mo\\7a-B\x00I/**/nding(alert(1337))"}}: ...">`,
+ `<p style="ZgotmplZ: ...">`,
+ },
{
"styleFontNameString",
`<p style='font-family: "{{"Times New Roman"}}"'>`,