Changeset 62880 in webkit
- Timestamp:
- Jul 8, 2010 7:20:24 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r62877 r62880 1 2010-07-08 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Oliver Hunt. 4 5 Fix for https://bugs.webkit.org/show_bug.cgi?id=41923 6 TimeRanges should expose a JS constructor 7 8 * fast/dom/Window/window-properties-expected.txt: 9 * fast/dom/Window/window-property-descriptors-expected.txt: 10 * fast/dom/prototype-inheritance-2-expected.txt: 11 * fast/dom/prototype-inheritance-expected.txt: 12 * fast/js/global-constructors-expected.txt: 13 * platform/win/fast/dom/Window/window-property-descriptors-expected.txt: 14 * platform/win/fast/dom/prototype-inheritance-2-expected.txt: 15 * platform/win/fast/dom/prototype-inheritance-expected.txt: 16 * platform/win/fast/js/global-constructors-expected.txt: 17 1 18 2010-07-08 Erik Arvidsson <arv@chromium.org> 2 19 -
trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt
r62834 r62880 1895 1895 window.TextMetrics [object TextMetricsConstructor] 1896 1896 window.TextMetrics.prototype [object TextMetricsPrototype] 1897 window.TimeRanges [object TimeRangesConstructor] 1898 window.TimeRanges.prototype [object TimeRangesPrototype] 1899 window.TimeRanges.prototype.end [function] 1900 window.TimeRanges.prototype.start [function] 1897 1901 window.TypeError [function] 1898 1902 window.UIEvent [object UIEventConstructor] -
trunk/LayoutTests/fast/dom/Window/window-property-descriptors-expected.txt
r62215 r62880 304 304 PASS typeof Object.getOwnPropertyDescriptor(window, 'TextEvent') is 'object' 305 305 PASS typeof Object.getOwnPropertyDescriptor(window, 'TextMetrics') is 'object' 306 PASS typeof Object.getOwnPropertyDescriptor(window, 'TimeRanges') is 'object' 306 307 PASS typeof Object.getOwnPropertyDescriptor(window, 'TypeError') is 'object' 307 308 PASS typeof Object.getOwnPropertyDescriptor(window, 'UIEvent') is 'object' -
trunk/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt
r62215 r62880 202 202 PASS TextPrototype from inner.document.forms.testForm.0.attributes.0.lastChild.__proto__ 203 203 PASS TimeRanges from inner.document.forms.testForm.0.previousElementSibling.played 204 PASS TimeRangesConstructor from inner.document.forms.testForm.0.previousElementSibling.played.constructor 204 205 PASS TimeRangesPrototype from inner.document.forms.testForm.0.previousElementSibling.played.__proto__ 205 206 PASS ValidityState from inner.document.forms.testForm.0.0.validity -
trunk/LayoutTests/fast/dom/prototype-inheritance-expected.txt
r62215 r62880 578 578 PASS inner.TextMetrics.isInner is true 579 579 PASS inner.TextMetrics.constructor.isInner is true 580 PASS inner.TimeRanges.isInner is true 581 PASS inner.TimeRanges.constructor.isInner is true 580 582 PASS inner.TypeError.isInner is true 581 583 PASS inner.TypeError.constructor.isInner is true -
trunk/LayoutTests/fast/js/global-constructors-expected.txt
r62215 r62880 287 287 PASS TextEvent.toString() is '[object TextEventConstructor]' 288 288 PASS TextMetrics.toString() is '[object TextMetricsConstructor]' 289 PASS TimeRanges.toString() is '[object TimeRangesConstructor]' 289 290 PASS UIEvent.toString() is '[object UIEventConstructor]' 290 291 PASS WebKitAnimationEvent.toString() is '[object WebKitAnimationEventConstructor]' -
trunk/LayoutTests/platform/win/fast/dom/Window/window-property-descriptors-expected.txt
r62402 r62880 302 302 PASS typeof Object.getOwnPropertyDescriptor(window, 'TextEvent') is 'object' 303 303 PASS typeof Object.getOwnPropertyDescriptor(window, 'TextMetrics') is 'object' 304 PASS typeof Object.getOwnPropertyDescriptor(window, 'TimeRanges') is 'object' 304 305 PASS typeof Object.getOwnPropertyDescriptor(window, 'TypeError') is 'object' 305 306 PASS typeof Object.getOwnPropertyDescriptor(window, 'UIEvent') is 'object' -
trunk/LayoutTests/platform/win/fast/dom/prototype-inheritance-2-expected.txt
r62402 r62880 202 202 PASS TextPrototype from inner.document.forms.testForm.0.attributes.0.lastChild.__proto__ 203 203 PASS TimeRanges from inner.document.forms.testForm.0.previousElementSibling.played 204 PASS TimeRangesConstructor from inner.document.forms.testForm.0.previousElementSibling.played.constructor 204 205 PASS TimeRangesPrototype from inner.document.forms.testForm.0.previousElementSibling.played.__proto__ 205 206 PASS ValidityState from inner.document.forms.testForm.0.0.validity -
trunk/LayoutTests/platform/win/fast/dom/prototype-inheritance-expected.txt
r62402 r62880 574 574 PASS inner.TextMetrics.isInner is true 575 575 PASS inner.TextMetrics.constructor.isInner is true 576 PASS inner.TimeRanges.isInner is true 577 PASS inner.TimeRanges.constructor.isInner is true 576 578 PASS inner.TypeError.isInner is true 577 579 PASS inner.TypeError.constructor.isInner is true -
trunk/LayoutTests/platform/win/fast/js/global-constructors-expected.txt
r62402 r62880 285 285 PASS TextEvent.toString() is '[object TextEventConstructor]' 286 286 PASS TextMetrics.toString() is '[object TextMetricsConstructor]' 287 PASS TimeRanges.toString() is '[object TimeRangesConstructor]' 287 288 PASS UIEvent.toString() is '[object UIEventConstructor]' 288 289 PASS WebKitAnimationEvent.toString() is '[object WebKitAnimationEventConstructor]' -
trunk/WebCore/ChangeLog
r62877 r62880 1 2010-07-08 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Oliver Hunt. 4 5 Fix for https://bugs.webkit.org/show_bug.cgi?id=41923 6 TimeRanges should expose a JS constructor 7 8 * html/TimeRanges.idl: Remove [OmitConstructor]. 9 * page/DOMWindow.idl: Add constructor. 10 1 11 2010-07-08 Erik Arvidsson <arv@chromium.org> 2 12 -
trunk/WebCore/html/TimeRanges.idl
r52534 r62880 1 1 /* 2 * Copyright (C) 2007 Apple Inc. All rights reserved.2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 26 26 module html { 27 27 28 interface [Conditional=VIDEO, OmitConstructor] TimeRanges { 29 readonly attribute unsigned long length; 30 float start(in unsigned long index) 31 raises (DOMException); 32 float end(in unsigned long index) 33 raises (DOMException); 34 }; 28 interface [ 29 Conditional=VIDEO 30 ] TimeRanges { 31 readonly attribute unsigned long length; 32 float start(in unsigned long index) 33 raises (DOMException); 34 float end(in unsigned long index) 35 raises (DOMException); 36 }; 35 37 36 38 } -
trunk/WebCore/page/DOMWindow.idl
r62653 r62880 572 572 attribute [Conditional=VIDEO, EnabledAtRuntime] HTMLVideoElementConstructor HTMLVideoElement; 573 573 attribute [Conditional=VIDEO, EnabledAtRuntime] MediaErrorConstructor MediaError; 574 attribute [Conditional=VIDEO, EnabledAtRuntime] TimeRangesConstructor TimeRanges; 574 575 575 576 #if defined(ENABLE_XPATH) && ENABLE_XPATH
Note: See TracChangeset
for help on using the changeset viewer.