mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Regression test for bug 305583, by shutdown
This commit is contained in:
parent
ed1852f363
commit
caa6773171
@ -20,6 +20,7 @@
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): Wladimir Palant
|
||||
* shutdown
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
@ -52,4 +53,15 @@ catch(e)
|
||||
actual = 'error: ' + e;
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
reportCompare(expect, actual, summary + ': XML()');
|
||||
|
||||
try
|
||||
{
|
||||
var xml = XML('<p>text</p>');
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
actual = 'error: ' + e;
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary + ': XMLList()');
|
||||
|
Loading…
Reference in New Issue
Block a user