| Index: test/webkit/fast/js/end-in-string-escape.js
|
| diff --git a/test/webkit/instanceof-operator.js b/test/webkit/fast/js/end-in-string-escape.js
|
| similarity index 85%
|
| copy from test/webkit/instanceof-operator.js
|
| copy to test/webkit/fast/js/end-in-string-escape.js
|
| index 1230181584337c86a13846618b2cefe510239e59..e5c0906ada9390a472f523ae5a5daab9356ea0b3 100644
|
| --- a/test/webkit/instanceof-operator.js
|
| +++ b/test/webkit/fast/js/end-in-string-escape.js
|
| @@ -21,13 +21,11 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -description(
|
| -"instanceof test"
|
| -);
|
| +description('Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=33641">bug 33641</a>: Assertion failure in Lexer.cpp if input stream ends while in string escape.');
|
| +
|
| +debug("Passed if no assertion failure.");
|
|
|
| -getterCalled = false;
|
| try {
|
| - ({} instanceof { get prototype(){ getterCalled = true; } });
|
| -} catch (e) {
|
| + eval('"\\');
|
| +} catch (ex) {
|
| }
|
| -shouldBeFalse("getterCalled");
|
|
|