2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
|
|
|
info: NonEscapeSequence is not EscapeCharacter
|
2014-07-25 00:41:42 +02:00
|
|
|
es5id: 7.8.4_A4.3_T7
|
2014-07-22 01:09:02 +02:00
|
|
|
description: "EscapeCharacter :: SingleEscapeCharacter :: one of b f n r t v"
|
|
|
|
---*/
|
2011-09-07 08:35:18 +02:00
|
|
|
|
|
|
|
//CHECK#bfnrtv
|
|
|
|
if ("b" === "\b") {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#b');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("f" === "\f") {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#f');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("n" === "\n") {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#n');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("r" === "\r") {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#r');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("t" === "\t") {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#t');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ("v" === "\v") {
|
2021-07-28 22:45:44 +02:00
|
|
|
throw new Test262Error('#v');
|
2011-09-07 08:35:18 +02:00
|
|
|
}
|