Changeset 134785 in webkit
- Timestamp:
- Nov 15, 2012 9:08:49 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 32 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r134783 r134785 1 2012-11-15 Erik Arvidsson <arv@chromium.org> 2 3 Update DOMException name: NoModificationAllowedError 4 https://bugs.webkit.org/show_bug.cgi?id=102134 5 6 Reviewed by Ojan Vafai. 7 8 Updated tests and expectations. 9 10 * dom/xhtml/level1/core/hc_nodevalue03-expected.txt: 11 * fast/dom/EntityReference/readonly-exceptions-expected.txt: 12 * fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt: 13 * fast/dom/HTMLElement/script-tests/insertAdjacentHTML-errors.js: 14 * fast/dom/computed-style-set-property-expected.txt: 15 * fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt: 16 * fast/dom/outerText-no-element-expected.txt: 17 * fast/dom/setPrimitiveValue-exceptions-expected.txt: 18 * fast/dom/setPrimitiveValue-expected.txt: 19 * fast/dynamic/outerHTML-no-element-expected.txt: 20 * fast/frames/out-of-document-iframe-has-child-frame-expected.txt: 21 * platform/chromium-mac/fast/dom/setPrimitiveValue-exceptions-expected.txt: 22 * platform/chromium-win/fast/dom/setPrimitiveValue-exceptions-expected.txt: 23 * platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt: 24 * platform/chromium/fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt: 25 * platform/chromium/fast/frames/out-of-document-iframe-has-child-frame-expected.txt: 26 * platform/chromium/svg/custom/baseval-animval-equality-expected.txt: 27 * platform/gtk/svg/custom/baseval-animval-equality-expected.txt: 28 * platform/mac/svg/custom/baseval-animval-equality-expected.txt: 29 * platform/qt/svg/custom/baseval-animval-equality-expected.txt: 30 * platform/qt/svg/dom/altGlyph-dom-expected.txt: 31 * svg/animations/animate-gradient-transform-expected.txt: 32 * svg/dom/SVGColor-expected.txt: 33 * svg/dom/SVGLengthList-basics-expected.txt: 34 * svg/dom/SVGNumberList-basics-expected.txt: 35 * svg/dom/SVGPaint-expected.txt: 36 * svg/dom/SVGTransformList-basics-expected.txt: 37 * svg/dom/SVGViewSpec-defaults-expected.txt: 38 * svg/dom/altGlyph-dom-expected.txt: 39 1 40 2012-11-15 Eric Carlson <eric.carlson@apple.com> 2 41 -
trunk/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt
r12450 r134785 1 1 Test http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03 2 2 Status error 3 Message Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 73 Message Error: NoModificationAllowedError: DOM Exception 7 -
trunk/LayoutTests/fast/dom/EntityReference/readonly-exceptions-expected.txt
r30635 r134785 4 4 5 5 6 PASS xmlDoc2.adoptNode(entityReference) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.6 PASS xmlDoc2.adoptNode(entityReference) threw exception Error: NoModificationAllowedError: DOM Exception 7. 7 7 PASS entityReference.ownerDocument is xmlDoc 8 PASS entityReference.nodeValue = 'foo' threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.8 PASS entityReference.nodeValue = 'foo' threw exception Error: NoModificationAllowedError: DOM Exception 7. 9 9 PASS entityReference.nodeValue is null 10 10 PASS entityReference.prefix = 'foo' threw exception Error: NAMESPACE_ERR: DOM Exception 14. 11 11 PASS entityReference.prefix is null 12 PASS entityReference.textContent = 'foo' threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.12 PASS entityReference.textContent = 'foo' threw exception Error: NoModificationAllowedError: DOM Exception 7. 13 13 FAIL entityReference.textContent should be >. Was . 14 14 FAIL childrenBeforeFailedAppend should be 1. Was 0. 15 PASS entityReference.appendChild(text) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.15 PASS entityReference.appendChild(text) threw exception Error: NoModificationAllowedError: DOM Exception 7. 16 16 PASS entityReference.childNodes.length is childrenBeforeFailedAppend 17 17 FAIL childrenBeforeFailedAppend should be 1. Was 0. 18 PASS entityReference.insertBefore(text, entityReference.firstChild) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.18 PASS entityReference.insertBefore(text, entityReference.firstChild) threw exception Error: NoModificationAllowedError: DOM Exception 7. 19 19 PASS entityReference.childNodes.length is childrenBeforeFailedAppend 20 20 PASS successfullyParsed is true -
trunk/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt
r65134 r134785 7 7 PASS div.insertAdjacentHTML('afterEnd', 'text') is undefined. 8 8 PASS div.insertAdjacentHTML('FOO', 'text') threw exception Error: SYNTAX_ERR: DOM Exception 12. 9 PASS document.documentElement.insertAdjacentHTML('afterEnd', 'text') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.9 PASS document.documentElement.insertAdjacentHTML('afterEnd', 'text') threw exception Error: NoModificationAllowedError: DOM Exception 7. 10 10 PASS successfullyParsed is true 11 11 -
trunk/LayoutTests/fast/dom/HTMLElement/script-tests/insertAdjacentHTML-errors.js
r98407 r134785 7 7 8 8 shouldThrow("div.insertAdjacentHTML('FOO', 'text')", '"Error: SYNTAX_ERR: DOM Exception 12"'); 9 shouldThrow("document.documentElement.insertAdjacentHTML('afterEnd', 'text')", '"Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7"');9 shouldThrow("document.documentElement.insertAdjacentHTML('afterEnd', 'text')", '"Error: NoModificationAllowedError: DOM Exception 7"'); -
trunk/LayoutTests/fast/dom/computed-style-set-property-expected.txt
r18406 r134785 2 2 3 3 Computed style parent (should be null): null 4 PASS: got an exception when trying to change a computed style declaration, Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 74 PASS: got an exception when trying to change a computed style declaration, Error: NoModificationAllowedError: DOM Exception 7 5 5 6 PASS: got an exception when trying to change a computed style declaration via setProperty, Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 76 PASS: got an exception when trying to change a computed style declaration via setProperty, Error: NoModificationAllowedError: DOM Exception 7 -
trunk/LayoutTests/fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt
r104454 r134785 1 CONSOLE MESSAGE: line 9: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7: An attempt was made to modify an object where modifications are not allowed.1 CONSOLE MESSAGE: line 9: NoModificationAllowedError: DOM Exception 7: An attempt was made to modify an object where modifications are not allowed. 2 2 This test passes if it doesn't crash (or ASSERT). -
trunk/LayoutTests/fast/dom/outerText-no-element-expected.txt
r21687 r134785 3 3 4 4 this is a big test or something 5 Expected error - Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 75 Expected error - Error: NoModificationAllowedError: DOM Exception 7 -
trunk/LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt
r108157 r134785 7 7 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 8 8 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 14 14 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 15 15 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. … … 22 22 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 23 23 PASS fontFamily.getStringValue() is "Times" 24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 29 29 PASS fontFamily.getFloatValue() threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 30 30 PASS fontFamily.getCounterValue() threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. … … 35 35 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 36 36 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 42 42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 43 43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. -
trunk/LayoutTests/fast/dom/setPrimitiveValue-expected.txt
r111387 r134785 1 1 Test CSSPrimitiveValue setters. 2 setFloatValue N O_MODIFICATION_ALLOWED_ERR: DOM Exception 72 setFloatValue NoModificationAllowedError: DOM Exception 7 -
trunk/LayoutTests/fast/dynamic/outerHTML-no-element-expected.txt
r21687 r134785 3 3 If the test fails, Safari may crash, or you may see a failure message below. If the test passes, you should see a message with a description of the expected exception. 4 4 5 This test passed - expected error - Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 75 This test passed - expected error - Error: NoModificationAllowedError: DOM Exception 7 -
trunk/LayoutTests/platform/chromium-mac/fast/dom/setPrimitiveValue-exceptions-expected.txt
r108173 r134785 7 7 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 8 8 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 14 14 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 15 15 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. … … 22 22 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 23 23 PASS fontFamily.getStringValue() is "Times" 24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 29 29 PASS fontFamily.getFloatValue() threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 30 30 PASS fontFamily.getCounterValue() threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. … … 35 35 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 36 36 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 42 42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 43 43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. -
trunk/LayoutTests/platform/chromium-win/fast/dom/setPrimitiveValue-exceptions-expected.txt
r108173 r134785 7 7 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 8 8 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 14 14 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 15 15 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. … … 22 22 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 23 23 PASS fontFamily.getStringValue() is "Times" 24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 29 29 PASS fontFamily.getFloatValue() threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 30 30 PASS fontFamily.getCounterValue() threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. … … 35 35 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 36 36 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 42 42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. 43 43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: INVALID_ACCESS_ERR: DOM Exception 15. -
trunk/LayoutTests/platform/chromium-win/svg/custom/baseval-animval-equality-expected.txt
r75351 r134785 31 31 text run at (0,0) width 186: "setting svg.x.animVal.value = 5" 32 32 RenderBlock {div} at (0,160) size 600x20 33 RenderText {#text} at (0,0) size 4 97x1934 text run at (0,0) width 4 97: "caught exception: NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7"33 RenderText {#text} at (0,0) size 407x19 34 text run at (0,0) width 407: "caught exception: NoModificationAllowedError: DOM Exception 7" 35 35 RenderBlock {div} at (0,180) size 600x20 36 36 RenderText {#text} at (0,0) size 152x19 -
trunk/LayoutTests/platform/chromium/fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt
r104454 r134785 1 CONSOLE MESSAGE: line 9: Uncaught Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 71 CONSOLE MESSAGE: line 9: Uncaught Error: NoModificationAllowedError: DOM Exception 7 2 2 This test passes if it doesn't crash (or ASSERT). -
trunk/LayoutTests/platform/chromium/svg/custom/baseval-animval-equality-expected.txt
r131696 r134785 32 32 RenderBlock {div} at (0,144) size 600x18 33 33 RenderText {#text} at (0,0) size 521x18 34 text run at (0,0) width 521: "caught exception: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7"34 text run at (0,0) width 521: "caught exception: NoModificationAllowedError: DOM Exception 7" 35 35 RenderBlock {div} at (0,162) size 600x18 36 36 RenderText {#text} at (0,0) size 160x18 -
trunk/LayoutTests/platform/gtk/svg/custom/baseval-animval-equality-expected.txt
r114836 r134785 32 32 RenderBlock {div} at (0,144) size 600x18 33 33 RenderText {#text} at (0,0) size 521x19 34 text run at (0,0) width 521: "caught exception: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7"34 text run at (0,0) width 521: "caught exception: NoModificationAllowedError: DOM Exception 7" 35 35 RenderBlock {div} at (0,162) size 600x18 36 36 RenderText {#text} at (0,0) size 160x19 -
trunk/LayoutTests/platform/mac/svg/custom/baseval-animval-equality-expected.txt
r75351 r134785 32 32 RenderBlock {div} at (0,144) size 600x18 33 33 RenderText {#text} at (0,0) size 521x18 34 text run at (0,0) width 521: "caught exception: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7"34 text run at (0,0) width 521: "caught exception: NoModificationAllowedError: DOM Exception 7" 35 35 RenderBlock {div} at (0,162) size 600x18 36 36 RenderText {#text} at (0,0) size 160x18 -
trunk/LayoutTests/platform/qt/svg/custom/baseval-animval-equality-expected.txt
r123896 r134785 32 32 RenderBlock {div} at (0,152) size 600x19 33 33 RenderText {#text} at (0,0) size 497x19 34 text run at (0,0) width 497: "caught exception: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7"34 text run at (0,0) width 497: "caught exception: NoModificationAllowedError: DOM Exception 7" 35 35 RenderBlock {div} at (0,171) size 600x19 36 36 RenderText {#text} at (0,0) size 152x19 -
trunk/LayoutTests/platform/qt/svg/dom/altGlyph-dom-expected.txt
r117260 r134785 8 8 PASS altGlyph.namespaceURI is "http://www.w3.org/2000/svg" 9 9 PASS altGlyph.format is "image/svg+xml" 10 PASS altGlyph.format = 'x' threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.10 PASS altGlyph.format = 'x' threw exception Error: NoModificationAllowedError: DOM Exception 7. 11 11 PASS altGlyph.getStartPositionOfChar(0).x is 0 12 12 PASS successfullyParsed is true -
trunk/LayoutTests/svg/animations/animate-gradient-transform-expected.txt
r110838 r134785 6 6 7 7 8 PASS gradient.gradientTransform.animVal.consolidate() threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.8 PASS gradient.gradientTransform.animVal.consolidate() threw exception Error: NoModificationAllowedError: DOM Exception 7. 9 9 PASS gradient.gradientTransform.animVal.numberOfItems is 1 10 10 PASS gradient.gradientTransform.animVal.getItem(0).matrix.e is 0 -
trunk/LayoutTests/svg/dom/SVGColor-expected.txt
r99749 r134785 16 16 17 17 Try invalid arguments for setColor() 18 PASS stopColor.setColor(null, null, null) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.19 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, svgElement, ''); threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.20 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.21 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR + 1, '', ''); threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.18 PASS stopColor.setColor(null, null, null) threw exception Error: NoModificationAllowedError: DOM Exception 7. 19 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, svgElement, ''); threw exception Error: NoModificationAllowedError: DOM Exception 7. 20 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 21 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR + 1, '', ''); threw exception Error: NoModificationAllowedError: DOM Exception 7. 22 22 PASS stopColor.setColor() threw exception TypeError: Not enough arguments. 23 23 PASS stopColor.setColor(stopColor) threw exception TypeError: Not enough arguments. … … 30 30 31 31 Test using setColor() and SVG_COLORTYPE_UNKNOWN 32 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.33 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, 'rgb(0,128,128)', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.34 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.35 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.32 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 33 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, 'rgb(0,128,128)', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 34 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 35 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_UNKKNOWN, 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 36 36 37 37 Test using setColor() and SVG_COLORTYPE_RGBCOLOR_ICCCOLOR 38 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.38 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 39 39 PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR 40 40 PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR … … 47 47 48 48 Test using setColor() and SVG_COLORTYPE_CURRENTCOLOR 49 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR, 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.49 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR, 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 50 50 PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR 51 51 PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR … … 58 58 59 59 Test using setColor() and SVG_COLORTYPE_RGBCOLOR 60 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, 'rgb(0,77,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.60 PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, 'rgb(0,77,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 61 61 PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR 62 62 PASS stopColor.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR -
trunk/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
r134613 r134785 118 118 119 119 Testing animVal clear throws 120 PASS text1.x.animVal.clear() threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.120 PASS text1.x.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7. 121 121 PASS text1.x.baseVal.clear() is undefined. 122 122 PASS successfullyParsed is true -
trunk/LayoutTests/svg/dom/SVGNumberList-basics-expected.txt
r134613 r134785 119 119 120 120 Testing animVal clear throws 121 PASS text1.rotate.animVal.clear() threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.121 PASS text1.rotate.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7. 122 122 PASS text1.rotate.baseVal.clear() is undefined. 123 123 PASS successfullyParsed is true -
trunk/LayoutTests/svg/dom/SVGPaint-expected.txt
r99749 r134785 18 18 19 19 Try invalid arguments for setPaint() 20 PASS fillPaint.setPaint(null, null, null, null) threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.21 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, svgElement, '', ''); threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.20 PASS fillPaint.setPaint(null, null, null, null) threw exception Error: NoModificationAllowedError: DOM Exception 7. 21 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, svgElement, '', ''); threw exception Error: NoModificationAllowedError: DOM Exception 7. 22 22 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, '', '') threw exception TypeError: Not enough arguments. 23 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR + 1, '', '', ''); threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.24 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE - 1, '', '', ''); threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.25 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI + 1, '', '', ''); threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.23 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR + 1, '', '', ''); threw exception Error: NoModificationAllowedError: DOM Exception 7. 24 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE - 1, '', '', ''); threw exception Error: NoModificationAllowedError: DOM Exception 7. 25 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI + 1, '', '', ''); threw exception Error: NoModificationAllowedError: DOM Exception 7. 26 26 PASS fillPaint.setPaint() threw exception TypeError: Not enough arguments. 27 27 PASS fillPaint.setPaint(fillPaint) threw exception TypeError: Not enough arguments. … … 37 37 38 38 Test using setPaint() and SVG_PAINTTYPE_UNKNOWN 39 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.40 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, 'url(#foo)', '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.41 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', 'rgb(0,128,128)', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.42 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.43 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.39 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 40 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, 'url(#foo)', '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 41 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', 'rgb(0,128,128)', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 42 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 43 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_UNKKNOWN, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 44 44 45 45 Test using setPaint() and SVG_PAINTTYPE_NONE - a 46 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.46 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 47 47 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 48 48 PASS rectElement.style.fill is "#008000" … … 56 56 57 57 Test using setPaint() and SVG_PAINTTYPE_NONE - b 58 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, 'url(#foo)', '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.58 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, 'url(#foo)', '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 59 59 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 60 60 PASS rectElement.style.fill is "#008000" … … 68 68 69 69 Test using setPaint() and SVG_PAINTTYPE_NONE - c 70 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', 'rgb(0,128,128)', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.70 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', 'rgb(0,128,128)', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 71 71 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 72 72 PASS rectElement.style.fill is "#008000" … … 80 80 81 81 Test using setPaint() and SVG_PAINTTYPE_NONE - d 82 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.82 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 83 83 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 84 84 PASS rectElement.style.fill is "#008000" … … 92 92 93 93 Test using setPaint() and SVG_PAINTTYPE_NONE - e 94 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.94 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 95 95 PASS rectElement.style.fill is "#008000" 96 96 PASS document.defaultView.getComputedStyle(rectElement).fill is "#008000" 97 97 98 98 Test using setPaint() and SVG_PAINTTYPE_URI - a 99 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.99 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 100 100 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 101 101 PASS rectElement.style.fill is "#008000" … … 103 103 104 104 Test using setPaint() and SVG_PAINTTYPE_URI - b 105 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', 'rgb(0,128,128)', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.105 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', 'rgb(0,128,128)', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 106 106 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 107 107 PASS rectElement.style.fill is "#008000" … … 109 109 110 110 Test using setPaint() and SVG_PAINTTYPE_URI - c 111 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.111 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, '', '', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 112 112 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 113 113 PASS rectElement.style.fill is "#008000" … … 115 115 116 116 Test using setPaint() and SVG_PAINTTYPE_URI - d 117 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, 'url(#test)', '', '') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.117 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, 'url(#test)', '', '') threw exception Error: NoModificationAllowedError: DOM Exception 7. 118 118 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 119 119 PASS fillPaint.uri is "" … … 133 133 134 134 Test using setPaint() and SVG_PAINTTYPE_URI - e 135 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.135 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 136 136 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 137 137 PASS fillPaint.uri is "" … … 145 145 146 146 Test using setPaint() and SVG_PAINTTYPE_URI_NONE 147 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_NONE, 'url(#test)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.147 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_NONE, 'url(#test)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 148 148 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 149 149 PASS fillPaint.uri is "" … … 157 157 158 158 Test using setPaint() and SVG_PAINTTYPE_URI_CURRENTCOLOR 159 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.159 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR, 'url(#foo)', 'rgb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 160 160 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 161 161 PASS fillPaint.uri is "" … … 169 169 170 170 Test using setPaint() and SVG_PAINTTYPE_URI_RGBCOLOR 171 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR, 'url(#test)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.171 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR, 'url(#test)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 172 172 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 173 173 PASS fillPaint.uri is "" … … 181 181 182 182 Test using setPaint() and SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR 183 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR, 'url(#foo)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.183 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR, 'url(#foo)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 184 184 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 185 185 PASS fillPaint.uri is "" … … 193 193 194 194 Test using setPaint() and SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR 195 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, 'url(#test)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.195 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR, 'url(#test)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 196 196 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 197 197 PASS fillPaint.uri is "" … … 205 205 206 206 Test using setPaint() and SVG_PAINTTYPE_CURRENTCOLOR 207 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR, 'url(#foo)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.207 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR, 'url(#foo)', 'rgb(77,0,77)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 208 208 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 209 209 PASS fillPaint.uri is "" … … 217 217 218 218 Test using setPaint() and SVG_PAINTTYPE_RGBCOLOR 219 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, 'url(#test)', 'rgb(0,77,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.219 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, 'url(#test)', 'rgb(0,77,0)', 'icc-color(myRGB, 0, 1, 2)') threw exception Error: NoModificationAllowedError: DOM Exception 7. 220 220 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 221 221 PASS fillPaint.uri is "" -
trunk/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
r134613 r134785 117 117 118 118 Testing animVal clear throws 119 PASS circle1.transform.animVal.clear() threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.119 PASS circle1.transform.animVal.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7. 120 120 PASS circle1.transform.baseVal.clear() is undefined. 121 121 -
trunk/LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt
r118735 r134785 22 22 23 23 Try changing zoomAndPan - none of these will work, as SVGViewSpec is fully readonly - even the animated properties it inherits from parent classes like SVGZoomAndPan/SVGFitToViewBox 24 PASS currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.24 PASS currentView.zoomAndPan = SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE threw exception Error: NoModificationAllowedError: DOM Exception 7. 25 25 PASS currentView.zoomAndPan is SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY 26 26 27 27 Try changing viewBox - this has no affect on the SVGSVGElement the viewSpec belongs to - it exposed all its properties as read-only 28 PASS currentView.viewBox.baseVal.x = 10 threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.28 PASS currentView.viewBox.baseVal.x = 10 threw exception Error: NoModificationAllowedError: DOM Exception 7. 29 29 PASS currentView.viewBox.baseVal.x is 0 30 PASS currentView.viewBox.baseVal.y = 20 threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.30 PASS currentView.viewBox.baseVal.y = 20 threw exception Error: NoModificationAllowedError: DOM Exception 7. 31 31 PASS currentView.viewBox.baseVal.y is 0 32 PASS currentView.viewBox.baseVal.width = 50 threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.32 PASS currentView.viewBox.baseVal.width = 50 threw exception Error: NoModificationAllowedError: DOM Exception 7. 33 33 PASS currentView.viewBox.baseVal.width is 0 34 PASS currentView.viewBox.baseVal.height = 100 threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.34 PASS currentView.viewBox.baseVal.height = 100 threw exception Error: NoModificationAllowedError: DOM Exception 7. 35 35 PASS currentView.viewBox.baseVal.height is 0 36 36 PASS currentView.viewBoxString is "0 0 0 0" … … 41 41 42 42 Try changing preserveAspectRatio 43 PASS currentView.preserveAspectRatio.baseVal.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.43 PASS currentView.preserveAspectRatio.baseVal.align = SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN threw exception Error: NoModificationAllowedError: DOM Exception 7. 44 44 PASS currentView.preserveAspectRatio.baseVal.align is SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID 45 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.45 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice = SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE threw exception Error: NoModificationAllowedError: DOM Exception 7. 46 46 PASS currentView.preserveAspectRatio.baseVal.meetOrSlice is SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET 47 47 … … 63 63 64 64 Try changing transform 65 PASS currentView.transform.clear() threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.65 PASS currentView.transform.clear() threw exception Error: NoModificationAllowedError: DOM Exception 7. 66 66 PASS currentView.transform.numberOfItems is 0 67 67 PASS successfullyParsed is true -
trunk/LayoutTests/svg/dom/altGlyph-dom-expected.txt
r61393 r134785 8 8 PASS altGlyph.namespaceURI is "http://www.w3.org/2000/svg" 9 9 PASS altGlyph.format is "image/svg+xml" 10 PASS altGlyph.format = 'x' threw exception Error: N O_MODIFICATION_ALLOWED_ERR: DOM Exception 7.10 PASS altGlyph.format = 'x' threw exception Error: NoModificationAllowedError: DOM Exception 7. 11 11 FAIL altGlyph.getStartPositionOfChar(0).x should be 0. Was 72. 12 12 PASS successfullyParsed is true -
trunk/Source/WebCore/ChangeLog
r134784 r134785 1 2012-11-15 Erik Arvidsson <arv@chromium.org> 2 3 Update DOMException name: NoModificationAllowedError 4 https://bugs.webkit.org/show_bug.cgi?id=102134 5 6 Reviewed by Ojan Vafai. 7 8 Patch 7 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-15 Miguel Garcia <miguelg@chromium.org> 2 15 -
trunk/Source/WebCore/dom/DOMCoreException.cpp
r134720 r134785 42 42 { "InvalidCharacterError", "An invalid or illegal character was specified, such as in an XML name." }, 43 43 { "NoDataAllowedError", "Data was specified for a Node which does not support data." }, 44 { "N O_MODIFICATION_ALLOWED_ERR", "An attempt was made to modify an object where modifications are not allowed." },44 { "NoModificationAllowedError", "An attempt was made to modify an object where modifications are not allowed." }, 45 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." },
Note: See TracChangeset
for help on using the changeset viewer.