Timeline
Mar 22, 2009:
- 11:01 PM Changeset in webkit [41905] by
-
- 4 edits in trunk/JavaScriptCore
Fix exception handling in API
Reviewed by Cameron Zwarich.
We can't just use the ExecState exception slot for returning exceptions
from class introspection functions provided through the API as many JSC
functions will explicitly clear the ExecState exception when returning.
- 9:31 PM Changeset in webkit [41904] by
-
- 1 edit in trunk/JavaScriptCore/jit/JITStubs.cpp
Fix instanceof implementation to handle API object overriding hasInstance
Reviewed by Cameron Zwarich.
We can only take the fast paths for instanceof if the object doesn't override
hasInstance, so we have to check for that.
- 8:46 PM Changeset in webkit [41903] by
-
- 2 edits in trunk/WebKit/mac
Reviewed by John Sullivan.
- fix <rdar://problem/6640741> Messages not displaying after the Safari 4 beta was installed
Mail assumes that if -[WebArchive subresources] is not nil, then it
contains at least one object.
- WebView/WebArchive.mm: (-[WebArchive subresources]): Preserve the behavior of returning nil if there are no subresources.
- 2:12 PM Companies and Organizations that have contributed to WebKit edited by
- Add Nuanti (diff)
- 12:50 PM Changeset in webkit [41902] by
-
- 2 edits in trunk/WebCore
2009-03-22 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein
Image-map code in RenderImage could result in RenderImage::nodeAtPoint()
setting HitTestResult::innerNode(), but returning false, which violates
hit testing rules. Use a temporary HitTestResult so that we only fill in
result when we know we've hit.
- rendering/RenderImage.cpp: (WebCore::RenderImage::nodeAtPoint):
- 12:45 PM Changeset in webkit [41901] by
-
- 2 edits in trunk/WebCore
wxGTK build fix. Add missing header.
- 11:43 AM Changeset in webkit [41900] by
-
- 3 edits2 adds in trunk
2009-03-22 Simon Fraser <Simon Fraser>
Reviewed by Dan Bernstein
Fix hit testing regression from r41840. We need to pass the temporary
HitTestResult when testing sublayers, then only copy to 'result' when
the layer is known to have been hit.
Test: fast/layers/zindex-hit-test.html
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::hitTestLayer):
- 10:35 AM Changeset in webkit [41899] by
-
- 11 edits in trunk/WebCore
2009-03-20 Simon Fraser <Simon Fraser>
Reviewed by Darin Adler
Fix hit testing on video controls after full page zoom by fixing wider issue
with event->pageX(), pageY() with zooming. pageX and pageY are "fixed" to be
invariant under zooming (for JavaScript), so we keep an actual page point around
in MouseEvent::absoluteLocation() to avoid the need to factor in zooming everywhere.
- dom/MouseRelatedEvent.cpp: (WebCore::MouseRelatedEvent::initCoordinates): (WebCore::MouseRelatedEvent::computePageLocation):
- dom/MouseRelatedEvent.h: (WebCore::MouseRelatedEvent::absoluteLocation): (WebCore::MouseRelatedEvent::setAbsoluteLocation): Member var, and getter and setter for absoluteLocation. New method, computePageLocation(), to compute the actual page point, and call it when creating and initting mouse-related events.
- dom/Node.cpp: (WebCore::Node::dispatchMouseEvent): (WebCore::Node::dispatchWheelEvent): Keep non-adjusted pageX and pageY around, and call setAbsoluteLocation() on the event to replace a potentially rounded point.
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler): Clean up slider handling code.
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): Add FIXME comment for use of offsetX/offsetY.
- page/ContextMenuController.cpp: (WebCore::ContextMenuController::handleContextMenuEvent): Use absoluteLocation() when hit testing for context menus.
- rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::userResize): Use absoluteLocation() when resizing frames.
- rendering/RenderMedia.cpp: (WebCore::RenderMedia::forwardEvent): Use absoluteLocation() when hit testing media controls.
- rendering/RenderSlider.cpp: (WebCore::HTMLSliderThumbElement::defaultEventHandler): (WebCore::RenderSlider::mouseEventIsInThumb): Use absoluteLocation() when handling slider events.
(WebCore::RenderSlider::forwardEvent):
Factor some code out of HTMLInputElement::defaultEventHandler().
- rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::forwardEvent): Use absoluteLocation() when hit testing search field buttons, which fixees bugs in the search field with zooming.
- 12:34 AM Changeset in webkit [41898] by
-
- 1 edit5 adds in trunk/WebCore
2009-03-21 David Levin <levin@chromium.org>
Reviewed by Dimitri Glazkov.
https://bugs.webkit.org/show_bug.cgi?id=24727
Add V8XMLHttpRequest*.
- bindings/v8/V8XMLHttpRequestUtilities.cpp: Added.
- bindings/v8/V8XMLHttpRequestUtilities.h: Added.
- bindings/v8/custom/V8XMLHttpRequestConstructor.cpp: Added.
- bindings/v8/custom/V8XMLHttpRequestCustom.cpp: Added.
- bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp: Added.
- 12:34 AM Changeset in webkit [41897] by
-
- 1 edit2 adds in trunk/WebCore
2009-03-21 David Levin <levin@chromium.org>
Reviewed by Dimitri Glazkov.
https://bugs.webkit.org/show_bug.cgi?id=24725
Add V8NodeFilter.
- bindings/v8/V8NodeFilter.cpp: Added.
- bindings/v8/V8NodeFilter.h: Added.
Mar 21, 2009:
- 8:01 PM Changeset in webkit [41896] by
-
- 2 edits in trunk/JavaScriptCore
2009-03-21 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver Hunt.
Bug 20049: testapi failure: MyObject - 0 should be NaN but instead is 1.
<https://bugs.webkit.org/show_bug.cgi?id=20049>
<rdar://problem/6079127>
In this case, the test is wrong. According to the ECMA spec, subtraction
uses ToNumber, not ToPrimitive. Change the test to match the spec.
- API/tests/testapi.js:
- 7:52 PM Changeset in webkit [41895] by
-
- 3 edits in trunk/JavaScriptCore
Ensure that JSObjectMakeFunction doesn't produce incorrect line numbers.
Reviewed by Cameron Zwarich.
Also make test api correctly propagate failures.
- 6:40 PM Changeset in webkit [41894] by
-
- 2 edits in trunk/WebKitTools
Make build-jsc build testapi and minidom in addition to jsc itself.
Reviewed by Mark Rowe.
- 6:40 PM Changeset in webkit [41893] by
-
- 3 edits in trunk/JavaScriptCore
Improve testapi by making it report failures in a way we can pick up
from our test scripts.
Reviewed by Mark Rowe.
- 11:34 AM Changeset in webkit [41892] by
-
- 2 edits in trunk/WebCore
Rubber-stamped by Kevin Decker
- remove some redundant #include statements
- bindings/js/JSDOMWindowBase.cpp:
- 11:15 AM Changeset in webkit [41891] by
-
- 2 edits in trunk/JavaScriptCore
Revert "2009-03-20 Mike Hommey <glandium@debian.org>"
This reverts commit 2ee472cbd180a196c08f3386b2b976d540a1d9e2.
Breaks JIT on x86 (at least linux) massively.
- 11:15 AM Changeset in webkit [41890] by
-
- 4 edits in trunk
Revert "2009-03-20 Mike Hommey <glandium@debian.org>"
This reverts commit cb79d9c35d714a9e463a188a5cb295033715308e.
Breaks JIT on x86 (at least linux) massively.