1Alert: *** Testing Unsupported Methods *** 2Alert: PASS: typeof this.addAnnot = function 3Alert: PASS: this.addAnnot() = undefined 4Alert: PASS: this.addAnnot(1, 2, "clams", [1, 2, 3]) = undefined 5Alert: PASS: typeof this.addField = function 6Alert: PASS: this.addField() = undefined 7Alert: PASS: this.addField(1, 2, "clams", [1, 2, 3]) = undefined 8Alert: PASS: typeof this.addLink = function 9Alert: PASS: this.addLink() = undefined 10Alert: PASS: this.addLink(1, 2, "clams", [1, 2, 3]) = undefined 11Alert: PASS: typeof this.closeDoc = function 12Alert: PASS: this.closeDoc() = undefined 13Alert: PASS: this.closeDoc(1, 2, "clams", [1, 2, 3]) = undefined 14Alert: PASS: typeof this.createDataObject = function 15Alert: PASS: this.createDataObject() = undefined 16Alert: PASS: this.createDataObject(1, 2, "clams", [1, 2, 3]) = undefined 17Alert: PASS: typeof this.deletePages = function 18Alert: PASS: this.deletePages() = undefined 19Alert: PASS: this.deletePages(1, 2, "clams", [1, 2, 3]) = undefined 20Alert: PASS: typeof this.exportAsFDF = function 21Alert: PASS: this.exportAsFDF() = undefined 22Alert: PASS: this.exportAsFDF(1, 2, "clams", [1, 2, 3]) = undefined 23Alert: PASS: typeof this.exportAsText = function 24Alert: PASS: this.exportAsText() = undefined 25Alert: PASS: this.exportAsText(1, 2, "clams", [1, 2, 3]) = undefined 26Alert: PASS: typeof this.exportAsXFDF = function 27Alert: PASS: this.exportAsXFDF() = undefined 28Alert: PASS: this.exportAsXFDF(1, 2, "clams", [1, 2, 3]) = undefined 29Alert: PASS: typeof this.extractPages = function 30Alert: PASS: this.extractPages() = undefined 31Alert: PASS: this.extractPages(1, 2, "clams", [1, 2, 3]) = undefined 32Alert: PASS: typeof this.getAnnot3D = function 33Alert: PASS: this.getAnnot3D() = undefined 34Alert: PASS: this.getAnnot3D(1, 2, "clams", [1, 2, 3]) = undefined 35Alert: PASS: typeof this.getAnnots3D = function 36Alert: PASS: this.getAnnots3D() = undefined 37Alert: PASS: this.getAnnots3D(1, 2, "clams", [1, 2, 3]) = undefined 38Alert: PASS: typeof this.getLinks = function 39Alert: PASS: this.getLinks() = undefined 40Alert: PASS: this.getLinks(1, 2, "clams", [1, 2, 3]) = undefined 41Alert: PASS: typeof this.getOCGs = function 42Alert: PASS: this.getOCGs() = undefined 43Alert: PASS: this.getOCGs(1, 2, "clams", [1, 2, 3]) = undefined 44Alert: PASS: typeof this.getPageBox = function 45Alert: PASS: this.getPageBox() = undefined 46Alert: PASS: this.getPageBox(1, 2, "clams", [1, 2, 3]) = undefined 47Alert: PASS: typeof this.getURL = function 48Alert: PASS: this.getURL() = undefined 49Alert: PASS: this.getURL(1, 2, "clams", [1, 2, 3]) = undefined 50Alert: PASS: typeof this.importAnFDF = function 51Alert: PASS: this.importAnFDF() = undefined 52Alert: PASS: this.importAnFDF(1, 2, "clams", [1, 2, 3]) = undefined 53Alert: PASS: typeof this.importAnXFDF = function 54Alert: PASS: this.importAnXFDF() = undefined 55Alert: PASS: this.importAnXFDF(1, 2, "clams", [1, 2, 3]) = undefined 56Alert: PASS: typeof this.importTextData = function 57Alert: PASS: this.importTextData() = undefined 58Alert: PASS: this.importTextData(1, 2, "clams", [1, 2, 3]) = undefined 59Alert: PASS: typeof this.insertPages = function 60Alert: PASS: this.insertPages() = undefined 61Alert: PASS: this.insertPages(1, 2, "clams", [1, 2, 3]) = undefined 62Alert: PASS: typeof this.removeIcon = function 63Alert: PASS: this.removeIcon() = undefined 64Alert: PASS: this.removeIcon(1, 2, "clams", [1, 2, 3]) = undefined 65Alert: PASS: typeof this.replacePages = function 66Alert: PASS: this.replacePages() = undefined 67Alert: PASS: this.replacePages(1, 2, "clams", [1, 2, 3]) = undefined 68Alert: PASS: typeof this.saveAs = function 69Alert: PASS: this.saveAs() = undefined 70Alert: PASS: this.saveAs(1, 2, "clams", [1, 2, 3]) = undefined 71Alert: PASS: typeof this.syncAnnotScan = function 72Alert: PASS: this.syncAnnotScan() = undefined 73Alert: PASS: this.syncAnnotScan(1, 2, "clams", [1, 2, 3]) = undefined 74Alert: *** Testing Supported Methods *** 75Alert: PASS: typeof this.addIcon = function 76Alert: PASS: this.addIcon() threw Document.addIcon: Incorrect number of parameters passed to function. 77Alert: PASS: this.addIcon(1) threw Document.addIcon: Incorrect number of parameters passed to function. 78Alert: PASS: this.addIcon(1, 2, 3) threw Document.addIcon: Incorrect number of parameters passed to function. 79Alert: PASS: this.addIcon("myicon", 3) threw Document.addIcon: Incorrect parameter type. 80Alert: PASS: this.addIcon("myicon", undefined) threw Document.addIcon: Incorrect parameter type. 81Alert: PASS: typeof this.calculateNow = function 82Alert: PASS: this.calculateNow() = undefined 83Alert: PASS: typeof this.getAnnot = function 84Alert: PASS: this.getAnnot() threw Document.getAnnot: Incorrect number of parameters passed to function. 85Alert: PASS: this.getAnnot(0) threw Document.getAnnot: Incorrect number of parameters passed to function. 86Alert: PASS: this.getAnnot(0, "test", 0) threw Document.getAnnot: Incorrect number of parameters passed to function. 87Alert: PASS: typeof this.getAnnots = function 88Alert: PASS: typeof this.getField = function 89Alert: PASS: this.getField() threw Document.getField: Incorrect number of parameters passed to function. 90Alert: PASS: typeof this.getIcon = function 91Alert: PASS: this.getIcon() threw Document.getIcon: Incorrect number of parameters passed to function. 92Alert: PASS: this.getIcon(1, 2) threw Document.getIcon: Incorrect number of parameters passed to function. 93Alert: PASS: typeof this.getNthFieldName = function 94Alert: PASS: this.getNthFieldName() threw Document.getNthFieldName: Incorrect number of parameters passed to function. 95Alert: PASS: this.getNthFieldName(-1) threw Document.getNthFieldName: Incorrect parameter value. 96Alert: PASS: this.getNthFieldName(400000) threw Document.getNthFieldName: Object no longer exists. 97Alert: PASS: this.getNthFieldName(0) threw Document.getNthFieldName: Object no longer exists. 98Alert: PASS: typeof this.getPageNthWord = function 99Alert: PASS: this.getPageNthWord(0, 0, true, "clams", [1, 2]) = Hello, 100Alert: PASS: this.getPageNthWord(-1, 0, true) threw Document.getPageNthWord: Incorrect parameter value. 101Alert: PASS: this.getPageNthWord(6, 0, true) threw Document.getPageNthWord: Incorrect parameter value. 102Alert: PASS: typeof this.getPageNthWordQuads = function 103Alert: PASS: this.getPageNthWordQuads() threw Document.getPageNthWordQuads: Operation not supported. 104Alert: PASS: typeof this.getPageNumWords = function 105Alert: PASS: this.getPageNumWords(0, "clams", [1, 2]) = 2 106Alert: PASS: this.getPageNumWords(-1) threw Document.getPageNumWords: Incorrect parameter value. 107Alert: PASS: this.getPageNumWords(6) threw Document.getPageNumWords: Incorrect parameter value. 108Alert: PASS: typeof this.getPrintParams = function 109Alert: PASS: this.getPrintParams() threw Document.getPrintParams: Operation not supported. 110Alert: PASS: this.getPrintParams(42) threw Document.getPrintParams: Operation not supported. 111Alert: PASS: typeof this.gotoNamedDest = function 112Alert: PASS: this.gotoNamedDest() threw Document.gotoNamedDest: Incorrect number of parameters passed to function. 113Alert: PASS: this.gotoNamedDest(1, 2) threw Document.gotoNamedDest: Incorrect number of parameters passed to function. 114Alert: PASS: this.gotoNamedDest("chicago") threw Document.gotoNamedDest: Object no longer exists. 115Alert: PASS: typeof this.mailDoc = function 116Mail Msg: 1, to=, cc=, bcc=, subject=, body= 117Alert: PASS: this.mailDoc() = undefined 118Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=Lottery Winner, body=You won the lottery! 119Alert: PASS: this.mailDoc(false, "user@example.com", "cc@example.com", "bcc@example.com", "Lottery Winner", "You won the lottery!") = undefined 120Mail Msg: 1, to=, cc=, bcc=, subject=, body= 121Alert: PASS: this.mailDoc({}) = undefined 122Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=LotteryWinner, body=You won the lottery! 123Alert: PASS: this.mailDoc({"bUI": false, "cTo": "user@example.com", "cCc": "cc@example.com", "cBcc": "bcc@example.com", "cSubject": "LotteryWinner", "cMsg": "You won the lottery!", "bogus": "yes"}) = undefined 124Alert: PASS: typeof this.mailForm = function 125Mail Msg: 1, to=, cc=, bcc=, subject=, body= 126Alert: PASS: this.mailForm() = undefined 127Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=Lottery Winner, body=You won the lottery! 128Alert: PASS: this.mailForm(false, "user@example.com", "cc@example.com", "bcc@example.com", "Lottery Winner", "You won the lottery!") = undefined 129Mail Msg: 1, to=, cc=, bcc=, subject=, body= 130Alert: PASS: this.mailForm({}) = undefined 131Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=LotteryWinner, body=You won the lottery! 132Alert: PASS: this.mailForm({"bUI": false, "cTo": "user@example.com", "cCc": "cc@example.com", "cBcc": "bcc@example.com", "cSubject": "LotteryWinner", "cMsg": "You won the lottery!", "bogus": "yes"}) = undefined 133Alert: PASS: typeof this.print = function 134Alert: PASS: this.print() threw Document.print: User gesture required. 135Alert: PASS: typeof this.removeField = function 136Alert: PASS: this.removeField() threw Document.removeField: Incorrect number of parameters passed to function. 137Alert: PASS: typeof this.resetForm = function 138Alert: PASS: this.resetForm() = undefined 139Alert: PASS: this.resetForm("myform") = undefined 140Alert: PASS: typeof this.submitForm = function 141Alert: PASS: this.submitForm() threw Document.submitForm: Incorrect number of parameters passed to function. 142Alert: PASS: this.submitForm("myform", true, true, ["name", "age"]) threw Document.submitForm: User gesture required. 143