/* -*- tab-width: 2; indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var SECTION = "js1_2"; // provide a document reference (ie, ECMA section) var TITLE = "Regression test for bugzilla # 6359"; // Provide ECMA section title or a description var BUGNUMBER = "http://bugzilla.mozilla.org/show_bug.cgi?id=6359"; // Provide URL to bugsplat or bugzilla report
printBugNumber(BUGNUMBER);
/* *CallstoAddTestCasehere.AddTestCaseisafunctionthatisdefined *inshell.jsandtakesthreearguments: *-astringrepresentationofwhatisbeingtested *-theexpectedresult *-theactualresult * *Forexample,atestmightlooklikethis: * *varzip=/[\d]{5}$/; * *AddTestCase( *"zip=/[\d]{5}$/;\"POBox12345Boston,MA02134\".match(zip)",// description of the test *"02134",// expected result *"POBox12345Boston,MA02134".match(zip));// actual result *
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.