Changeset 100727 in webkit
- Timestamp:
- Nov 17, 2011 10:57:05 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r100721 r100727 1 2011-11-17 Kaustubh Atrawalkar <kaustubh@motorola.com> 2 3 Remove initProgressEvent method 4 https://bugs.webkit.org/show_bug.cgi?id=71340 5 6 Reviewed by Adam Barth. 7 8 This method has been removed from the spec draft. 9 http://www.w3.org/TR/progress-events/#interface-progressevent 10 11 No new tests. Removed method. Updated expected results. 12 13 * fast/dom/non-numeric-values-numeric-parameters-expected.txt: 14 * fast/dom/script-tests/non-numeric-values-numeric-parameters.js: 15 * fast/events/init-events-expected.txt: 16 * fast/events/script-tests/init-events.js: 17 * fast/xmlhttprequest/xmlhttprequest-get-expected.txt: 18 * platform/chromium-cg-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt: 19 * platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt: 20 * platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-get-expected.txt: 21 1 22 2011-11-17 Adam Klein <adamk@chromium.org> 2 23 -
trunk/LayoutTests/fast/dom/non-numeric-values-numeric-parameters-expected.txt
r29963 r100727 52 52 PASS nonNumericPolicy('document.createNodeIterator(document, x, null, false)') is 'any type allowed' 53 53 PASS nonNumericPolicy('document.getElementsByTagName("div").item(x)') is 'any type allowed' 54 PASS nonNumericPolicy('document.createEvent("ProgressEvent").initProgressEvent("a", false, false, false, x, 0)') is 'any type allowed'55 PASS nonNumericPolicy('document.createEvent("ProgressEvent").initProgressEvent("a", false, false, false, 0, x)') is 'any type allowed'56 54 PASS nonNumericPolicy('document.createRange().setStart(document, x)') is 'any type allowed' 57 55 PASS nonNumericPolicy('document.createRange().setEnd(document, x)') is 'any type allowed' -
trunk/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js
r98407 r100727 301 301 302 302 shouldBe("nonNumericPolicy('document.getElementsByTagName(\"div\").item(x)')", "'any type allowed'"); 303 304 // ProgressEvent305 306 shouldBe("nonNumericPolicy('document.createEvent(\"ProgressEvent\").initProgressEvent(\"a\", false, false, false, x, 0)')", "'any type allowed'");307 shouldBe("nonNumericPolicy('document.createEvent(\"ProgressEvent\").initProgressEvent(\"a\", false, false, false, 0, x)')", "'any type allowed'");308 303 309 304 // Range -
trunk/LayoutTests/fast/events/init-events-expected.txt
r99435 r100727 117 117 PASS testInitEvent('Mutation', '"a", false, false, null, "b", "c", null, 1001').attrName is 'null' 118 118 PASS testInitEvent('Mutation', '"a", false, false, null, "b", "c", "d", 1001').attrChange is 1001 119 PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').type is 'a'120 PASS testInitEvent('Progress', 'null, false, false, false, 1001, 1002').type is 'null'121 PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').bubbles is false122 PASS testInitEvent('Progress', '"a", true, false, false, 1001, 1002').bubbles is true123 PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').cancelable is false124 PASS testInitEvent('Progress', '"a", false, true, false, 1001, 1002').cancelable is true125 PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').lengthComputable is false126 PASS testInitEvent('Progress', '"a", false, false, true, 1001, 1002').lengthComputable is true127 PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').loaded is 1001128 PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').total is 1002129 119 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').type is 'a' 130 120 PASS testInitEvent('Storage', 'null, false, false, "b", "c", "d", "e"').type is 'null' -
trunk/LayoutTests/fast/events/script-tests/init-events.js
r99435 r100727 131 131 shouldBe("testInitEvent('Mutation', '\"a\", false, false, null, \"b\", \"c\", \"d\", 1001').attrChange", "1001"); 132 132 133 shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').type", "'a'");134 shouldBe("testInitEvent('Progress', 'null, false, false, false, 1001, 1002').type", "'null'");135 shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').bubbles", "false");136 shouldBe("testInitEvent('Progress', '\"a\", true, false, false, 1001, 1002').bubbles", "true");137 shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').cancelable", "false");138 shouldBe("testInitEvent('Progress', '\"a\", false, true, false, 1001, 1002').cancelable", "true");139 shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').lengthComputable", "false");140 shouldBe("testInitEvent('Progress', '\"a\", false, false, true, 1001, 1002').lengthComputable", "true");141 shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').loaded", "1001");142 shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').total", "1002");143 144 133 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').type", "'a'"); 145 134 shouldBe("testInitEvent('Storage', 'null, false, false, \"b\", \"c\", \"d\", \"e\"').type", "'null'"); -
trunk/LayoutTests/fast/xmlhttprequest/xmlhttprequest-get-expected.txt
r56203 r100727 53 53 [native code] 54 54 }' 55 initProgressEvent : 'function initProgressEvent() {56 [native code]57 }'58 55 lengthComputable : 'false' 59 56 loaded : '0' -
trunk/LayoutTests/platform/chromium-cg-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt
r74097 r100727 51 51 eventPhase : '2' 52 52 initEvent : 'function initEvent() { [native code] }' 53 initProgressEvent : 'function initProgressEvent() { [native code] }'54 53 lengthComputable : 'false' 55 54 loaded : '0' -
trunk/LayoutTests/platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt
r94341 r100727 51 51 eventPhase : '2' 52 52 initEvent : 'function initEvent() { [native code] }' 53 initProgressEvent : 'function initProgressEvent() { [native code] }'54 53 lengthComputable : 'false' 55 54 loaded : '0' -
trunk/LayoutTests/platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-get-expected.txt
r74097 r100727 51 51 eventPhase : '2' 52 52 initEvent : 'function initEvent() { [native code] }' 53 initProgressEvent : 'function initProgressEvent() { [native code] }'54 53 lengthComputable : 'false' 55 54 loaded : '0' -
trunk/Source/WebCore/ChangeLog
r100726 r100727 1 2011-11-17 Kaustubh Atrawalkar <kaustubh@motorola.com> 2 3 Remove initProgressEvent method 4 https://bugs.webkit.org/show_bug.cgi?id=71340 5 6 Reviewed by Adam Barth. 7 8 This method has been removed from the spec draft. 9 http://www.w3.org/TR/progress-events/#interface-progressevent 10 11 No new tests. Removed method. 12 13 * dom/ProgressEvent.cpp: 14 * dom/ProgressEvent.h: 15 * dom/ProgressEvent.idl: 16 1 17 2011-11-17 Eunmi Lee <eunmi15.lee@samsung.com> 2 18 -
trunk/Source/WebCore/dom/ProgressEvent.cpp
r98044 r100727 61 61 } 62 62 63 void ProgressEvent::initProgressEvent(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg,64 bool lengthComputableArg, unsigned long long loadedArg, unsigned long long totalArg)65 {66 if (dispatched())67 return;68 69 initEvent(typeArg, canBubbleArg, cancelableArg);70 71 m_lengthComputable = lengthComputableArg;72 m_loaded = loadedArg;73 m_total = totalArg;74 }75 76 63 const AtomicString& ProgressEvent::interfaceName() const 77 64 { -
trunk/Source/WebCore/dom/ProgressEvent.h
r98146 r100727 54 54 } 55 55 56 void initProgressEvent(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg,57 bool lengthComputableArg, unsigned long long loadedArg, unsigned long long totalArg);58 59 56 bool lengthComputable() const { return m_lengthComputable; } 60 57 unsigned long long loaded() const { return m_loaded; } -
trunk/Source/WebCore/dom/ProgressEvent.idl
r100564 r100727 32 32 readonly attribute [InitializedByConstructor] unsigned long long loaded; 33 33 readonly attribute [InitializedByConstructor] unsigned long long total; 34 35 void initProgressEvent(in [Optional=CallWithDefaultValue] DOMString typeArg,36 in [Optional=CallWithDefaultValue] boolean canBubbleArg,37 in [Optional=CallWithDefaultValue] boolean cancelableArg,38 in [Optional=CallWithDefaultValue] boolean lengthComputableArg,39 in [Optional=CallWithDefaultValue] unsigned long long loadedArg,40 in [Optional=CallWithDefaultValue] unsigned long long totalArg);41 34 }; 42 35
Note: See TracChangeset
for help on using the changeset viewer.