Changeset 134618 in webkit
- Timestamp:
- Nov 14, 2012, 9:33:01 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r134617 r134618 1 2012-11-14 Erik Arvidsson <arv@chromium.org> 2 3 Update DOMException name: NotFoundError 4 https://bugs.webkit.org/show_bug.cgi?id=102137 5 6 Reviewed by Ojan Vafai. 7 8 Updated tests and expectations. 9 10 * fast/dom/Document/replaceChild-null-oldChild-expected.txt: 11 * fast/dom/Document/script-tests/replaceChild-null-oldChild.js: 12 * fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt: 13 * fast/dom/Range/range-intersectsNode-expected.txt: 14 * fast/dom/incompatible-operations-expected.txt: 15 * fast/dom/incompatible-operations.html: 16 * fast/dom/setter-type-enforcement-expected.txt: 17 * fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt: 18 * fast/events/remove-target-with-shadow-in-drag-expected.txt: 19 * fast/files/workers/worker-read-blob-sync-expected.txt: 20 * fast/files/workers/worker-read-file-sync-expected.txt: 21 * fast/inspector-support/uncaught-dom8-exception-expected.txt: 22 * fast/js/dot-node-base-exception-expected.txt: 23 * fast/js/script-tests/dot-node-base-exception.js: 24 * fast/mutation/observe-exceptions-expected.txt: 25 * platform/chromium-linux/fast/media/mq-js-media-except-01-expected.png: 26 * platform/chromium-win/fast/media/mq-js-media-except-01-expected.txt: 27 * platform/chromium/fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt: 28 * platform/chromium/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt: 29 * platform/chromium/fast/events/remove-target-with-shadow-in-drag-expected.txt: 30 * platform/chromium/fast/files/workers/worker-read-blob-sync-expected.txt: 31 * platform/chromium/fast/inspector-support/uncaught-dom8-exception-expected.txt: 32 * platform/chromium/fast/media/mq-js-media-except-01-expected.txt: 33 * platform/efl/fast/media/mq-js-media-except-01-expected.txt: 34 * platform/gtk/fast/events/remove-target-with-shadow-in-drag-expected.txt: 35 * platform/gtk/fast/media/mq-js-media-except-01-expected.txt: 36 * platform/mac/fast/media/mq-js-media-except-01-expected.txt: 37 * platform/qt/fast/media/mq-js-media-except-01-expected.txt: 38 1 39 2012-11-14 Dimitri Glazkov <dglazkov@chromium.org> 2 40 -
trunk/LayoutTests/fast/dom/Document/replaceChild-null-oldChild-expected.txt
r30635 r134618 4 4 5 5 6 PASS document.replaceChild(document.firstChild, null) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.6 PASS document.replaceChild(document.firstChild, null) threw exception Error: NotFoundError: DOM Exception 8. 7 7 PASS successfullyParsed is true 8 8 -
trunk/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
r98407 r134618 1 1 description('Test behavior of Document.replaceChild() when oldChild is null.'); 2 2 3 shouldThrow('document.replaceChild(document.firstChild, null)', '"Error: N OT_FOUND_ERR: DOM Exception 8"');3 shouldThrow('document.replaceChild(document.firstChild, null)', '"Error: NotFoundError: DOM Exception 8"'); -
trunk/LayoutTests/fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt
r49728 r134618 1 CONSOLE MESSAGE: line 7: N OT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.1 CONSOLE MESSAGE: line 7: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. 2 2 This passes if it does not crash. (see https://bugs.webkit.org/show_bug.cgi?id=18958) -
trunk/LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt
r105649 r134618 51 51 52 52 2.3 Node has no parent 53 PASS range.intersectsNode(document) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.53 PASS range.intersectsNode(document) threw exception Error: NotFoundError: DOM Exception 8. 54 54 55 55 2.4 Range has no parent … … 60 60 61 61 2.6 Node deleted 62 PASS range.intersectsNode(node) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.62 PASS range.intersectsNode(node) threw exception Error: NotFoundError: DOM Exception 8. 63 63 64 64 PASS successfullyParsed is true -
trunk/LayoutTests/fast/dom/incompatible-operations-expected.txt
r39047 r134618 4 4 5 5 6 PASS aNode.appendChild(aDOMImplementation) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.7 PASS aNode.appendChild('knort') threw exception Error: N OT_FOUND_ERR: DOM Exception 8.8 PASS aNode.appendChild(void 0) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.6 PASS aNode.appendChild(aDOMImplementation) threw exception Error: NotFoundError: DOM Exception 8. 7 PASS aNode.appendChild('knort') threw exception Error: NotFoundError: DOM Exception 8. 8 PASS aNode.appendChild(void 0) threw exception Error: NotFoundError: DOM Exception 8. 9 9 PASS aNode.isSameNode(aDOMImplementation) is false 10 10 PASS aNode.isSameNode('foo') is false -
trunk/LayoutTests/fast/dom/incompatible-operations.html
r98407 r134618 29 29 aNode.appendChild(aSecondNode); 30 30 31 shouldThrow("aNode.appendChild(aDOMImplementation)", "'Error: N OT_FOUND_ERR: DOM Exception 8'");31 shouldThrow("aNode.appendChild(aDOMImplementation)", "'Error: NotFoundError: DOM Exception 8'"); 32 32 33 shouldThrow("aNode.appendChild('knort')", "'Error: N OT_FOUND_ERR: DOM Exception 8'");33 shouldThrow("aNode.appendChild('knort')", "'Error: NotFoundError: DOM Exception 8'"); 34 34 35 shouldThrow("aNode.appendChild(void 0)", "'Error: N OT_FOUND_ERR: DOM Exception 8'");35 shouldThrow("aNode.appendChild(void 0)", "'Error: NotFoundError: DOM Exception 8'"); 36 36 37 37 shouldBeFalse("aNode.isSameNode(aDOMImplementation)"); -
trunk/LayoutTests/fast/dom/setter-type-enforcement-expected.txt
r134435 r134618 5 5 6 6 PASS document.body = nodelist; threw exception Error: HierarchyRequestError: DOM Exception 3. 7 PASS table.tHead = nodelist; threw exception Error: N OT_FOUND_ERR: DOM Exception 8.7 PASS table.tHead = nodelist; threw exception Error: NotFoundError: DOM Exception 8. 8 8 PASS successfullyParsed is true 9 9 -
trunk/LayoutTests/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt
r49728 r134618 1 CONSOLE MESSAGE: line 10: N OT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.1 CONSOLE MESSAGE: line 10: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. 2 2 -
trunk/LayoutTests/fast/events/remove-target-with-shadow-in-drag-expected.txt
r106488 r134618 1 CONSOLE MESSAGE: line 34: N OT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.2 CONSOLE MESSAGE: line 34: N OT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.1 CONSOLE MESSAGE: line 34: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. 2 CONSOLE MESSAGE: line 34: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. 3 3 PASS. DRT didn't crash. -
trunk/LayoutTests/fast/files/workers/worker-read-blob-sync-expected.txt
r120583 r134618 2 2 Received files in worker 3 3 Test reading a blob containing non-existent file 4 Received exception 1: N OT_FOUND_ERR5 Received exception 8: N OT_FOUND_ERR4 Received exception 1: NotFoundError 5 Received exception 8: NotFoundError 6 6 Test reading a blob containing existent and non-existent file 7 Received exception 1: N OT_FOUND_ERR8 Received exception 8: N OT_FOUND_ERR7 Received exception 1: NotFoundError 8 Received exception 8: NotFoundError 9 9 Test reading a blob containing empty file 10 10 result size: 0 11 11 result: 12 Received exception 8: N OT_FOUND_ERR12 Received exception 8: NotFoundError 13 13 Test reading a blob containing empty text 14 14 result size: 0 15 15 result: 16 Received exception 8: N OT_FOUND_ERR16 Received exception 8: NotFoundError 17 17 Test reading a blob containing empty files and empty texts 18 18 result size: 0 19 19 result: 20 Received exception 8: N OT_FOUND_ERR20 Received exception 8: NotFoundError 21 21 Test reading a blob containing single file 22 22 result size: 5 23 23 result: Hello 24 Received exception 8: N OT_FOUND_ERR24 Received exception 8: NotFoundError 25 25 Test reading a blob containing single text 26 26 result size: 5 27 27 result: First 28 Received exception 8: N OT_FOUND_ERR28 Received exception 8: NotFoundError 29 29 Test reading a blob containing single text as data URL 30 30 result size: 21 31 31 result: data:;base64,Rmlyc3Q= 32 Received exception 8: N OT_FOUND_ERR32 Received exception 8: NotFoundError 33 33 Test reading a blob containing single text as data URL (optional content type provided) 34 34 result size: 29 35 35 result: data:type/foo;base64,Rmlyc3Q= 36 Received exception 8: N OT_FOUND_ERR36 Received exception 8: NotFoundError 37 37 Test reading a blob containing single ArrayBuffer 38 38 result size: 9 39 39 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 40 Received exception 8: N OT_FOUND_ERR40 Received exception 8: NotFoundError 41 41 Test reading a blob containing sliced file 42 42 result size: 5 43 43 result: onder 44 Received exception 8: N OT_FOUND_ERR44 Received exception 8: NotFoundError 45 45 Test reading a blob containing sliced text 46 46 result size: 4 47 47 result: irst 48 Received exception 8: N OT_FOUND_ERR48 Received exception 8: NotFoundError 49 49 Test reading a blob containing sliced ArrayBuffer 50 50 result size: 8 51 51 result: 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 52 Received exception 8: N OT_FOUND_ERR52 Received exception 8: NotFoundError 53 53 Test reading a blob containing multiple files 54 54 result size: 19 55 55 result: HelloWonderfulWorld 56 Received exception 8: N OT_FOUND_ERR56 Received exception 8: NotFoundError 57 57 Test reading a blob containing multiple texts 58 58 result size: 16 59 59 result: FirstSecondThird 60 Received exception 8: N OT_FOUND_ERR60 Received exception 8: NotFoundError 61 61 Test reading a blob containing multiple ArrayBuffer 62 62 result size: 9 63 63 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 64 Received exception 8: N OT_FOUND_ERR64 Received exception 8: NotFoundError 65 65 Test reading a hybrid blob 66 66 result size: 38 67 67 result: FirstHelloSecondWonderfulWorldThird012 68 Received exception 8: N OT_FOUND_ERR68 Received exception 8: NotFoundError 69 69 Test reading a sliced hybrid blob 70 70 result size: 12 71 71 result: lloSecondWon 72 Received exception 8: N OT_FOUND_ERR72 Received exception 8: NotFoundError 73 73 Test reading a triple-sliced hybrid blob 74 74 result size: 30 75 75 result: ondWonderfulWorldThird012Foolo 76 Received exception 8: N OT_FOUND_ERR76 Received exception 8: NotFoundError 77 77 DONE 78 78 -
trunk/LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt
r107994 r134618 3 3 Test reading a non-existent file as array buffer 4 4 Received exception 1: NOT_FOUND_ERR 5 Received exception 8: N OT_FOUND_ERR5 Received exception 8: NotFoundError 6 6 Test reading a non-existent file as binary string 7 7 Received exception 1: NOT_FOUND_ERR 8 Received exception 8: N OT_FOUND_ERR8 Received exception 8: NotFoundError 9 9 Test reading a non-existent file as text 10 10 Received exception 1: NOT_FOUND_ERR 11 Received exception 8: N OT_FOUND_ERR11 Received exception 8: NotFoundError 12 12 Test reading a non-existent file as data URL 13 13 Received exception 1: NOT_FOUND_ERR 14 Received exception 8: N OT_FOUND_ERR14 Received exception 8: NotFoundError 15 15 Test reading an empty file as array buffer 16 16 result size: 0 17 17 result: 18 Received exception 8: N OT_FOUND_ERR18 Received exception 8: NotFoundError 19 19 Test reading an empty file as binary string 20 20 result size: 0 21 21 result: 22 Received exception 8: N OT_FOUND_ERR22 Received exception 8: NotFoundError 23 23 Test reading an empty file as text 24 24 result size: 0 25 25 result: 26 Received exception 8: N OT_FOUND_ERR26 Received exception 8: NotFoundError 27 27 Test reading an empty file as data URL 28 28 result size: 5 29 29 result: data: 30 Received exception 8: N OT_FOUND_ERR30 Received exception 8: NotFoundError 31 31 Test reading a UTF-8 file as array buffer 32 32 result size: 5 33 33 result: Hello 34 Received exception 8: N OT_FOUND_ERR34 Received exception 8: NotFoundError 35 35 Test reading a UTF-8 file as binary string 36 36 result size: 5 37 37 result: Hello 38 Received exception 8: N OT_FOUND_ERR38 Received exception 8: NotFoundError 39 39 Test reading a binary file as array buffer 40 40 result size: 9 41 41 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 42 Received exception 8: N OT_FOUND_ERR42 Received exception 8: NotFoundError 43 43 Test reading a binary file as binary string 44 44 result size: 9 45 45 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 46 Received exception 8: N OT_FOUND_ERR46 Received exception 8: NotFoundError 47 47 Test reading a UTF-8 file as text 48 48 result size: 5 49 49 result: Hello 50 Received exception 8: N OT_FOUND_ERR50 Received exception 8: NotFoundError 51 51 Test reading a UTF-16BE BOM file as text 52 52 result size: 5 53 53 result: Hello 54 Received exception 8: N OT_FOUND_ERR54 Received exception 8: NotFoundError 55 55 Test reading a UTF-16LE BOM file as text 56 56 result size: 5 57 57 result: Hello 58 Received exception 8: N OT_FOUND_ERR58 Received exception 8: NotFoundError 59 59 Test reading a UTF-8 BOM file as text 60 60 result size: 5 61 61 result: Hello 62 Received exception 8: N OT_FOUND_ERR62 Received exception 8: NotFoundError 63 63 Test reading a UTF-16BE file as text with UTF-16BE encoding 64 64 result size: 5 65 65 result: Hello 66 Received exception 8: N OT_FOUND_ERR66 Received exception 8: NotFoundError 67 67 Test reading a UTF-16BE BOM file as text with UTF8 encoding 68 68 result size: 5 69 69 result: Hello 70 Received exception 8: N OT_FOUND_ERR70 Received exception 8: NotFoundError 71 71 Test reading a UTF-16BE BOM file as text with invalid encoding 72 72 result size: 5 73 73 result: Hello 74 Received exception 8: N OT_FOUND_ERR74 Received exception 8: NotFoundError 75 75 Test reading a UTF-8 file as data URL 76 76 result size: 31 77 77 result: data:text/plain;base64,SGVsbG8= 78 Received exception 8: N OT_FOUND_ERR78 Received exception 8: NotFoundError 79 79 Test calling multiple read methods in a row 80 80 result size: 5 -
trunk/LayoutTests/fast/inspector-support/uncaught-dom8-exception-expected.txt
r51072 r134618 1 CONSOLE MESSAGE: line 9: N OT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.1 CONSOLE MESSAGE: line 9: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. 2 2 This tests that we are getting the correct message for DOM Exception 8: NOT_FOUND_ERR. -
trunk/LayoutTests/fast/js/dot-node-base-exception-expected.txt
r20291 r134618 4 4 5 5 6 PASS (document.appendChild()).foobar() threw exception Error: N OT_FOUND_ERR: DOM Exception 8.6 PASS (document.appendChild()).foobar() threw exception Error: NotFoundError: DOM Exception 8. 7 7 PASS successfullyParsed is true 8 8 -
trunk/LayoutTests/fast/js/script-tests/dot-node-base-exception.js
r98407 r134618 4 4 5 5 // Should be a DOM exception, not just some "TypeError: Null value". 6 shouldThrow('(document.appendChild()).foobar()', '"Error: N OT_FOUND_ERR: DOM Exception 8"');6 shouldThrow('(document.appendChild()).foobar()', '"Error: NotFoundError: DOM Exception 8"'); -
trunk/LayoutTests/fast/mutation/observe-exceptions-expected.txt
r121278 r134618 10 10 PASS observer.observe(document.body, null) threw exception Error: SYNTAX_ERR: DOM Exception 12. 11 11 PASS observer.observe(document.body, undefined) threw exception Error: SYNTAX_ERR: DOM Exception 12. 12 PASS observer.observe(null, {attributes: true}) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.13 PASS observer.observe(undefined, {attributes: true}) threw exception Error: N OT_FOUND_ERR: DOM Exception 8.12 PASS observer.observe(null, {attributes: true}) threw exception Error: NotFoundError: DOM Exception 8. 13 PASS observer.observe(undefined, {attributes: true}) threw exception Error: NotFoundError: DOM Exception 8. 14 14 PASS observer.observe(document.body, {subtree: true}) threw exception Error: SYNTAX_ERR: DOM Exception 12. 15 15 PASS observer.observe(document.body, {childList: true, attributeOldValue: true}) threw exception Error: SYNTAX_ERR: DOM Exception 12. -
trunk/LayoutTests/platform/chromium-win/fast/media/mq-js-media-except-01-expected.txt
r56268 r134618 11 11 text run at (0,0) width 53: "Success." 12 12 RenderBlock {P} at (0,72) size 784x20 13 RenderText {#text} at (0,0) size 4 91x1914 text run at (0,0) width 4 91: "Following exception was caught: Error: NOT_FOUND_ERR: DOM Exception 8"13 RenderText {#text} at (0,0) size 453x19 14 text run at (0,0) width 453: "Following exception was caught: Error: NotFoundError: DOM Exception 8" -
trunk/LayoutTests/platform/chromium/fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt
r119124 r134618 1 CONSOLE MESSAGE: line 7: Uncaught Error: N OT_FOUND_ERR: DOM Exception 81 CONSOLE MESSAGE: line 7: Uncaught Error: NotFoundError: DOM Exception 8 2 2 This passes if it does not crash. (see https://bugs.webkit.org/show_bug.cgi?id=18958) -
trunk/LayoutTests/platform/chromium/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt
r119124 r134618 1 CONSOLE MESSAGE: line 10: Uncaught Error: N OT_FOUND_ERR: DOM Exception 81 CONSOLE MESSAGE: line 10: Uncaught Error: NotFoundError: DOM Exception 8 2 2 -
trunk/LayoutTests/platform/chromium/fast/events/remove-target-with-shadow-in-drag-expected.txt
r106576 r134618 1 CONSOLE MESSAGE: line 34: Uncaught Error: N OT_FOUND_ERR: DOM Exception 82 CONSOLE MESSAGE: line 34: Uncaught Error: N OT_FOUND_ERR: DOM Exception 81 CONSOLE MESSAGE: line 34: Uncaught Error: NotFoundError: DOM Exception 8 2 CONSOLE MESSAGE: line 34: Uncaught Error: NotFoundError: DOM Exception 8 3 3 PASS. DRT didn't crash. -
trunk/LayoutTests/platform/chromium/fast/files/workers/worker-read-blob-sync-expected.txt
r120583 r134618 4 4 result size: 0 5 5 result: 6 Received exception 8: N OT_FOUND_ERR6 Received exception 8: NotFoundError 7 7 Test reading a blob containing existent and non-existent file 8 8 result size: 5 9 9 result: Hello 10 Received exception 8: N OT_FOUND_ERR10 Received exception 8: NotFoundError 11 11 Test reading a blob containing empty file 12 12 result size: 0 13 13 result: 14 Received exception 8: N OT_FOUND_ERR14 Received exception 8: NotFoundError 15 15 Test reading a blob containing empty text 16 16 result size: 0 17 17 result: 18 Received exception 8: N OT_FOUND_ERR18 Received exception 8: NotFoundError 19 19 Test reading a blob containing empty files and empty texts 20 20 result size: 0 21 21 result: 22 Received exception 8: N OT_FOUND_ERR22 Received exception 8: NotFoundError 23 23 Test reading a blob containing single file 24 24 result size: 5 25 25 result: Hello 26 Received exception 8: N OT_FOUND_ERR26 Received exception 8: NotFoundError 27 27 Test reading a blob containing single text 28 28 result size: 5 29 29 result: First 30 Received exception 8: N OT_FOUND_ERR30 Received exception 8: NotFoundError 31 31 Test reading a blob containing single text as data URL 32 32 result size: 21 33 33 result: data:;base64,Rmlyc3Q= 34 Received exception 8: N OT_FOUND_ERR34 Received exception 8: NotFoundError 35 35 Test reading a blob containing single text as data URL (optional content type provided) 36 36 result size: 29 37 37 result: data:type/foo;base64,Rmlyc3Q= 38 Received exception 8: N OT_FOUND_ERR38 Received exception 8: NotFoundError 39 39 Test reading a blob containing single ArrayBuffer 40 40 result size: 9 41 41 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 42 Received exception 8: N OT_FOUND_ERR42 Received exception 8: NotFoundError 43 43 Test reading a blob containing sliced file 44 44 result size: 5 45 45 result: onder 46 Received exception 8: N OT_FOUND_ERR46 Received exception 8: NotFoundError 47 47 Test reading a blob containing sliced text 48 48 result size: 4 49 49 result: irst 50 Received exception 8: N OT_FOUND_ERR50 Received exception 8: NotFoundError 51 51 Test reading a blob containing sliced ArrayBuffer 52 52 result size: 8 53 53 result: 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 54 Received exception 8: N OT_FOUND_ERR54 Received exception 8: NotFoundError 55 55 Test reading a blob containing multiple files 56 56 result size: 19 57 57 result: HelloWonderfulWorld 58 Received exception 8: N OT_FOUND_ERR58 Received exception 8: NotFoundError 59 59 Test reading a blob containing multiple texts 60 60 result size: 16 61 61 result: FirstSecondThird 62 Received exception 8: N OT_FOUND_ERR62 Received exception 8: NotFoundError 63 63 Test reading a blob containing multiple ArrayBuffer 64 64 result size: 9 65 65 result: 0x0 0x1 0x2 0x80 0x81 0x82 0xfd 0xfe 0xff 66 Received exception 8: N OT_FOUND_ERR66 Received exception 8: NotFoundError 67 67 Test reading a hybrid blob 68 68 result size: 38 69 69 result: FirstHelloSecondWonderfulWorldThird012 70 Received exception 8: N OT_FOUND_ERR70 Received exception 8: NotFoundError 71 71 Test reading a sliced hybrid blob 72 72 result size: 12 73 73 result: lloSecondWon 74 Received exception 8: N OT_FOUND_ERR74 Received exception 8: NotFoundError 75 75 Test reading a triple-sliced hybrid blob 76 76 result size: 30 77 77 result: ondWonderfulWorldThird012Foolo 78 Received exception 8: N OT_FOUND_ERR78 Received exception 8: NotFoundError 79 79 DONE 80 80 -
trunk/LayoutTests/platform/chromium/fast/inspector-support/uncaught-dom8-exception-expected.txt
r92646 r134618 1 CONSOLE MESSAGE: line 9: Uncaught Error: N OT_FOUND_ERR: DOM Exception 81 CONSOLE MESSAGE: line 9: Uncaught Error: NotFoundError: DOM Exception 8 2 2 This tests that we are getting the correct message for DOM Exception 8: NOT_FOUND_ERR. -
trunk/LayoutTests/platform/chromium/fast/media/mq-js-media-except-01-expected.txt
r131694 r134618 12 12 RenderBlock {P} at (0,68) size 784x18 13 13 RenderText {#text} at (0,0) size 519x18 14 text run at (0,0) width 519: "Following exception was caught: Error: N OT_FOUND_ERR: DOM Exception 8"14 text run at (0,0) width 519: "Following exception was caught: Error: NotFoundError: DOM Exception 8" -
trunk/LayoutTests/platform/efl/fast/media/mq-js-media-except-01-expected.txt
r106181 r134618 12 12 RenderBlock {P} at (0,68) size 784x18 13 13 RenderText {#text} at (0,0) size 519x19 14 text run at (0,0) width 519: "Following exception was caught: Error: N OT_FOUND_ERR: DOM Exception 8"14 text run at (0,0) width 519: "Following exception was caught: Error: NotFoundError: DOM Exception 8" -
trunk/LayoutTests/platform/gtk/fast/events/remove-target-with-shadow-in-drag-expected.txt
r115020 r134618 1 CONSOLE MESSAGE: line 34: N OT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist.1 CONSOLE MESSAGE: line 34: NotFoundError: DOM Exception 8: An attempt was made to reference a Node in a context where it does not exist. 2 2 PASS. DRT didn't crash. -
trunk/LayoutTests/platform/gtk/fast/media/mq-js-media-except-01-expected.txt
r114836 r134618 12 12 RenderBlock {P} at (0,68) size 784x18 13 13 RenderText {#text} at (0,0) size 519x19 14 text run at (0,0) width 519: "Following exception was caught: Error: N OT_FOUND_ERR: DOM Exception 8"14 text run at (0,0) width 519: "Following exception was caught: Error: NotFoundError: DOM Exception 8" -
trunk/LayoutTests/platform/mac/fast/media/mq-js-media-except-01-expected.txt
r30635 r134618 11 11 text run at (0,0) width 54: "Success." 12 12 RenderBlock {P} at (0,68) size 784x18 13 RenderText {#text} at (0,0) size 519x1814 text run at (0,0) width 519: "Following exception was caught: Error: NOT_FOUND_ERR: DOM Exception 8"13 RenderText {#text} at (0,0) size 478x18 14 text run at (0,0) width 478: "Following exception was caught: Error: NotFoundError: DOM Exception 8" -
trunk/LayoutTests/platform/qt/fast/media/mq-js-media-except-01-expected.txt
r123100 r134618 12 12 RenderBlock {P} at (0,70) size 784x19 13 13 RenderText {#text} at (0,0) size 491x19 14 text run at (0,0) width 491: "Following exception was caught: Error: N OT_FOUND_ERR: DOM Exception 8"14 text run at (0,0) width 491: "Following exception was caught: Error: NotFoundError: DOM Exception 8" -
trunk/Source/WebCore/ChangeLog
r134615 r134618 1 2012-11-14 Erik Arvidsson <arv@chromium.org> 2 3 Update DOMException name: NotFoundError 4 https://bugs.webkit.org/show_bug.cgi?id=102137 5 6 Reviewed by Ojan Vafai. 7 8 Patch 8 of 25 to update DOMException name to match the spec and Firefox. 9 10 Updated existing tests. 11 12 * dom/DOMCoreException.cpp: 13 1 14 2012-11-14 Otto Derek Cheung <otcheung@rim.com> 2 15 -
trunk/Source/WebCore/dom/DOMCoreException.cpp
r134613 r134618 43 43 { "NoDataAllowedError", "Data was specified for a Node which does not support data." }, 44 44 { "NO_MODIFICATION_ALLOWED_ERR", "An attempt was made to modify an object where modifications are not allowed." }, 45 { "N OT_FOUND_ERR", "An attempt was made to reference a Node in a context where it does not exist." },45 { "NotFoundError", "An attempt was made to reference a Node in a context where it does not exist." }, 46 46 { "NOT_SUPPORTED_ERR", "The implementation did not support the requested type of object or operation." }, 47 47 { "INUSE_ATTRIBUTE_ERR", "An attempt was made to add an attribute that is already in use elsewhere." },
Note:
See TracChangeset
for help on using the changeset viewer.