Bug 696748 - Add missing test for bug 696748. r=needed-tests
authorChristian Holler <choller@mozilla.com>
Wed, 20 Mar 2013 03:58:09 +0100
changeset 131996 053bb31882c4246b504139c7ba09f91dd1aa71f7
parent 131995 129ff7d529688df59b415ce4bbad8749350d64d7
child 131997 e051419897daaa3e8a7c71b47cc0b575c656ba45
push idunknown
push userunknown
push dateunknown
reviewersneeded-tests
bugs696748
milestone22.0a1
Bug 696748 - Add missing test for bug 696748. r=needed-tests
js/src/jit-test/tests/basic/bug696748.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug696748.js
@@ -0,0 +1,16 @@
+try {
+this.watch("b", "".substring);
+} catch(exc1) {}
+eval("\
+var URI = '';\
+test();\
+function test() {\
+  URI += '<zcti application=\"xxxx_demo\">';\
+  URI += '<pstn_data>';\
+  URI += '<dnis>877-485-xxxx</dnis>';\
+  URI += '</pstn_data>';\
+  URI >>=  '<keyvalue key=\"name\" value=\"xxx\"/>';\
+  URI += '<keyvalue key=\"phone\" value=\"6509309000\"/>';\
+}\
+test();\
+");