Timeline
Nov 6, 2009:
- 6:02 PM Changeset in webkit [50613] by
-
- 9 edits1 delete in trunk/WebCore
Fixes <http://webkit.org/b/31177>.
Web Inspector: Bind backspace to delete cookies and DOM Storage.
Reviewed by Tim Hatcher.
Refactor editing code from DOMStorageDataGrid to DataGrid, so other
places in the inspector can use editing in DataGrid (added a FIXME for
some stuff that needs to be generalized).
Also added deleting functionality to DataGrid, and implemented it for
Cookies and DOM Storage. The reason this patch is so big is because of
the refactoring of editing code, which won't be used yet in a cross-datagrid
way, but should be able to.
Additionally, moved the callbacks members from DOMStorageDataGrid to
DOMStorageItemsView, which allowed us to delete DOMStorageDataGrid, to
make the architecture of DOM Storage look a lot more like the Cookies view.
Lastly, added a preventDefault call in ElementsTreeOutline to prevent the
inspector from beeping at you when you delete an element.
- WebCore.gypi: Removed DOMStorageDataGrid.
- WebCore.vcproj/WebCore.vcproj: Removed DOMStorageDataGrid.
- inspector/front-end/CookieItemsView.js:
(WebInspector.CookieItemsView.prototype.dataGridForCookies):
(WebInspector.CookieItemsView.prototype._deleteButtonClicked):
(WebInspector.CookieItemsView.prototype._deleteCookieCallback):
- inspector/front-end/DOMStorageDataGrid.js: Removed.
- inspector/front-end/DOMStorageItemsView.js:
(WebInspector.DOMStorageItemsView.prototype._dataGridForDOMStorageEntries):
(WebInspector.DOMStorageItemsView.prototype._deleteButtonClicked):
(WebInspector.DOMStorageItemsView.prototype._refreshButtonClicked):
(WebInspector.DOMStorageItemsView.prototype._editingCallback):
(WebInspector.DOMStorageItemsView.prototype.deleteSelectedRow):
(WebInspector.DOMStorageItemsView.prototype._deleteCallback):
- inspector/front-end/DataGrid.js:
(WebInspector.DataGrid):
(WebInspector.DataGrid.prototype._ondblclick): Moved from DOMStorageDataGrid to DataGrid + Refactoring.
(WebInspector.DataGrid.prototype._startEditingColumnOfDataGridNode): Ditto.
(WebInspector.DataGrid.prototype._startEditing): Ditto.
(WebInspector.DataGrid.prototype._editingCommitted.moveToNextIfNeeded): Ditto.
(WebInspector.DataGrid.prototype._editingCommitted): Ditto.
(WebInspector.DataGrid.prototype._editingCancelled): Ditto.
(WebInspector.DataGrid.prototype.handleKeyEvent): Added case for delete/backspace.
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype.handleKeyEvent): Added preventDefault call.
- inspector/front-end/WebKit.qrc: Removed DOMStorageDataGrid.
- inspector/front-end/inspector.html: Removed DOMStorageDataGrid.
- 4:05 PM Changeset in webkit [50612] by
-
- 2 edits in trunk/JavaScriptCore
Windows build fix: export some symbols.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-11-06
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 3:59 PM Changeset in webkit [50611] by
-
- 2 edits in trunk/WebCore
Qt build fix: added an ExecState parameter.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-11-06
- bridge/qt/qt_runtime.cpp:
(JSC::Bindings::convertValueToQVariant):
(JSC::Bindings::convertQVariantToValue):
- 3:54 PM Changeset in webkit [50610] by
-
- 2 edits in trunk/JavaScriptCore
Build fix: updated export file.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-11-06
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- 3:48 PM Changeset in webkit [50609] by
-
- 3 edits in trunk/JavaScriptCore
Build fix: added some #includes.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-11-06
- wtf/CurrentTime.h:
- wtf/DateMath.h:
- 3:33 PM Changeset in webkit [50608] by
-
- 27 edits1 add in trunk
Rolled back in r50590 with Windows build hopefully fixed.
- 3:00 PM Changeset in webkit [50607] by
-
- 9 edits4 adds in trunk
2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
Reviewed by Adam Barth.
Added layout tests to test document.open and window.open calls issued
by NPAPI plugins without a calling javascript context. The associated
webkit bug is https://bugs.webkit.org/show_bug.cgi?id=31067, which
affects Chromium.
- plugins/document-open-expected.txt: Added.
- plugins/document-open.html: Added.
- plugins/window-open-expected.txt: Added.
- plugins/window-open.html: Added.
2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
Reviewed by Adam Barth.
The associated webkit bug is https://bugs.webkit.org/show_bug.cgi?id=31067,
which affects Chromium only.
Changes to V8HTMLDocumentCustom.cpp are as below:-
- The HTMLDocumentOpen function would cause a crash in Chromium if there was no calling javascript context. We now check for this case and pass in NULL to the HTMLDocument::open function which can handle a NULL document parameter.
- The other functions like HTMLDocumentWrite, HTMLDocumentWriteln, etc had ASSERTS for a NULL caller frame, which was bogus as it would crash anyway. We now check for this case and return a failure.
Changes to V8DOMWindowCustom.cpp are as below:-
- Instead of failing the window.open call made by NPAPI for lack of a calling javascript context, we now use the entered context as the calling context.
Tests: plugins/document-open.html
plugins/window-open.html
- bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::CALLBACK_FUNC_DECL):
- bindings/v8/custom/V8HTMLDocumentCustom.cpp: (WebCore::CALLBACK_FUNC_DECL):
2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
Reviewed by Adam Barth.
Added functionality to the layout test plugin to invoke document.open and
window.open with default arguments. The associated webkit bug is
https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
work in Chromium (V8) if there is no calling javascript context. To achieve this
effect we invoke these functions in the layout test plugin in the NPP_SetWindow
for the window.open test case and in NPP_DestroyStream for the document.open test case.
- DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (testDocumentOpen): (testWindowOpen): (pluginAllocate):
- DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
- DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): (NPP_SetWindow): (NPP_DestroyStream):
- DumpRenderTree/win/TestNetscapePlugin/main.cpp: (NPP_New): (NPP_SetWindow): (NPP_NewStream): (NPP_DestroyStream):
- 2:58 PM Changeset in webkit [50606] by
-
- 2 edits in trunk/WebKitSite
2009-11-06 Dirk Schulze <krit@webkit.org>
Rubber stamped by Eric Seidel.
Update SVG status page. We support feMorphology now.
Set lightning filters to unimplemented.
- projects/svg/status.xml:
- 1:36 PM Changeset in webkit [50605] by
-
- 22 edits in trunk
2009-11-06 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
Geolocation error code UNKNOWN_ERROR is deprecated.
https://bugs.webkit.org/show_bug.cgi?id=31184
Update test case of the value of the PositionError.UNKNOWN_ERROR constant in error.html.
Also remove redundant test cases of the value of all PositionError constants.
- fast/dom/Geolocation/resources/error.js: Modified. Update test of value of PositionError.UNKNOWN_ERROR constant.
- fast/dom/Geolocation/error-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/permission-denied-already-error.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/permission-denied-already-error-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/permission-denied-already-success.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/permission-denied-already-success-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/permission-denied.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/permission-denied-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/permission-denied-stops-watches.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/permission-denied-stops-watches-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/reentrant-error.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/reentrant-error-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/timeout-zero.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/timeout-zero-expected.txt: Modified. Expected result for above test.
- fast/dom/Geolocation/resources/watch.js: Modified. Remove tests of the value of PositionError constants.
- fast/dom/Geolocation/watch-expected.txt: Modified. Expected result for above test.
2009-11-06 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
Geolocation error code UNKNOWN_ERROR is deprecated.
https://bugs.webkit.org/show_bug.cgi?id=31184
Remove this error code from PositionError, both for use from C++ code and from the JS object.
Updated fast/dom/Geolocation/error.html to test this.
- page/PositionError.h: Modified. (WebCore::PositionError::): Remove ErrorCode::UNKNOWN_ERROR.
- page/PositionError.idl: Modified. Remove UNKNOWN_ERROR constant.
- page/Geolocation.cpp: Modified. (WebCore::Geolocation::startRequest): Replace UNKNOWN_ERROR with POSITION_UNAVAILABLE.
- platform/gtk/GeolocationServiceGtk.cpp: Modified. (WebCore::GeolocationServiceGtk::startUpdating): Replace UNKNOWN_ERROR with POSITION_UNAVAILABLE.
- 1:08 PM Changeset in webkit [50604] by
-
- 2 edits in trunk/WebCore
2009-11-06 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
feMorphology filter is not implemented
https://bugs.webkit.org/show_bug.cgi?id=5863
The Implementation of feMorphology.
Test: We have allready a test for feMorphology
svg/W3C-SVG-1.1/filters-morph-01-f.svg
- svg/graphics/filters/SVGFEMorphology.cpp: (WebCore::FEMorphology::apply):
- 12:01 PM Changeset in webkit [50603] by
-
- 2 edits in trunk/WebCore
2009-11-06 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
V8DOMWindowCustom.cpp is missing WEB_SOCKETS guard on include.
https://bugs.webkit.org/show_bug.cgi?id=31209
Build fix only. No new tests possible.
- bindings/v8/custom/V8DOMWindowCustom.cpp: Modified. Added WEB_SOCKETS guard on inclue of WebSockets.h.
- 11:53 AM Changeset in webkit [50602] by
-
- 2 edits in trunk/WebKitTools
2009-11-06 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
bugzilla-tool crashed with exception
https://bugs.webkit.org/show_bug.cgi?id=31092
- Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
- 10:32 AM Changeset in webkit [50601] by
-
- 2 edits in trunk/WebKitSite
2009-11-06 Jeff Schiller <codedread@gmail.com>
Reviewed by Darin Adler.
SVG Status page update
https://bugs.webkit.org/show_bug.cgi?id=31179
- projects/svg/status.xml:
- 8:18 AM Changeset in webkit [50600] by
-
- 2 edits in trunk/WebCore
2009-11-06 Drew Wilson <atwilson@chromium.org>
Reviewed by David Levin.
V8 bindings do not support SharedWorkers as event targets
https://bugs.webkit.org/show_bug.cgi?id=31199
No new tests because existing layout tests suffice (they currently
crash on Chromium)
- bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::convertEventTargetToV8Object): Added clause to create a DOM wrapper for SharedWorkers.
- 7:19 AM Changeset in webkit [50599] by
-
- 3 edits in trunk/JavaScriptCore
Unreviewed trivial buildfix after r50595.
Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-11-06
Rename the remaining rshiftPtr calls to rshift32
- jit/JITArithmetic.cpp:
(JSC::JIT::emit_op_rshift):
- jit/JITInlineMethods.h:
(JSC::JIT::emitFastArithImmToInt):
- 5:49 AM Changeset in webkit [50598] by
-
- 2 edits in trunk/WebCore
2009-11-06 Anton Muhin <antonm@chromium.org>
Reviewed by Adam Barth.
Do not unnecessarly synchronzie in weak reference callbacks.
https://bugs.webkit.org/show_bug.cgi?id=31191
- bindings/v8/DOMData.h: (WebCore::DOMData::handleWeakObject):
- 5:41 AM Changeset in webkit [50597] by
-
- 3 edits in trunk/WebCore
2009-11-06 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
Fix resource content search.
https://bugs.webkit.org/show_bug.cgi?id=31202
- inspector/front-end/AbstractTimelinePanel.js: (WebInspector.AbstractTimelinePanel.prototype.refresh): (WebInspector.AbstractTimelinePanel.prototype.removeItem):
- inspector/front-end/TimelinePanel.js: (WebInspector.TimelineGraph.prototype.refresh):
- 5:33 AM WebKit Team edited by
- (diff)
- 5:28 AM WebKit Team edited by
- (diff)
- 5:27 AM WebKit Team edited by
- (diff)
- 5:25 AM WebKit Team edited by
- (diff)
- 1:35 AM Changeset in webkit [50596] by
-
- 3 edits in trunk/LayoutTests
2009-11-04 Shinichiro Hamaji <hamaji@chromium.org>
Reviewed by Darin Adler.
css2.1/t040304-c64-uri-00-a-g.html is failing
https://bugs.webkit.org/show_bug.cgi?id=23271
This test isn't failing now because this test was fixed in
http://trac.webkit.org/changeset/47884
- platform/mac/css2.1/t040304-c64-uri-00-a-g-expected.checksum:
- platform/mac/css2.1/t040304-c64-uri-00-a-g-expected.png:
- 1:35 AM Changeset in webkit [50595] by
-
- 7 edits in trunk/JavaScriptCore
Tidy up the shift methods on the macro-assembler interface.
Patch by Gavin Barraclough <barraclough@apple.com> on 2009-11-06
Reviewed by Oliver Hunt.
Currently behaviour of shifts of a magnitude > 0x1f is undefined.
Instead defined that all shifts are masked to this range. This makes a lot of
practical sense, both since having undefined behaviour is not particularly
desirable, and because this behaviour is commonly required (particularly since
it is required bt ECMA-262 for shifts).
Update the ARM assemblers to provide this behaviour. Remove (now) redundant
masks from JITArithmetic, and remove rshiftPtr (this was used in case that
could be rewritten in a simpler form using rshift32, only optimized JSVALUE32
on x86-64, which uses JSVALUE64!)
- assembler/MacroAssembler.h:
- assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::lshift32):
(JSC::MacroAssemblerARM::rshift32):
- assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::lshift32):
(JSC::MacroAssemblerARMv7::rshift32):
- assembler/MacroAssemblerX86_64.h:
- jit/JITArithmetic.cpp:
(JSC::JIT::emit_op_lshift):
(JSC::JIT::emit_op_rshift):
- 12:47 AM Changeset in webkit [50594] by
-
- 4 edits in trunk/JavaScriptCore
Rubber Stamped by Oliver Hunt.
Patch by Gavin Barraclough <barraclough@apple.com> on 2009-11-05
Remove a magic number (1) from the JIT, instead compute the value with OBJECT_OFFSET.
- jit/JITInlineMethods.h:
(JSC::JIT::emitPutJITStubArg):
(JSC::JIT::emitPutJITStubArgConstant):
(JSC::JIT::emitGetJITStubArg):
(JSC::JIT::emitPutJITStubArgFromVirtualRegister):
- jit/JITStubCall.h:
(JSC::JITStubCall::JITStubCall):
(JSC::JITStubCall::getArgument):
- jit/JITStubs.h:
Nov 5, 2009:
- 11:28 PM Changeset in webkit [50593] by
-
- 3 edits in trunk/JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=31159
Fix branchDouble behaviour on ARM THUMB2 JIT.
Patch by Zoltan Herczeg <zherczeg@inf.u-szeged.hu> on 2009-11-05
Reviewed by Gavin Barraclough.
The x86 branchDouble behaviour is reworked, and all JIT
ports should follow the x86 port. See bug 31104 and 31151
This patch contains a fix for the traditional ARM port
- assembler/ARMAssembler.h:
(JSC::ARMAssembler::):
(JSC::ARMAssembler::fmrs_r):
(JSC::ARMAssembler::ftosid_r):
- assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::):
(JSC::MacroAssemblerARM::branchDouble):
(JSC::MacroAssemblerARM::branchConvertDoubleToInt32):
- 11:26 PM Changeset in webkit [50592] by
-
- 2 edits in trunk/WebCore
2009-11-05 Yuta Kitamura <yutak@chromium.org>
Reviewed by Eric Seidel.
Fix ASSERT(currentStyle = renderStyle()).
https://bugs.webkit.org/show_bug.cgi?id=31152
- dom/Element.cpp: (WebCore::Element::pseudoStyleCacheIsInvalid): We should have used "==" instead of "=".
- 10:52 PM Maintenance and architecture list edited by
- Changeset 50583 removed the "this is part of the KDE project" code … (diff)
- 10:52 PM Changeset in webkit [50591] by
-
- 19 edits in trunk
Rolled out r50590 because it doesn't build on Windows.
- 10:26 PM Changeset in webkit [50590] by
-
- 19 edits in trunk
JavaScriptCore: https://bugs.webkit.org/show_bug.cgi?id=31197
Implemented a timezone cache not based on Mac OS X's notify_check API.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-11-05
Reviewed by Oliver Hunt.
If the VM calculates the local timezone offset from UTC, it caches the
result until the end of the current VM invocation. (We don't want to cache
forever, because the user's timezone may change over time.)
This removes notify_* overhead on Mac, and, more significantly, removes
OS time and date call overhead on non-Mac platforms.
~8% speedup on Date microbenchmark on Mac. SunSpider reports maybe a tiny
speedup on Mac. (Speedup on non-Mac platforms should be even more noticeable.)
- JavaScriptCore.exp:
- interpreter/CachedCall.h:
(JSC::CachedCall::CachedCall):
- interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
- runtime/JSGlobalObject.h:
(JSC::DynamicGlobalObjectScope::DynamicGlobalObjectScope): Made the
DynamicGlobalObjectScope constructor responsible for checking whether a
dynamicGlobalObject has already been set. This eliminated some duplicate
client code, and allowed me to avoid adding even more duplicate client
code. Made DynamicGlobalObjectScope responsible for resetting the
local timezone cache upon first entry to the VM.
- runtime/DateConstructor.cpp:
(JSC::constructDate):
(JSC::callDate):
(JSC::dateParse):
(JSC::dateUTC):
- runtime/DateConversion.cpp:
(JSC::parseDate):
- runtime/DateConversion.h:
- runtime/DateInstance.cpp:
(JSC::DateInstance::gregorianDateTime):
- runtime/DateInstance.h:
- runtime/DateInstanceCache.h:
- runtime/DatePrototype.cpp:
(JSC::setNewValueFromTimeArgs):
(JSC::setNewValueFromDateArgs):
(JSC::dateProtoFuncSetYear):
- runtime/InitializeThreading.cpp:
(JSC::initializeThreadingOnce):
- runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
- runtime/JSGlobalData.h:
- wtf/DateMath.cpp:
(WTF::getCurrentUTCTime):
(WTF::getCurrentUTCTimeWithMicroseconds):
(WTF::getLocalTime):
(JSC::getUTCOffset): Use the new cache. Also, see below.
(JSC::gregorianDateTimeToMS):
(JSC::msToGregorianDateTime):
(JSC::initializeDates):
(JSC::parseDateFromNullTerminatedCharacters): Simplified the way this function
accounts for the local timezone offset, to accomodate our new caching API,
and a (possibly misguided) caller in WebCore. Also, see below.
- wtf/DateMath.h:
(JSC::GregorianDateTime::GregorianDateTime): Moved most of the code in
DateMath.* into the JSC namespace. The code needed to move so it could
naturally interact with ExecState and JSGlobalData to support caching.
Logically, it seemed right to move it, too, since this code is not really
as low-level as the WTF namespace might imply -- it implements a set of
date parsing and conversion quirks that are finely tuned to the JavaScript
language. Also removed the Mac OS X notify_* infrastructure.
WebCore: https://bugs.webkit.org/show_bug.cgi?id=31197
Implemented a timezone cache not based on Mac OS X's notify_check API.
Patch by Geoffrey Garen <ggaren@apple.com> on 2009-11-05
Updated for JavaScriptCore internal API change.
- platform/network/HTTPParsers.cpp:
(WebCore::parseDate): Pass 0 for ExecState, since we don't have one.
(This function probably shouldn't be using a JavaScript date parser
to begin with, but oh well.)
- 10:25 PM Changeset in webkit [50589] by
-
- 2 edits2 deletes in trunk/LayoutTests
2009-11-05 Daniel Bates <dbates@webkit.org>
Reviewed by Eric Seidel.
Removed obsolete test case which was included in the patch for bug #30107.
This test case is already covered by the test case fast/events/drag-and-drop.html,
which was included in the patch for bug #24731.
- fast/events/drag-and-drop-none-expected.txt: Removed.
- fast/events/drag-and-drop-none.html: Removed.
- platform/win/Skipped: Removed entry for drag-and-drop-none.html.
- 10:19 PM Changeset in webkit [50588] by
-
- 4 edits in trunk/WebCore
Revert 50562 because it broke Chromium. Not reviewed since this is a build fix and revert.
Patch by Alpha Lam <hclam@chromium.org> on 2009-11-05
- bindings/v8/V8GCController.cpp:
(WebCore::V8GCController::gcEpilogue):
- bindings/v8/V8GCController.h:
- bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::evaluate):
(WebCore::V8Proxy::runScript):
(WebCore::V8Proxy::callFunction):
- 10:05 PM Changeset in webkit [50587] by
-
- 3 edits4 adds in trunk
2009-11-05 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
Cross-domain access to stylesheet text should not be allowed
https://bugs.webkit.org/show_bug.cgi?id=20527
Test that a script cannot read cross-origin cssRules.
- http/tests/security/cannot-read-cssrules-expected.txt: Added.
- http/tests/security/cannot-read-cssrules-redirect-expected.txt: Added.
- http/tests/security/cannot-read-cssrules-redirect.html: Added.
- http/tests/security/cannot-read-cssrules.html: Added.
2009-11-05 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
Cross-domain access to stylesheet text should not be allowed
https://bugs.webkit.org/show_bug.cgi?id=20527
Check whether whether the current document can read the cssRules from
the style sheet. Firefox throws a security error here, but we return
null instead because that's what we usually do in these cases.
Test: http/tests/security/cannot-read-cssrules-redirect.html
http/tests/security/cannot-read-cssrules.html
- css/CSSStyleSheet.cpp: (WebCore::CSSStyleSheet::cssRules):
- 7:27 PM Changeset in webkit [50586] by
-
- 1 edit in trunk/WebCore/WebCore.gyp
Rubber stamped by Mark Rowe.
Adds some GYP generated files to svn:ignore
https://bugs.webkit.org/show_bug.cgi?id=31194
*.vcproj
*.rules
*.mk
*.scons
SConstruct
- 6:46 PM Changeset in webkit [50585] by
-
- 2 edits in trunk/WebCore
2009-11-05 Steve Block <steveblock@google.com>
Reviewed by Eric Seidel.
If the Geolocation service fails to start, invoke the error callback asynchronously.
https://bugs.webkit.org/show_bug.cgi?id=28276
All Geolocation callbacks must be invoked asynchronously.
See http://www.w3.org/TR/geolocation-API/#geolocation_interface
No new tests possible with current LayoutTestController.
- page/Geolocation.cpp: (WebCore::Geolocation::getCurrentPosition): Modified. Asserts that startRequest returned a notifier. (WebCore::Geolocation::watchPosition): Modified. Asserts that startRequest returned a notifier. (WebCore::Geolocation::startRequest): Modified. If the Geolocation service fails to start, set a fatal error on the notifier.
- 4:05 PM Changeset in webkit [50584] by
-
- 1 edit1 add in trunk/LayoutTests
Adding a resource that seems to be missing. Without it, several tests in
fast/dom/beforeload aren't really testing if the default event handling is
prevented, but instead are only testing if the beforeload event fires.
Rubber-stamped by Gavin Barraclough.
- fast/dom/beforeload/resources/fail.js: Added.
- 3:53 PM Changeset in webkit [50583] by
-
- 253 edits in trunk
2009-11-05 Chris Jerdonek <chris.jerdonek@gmail.com>
Reviewed by Eric Seidel.
Removed the "this is part of the KDE project" comments from
all *.h, *.cpp, *.idl, and *.pm files.
The maintenance and architecture page in the project wiki lists
this as a task.
This change includes no changes or additions to test cases
since the change affects only comments.
- wtf/wince/FastMallocWince.h:
2009-11-05 Chris Jerdonek <chris.jerdonek@gmail.com>
Reviewed by Eric Seidel.
Removed the "this is part of the KDE project" comments from
all *.h, *.cpp, *.idl, and *.pm files.
The maintenance and architecture page in the project wiki lists
this as a task.
This change includes no changes or additions to test cases
since the change affects only comments.
- bindings/scripts/CodeGeneratorV8.pm:
- bindings/scripts/IDLParser.pm:
- bindings/scripts/IDLStructure.pm:
- css/CSSInheritedValue.cpp:
- css/CSSInitialValue.cpp:
- css/CSSMediaRule.cpp:
- css/CSSNamespace.h:
- css/CSSProperty.cpp:
- css/CSSProperty.h:
- css/CSSRuleList.cpp:
- css/CSSRuleList.h:
- css/CSSSelector.h:
- css/CSSValueList.cpp:
- css/FontValue.cpp:
- css/MediaFeatureNames.cpp:
- css/MediaFeatureNames.h:
- css/Pair.h:
- css/SVGCSSStyleSelector.cpp:
- css/ShadowValue.cpp:
- css/StyleSheet.cpp:
- css/StyleSheetList.cpp:
- css/maketokenizer:
- dom/BeforeUnloadEvent.cpp:
- dom/BeforeUnloadEvent.h:
- dom/CSSMappedAttributeDeclaration.cpp:
- dom/EventNames.cpp:
- dom/EventTarget.cpp:
- dom/MappedAttributeEntry.h:
- dom/MouseRelatedEvent.h:
- dom/RangeException.h:
- dom/StyleElement.h:
- dom/Tokenizer.h:
- html/HTMLHeadElement.h:
- html/HTMLHeadingElement.cpp:
- html/HTMLHeadingElement.h:
- html/HTMLHtmlElement.h:
- html/HTMLImageLoader.h:
- html/HTMLMetaElement.h:
- html/HTMLModElement.cpp:
- html/HTMLModElement.h:
- html/HTMLOptionsCollection.cpp:
- html/HTMLPlugInElement.cpp:
- html/HTMLPreElement.cpp:
- html/HTMLPreElement.h:
- html/HTMLTableCellElement.cpp:
- html/HTMLTableCellElement.h:
- html/HTMLTableColElement.cpp:
- html/HTMLTableColElement.h:
- html/HTMLTablePartElement.cpp:
- html/HTMLTablePartElement.h:
- html/HTMLTitleElement.h:
- page/MouseEventWithHitTestResults.h:
- platform/StaticConstructors.h:
- platform/text/AtomicStringImpl.h:
- platform/text/qt/TextBreakIteratorQt.cpp:
- rendering/AutoTableLayout.h:
- rendering/CounterNode.cpp:
- rendering/EllipsisBox.cpp:
- rendering/EllipsisBox.h:
- rendering/FixedTableLayout.cpp:
- rendering/FixedTableLayout.h:
- rendering/HitTestRequest.h:
- rendering/HitTestResult.h:
- rendering/InlineRunBox.h:
- rendering/PointerEventsHitRules.cpp:
- rendering/PointerEventsHitRules.h:
- rendering/RenderBR.cpp:
- rendering/RenderBR.h:
- rendering/RenderButton.cpp:
- rendering/RenderButton.h:
- rendering/RenderFieldset.cpp:
- rendering/RenderFrameSet.cpp:
- rendering/RenderListItem.cpp:
- rendering/RenderTableRow.cpp:
- rendering/RenderView.h:
- rendering/RootInlineBox.h:
- rendering/SVGInlineTextBox.cpp:
- rendering/SVGInlineTextBox.h:
- rendering/TableLayout.h:
- rendering/break_lines.h:
- rendering/style/SVGRenderStyle.cpp:
- rendering/style/SVGRenderStyle.h:
- rendering/style/SVGRenderStyleDefs.cpp:
- rendering/style/SVGRenderStyleDefs.h:
- svg/GradientAttributes.h:
- svg/LinearGradientAttributes.h:
- svg/PatternAttributes.h:
- svg/RadialGradientAttributes.h:
- svg/SVGAElement.cpp:
- svg/SVGAngle.idl:
- svg/SVGAnimateColorElement.cpp:
- svg/SVGAnimateColorElement.h:
- svg/SVGAnimateElement.cpp:
- svg/SVGAnimateElement.h:
- svg/SVGAnimateTransformElement.h:
- svg/SVGAnimatedPathData.cpp:
- svg/SVGAnimatedPathData.h:
- svg/SVGAnimatedPoints.cpp:
- svg/SVGAnimatedPoints.h:
- svg/SVGAnimationElement.cpp:
- svg/SVGCircleElement.cpp:
- svg/SVGClipPathElement.cpp:
- svg/SVGColor.cpp:
- svg/SVGColor.idl:
- svg/SVGComponentTransferFunctionElement.cpp:
- svg/SVGComponentTransferFunctionElement.h:
- svg/SVGCursorElement.cpp:
- svg/SVGDefsElement.cpp:
- svg/SVGDescElement.cpp:
- svg/SVGDescElement.h:
- svg/SVGDocument.idl:
- svg/SVGElement.idl:
- svg/SVGElementInstanceList.cpp:
- svg/SVGElementInstanceList.h:
- svg/SVGEllipseElement.cpp:
- svg/SVGExternalResourcesRequired.cpp:
- svg/SVGFEBlendElement.cpp:
- svg/SVGFEBlendElement.h:
- svg/SVGFEColorMatrixElement.cpp:
- svg/SVGFEColorMatrixElement.h:
- svg/SVGFEComponentTransferElement.cpp:
- svg/SVGFEComponentTransferElement.h:
- svg/SVGFECompositeElement.cpp:
- svg/SVGFECompositeElement.h:
- svg/SVGFEFloodElement.cpp:
- svg/SVGFEFloodElement.h:
- svg/SVGFEFuncAElement.cpp:
- svg/SVGFEFuncAElement.h:
- svg/SVGFEFuncBElement.cpp:
- svg/SVGFEFuncBElement.h:
- svg/SVGFEFuncGElement.cpp:
- svg/SVGFEFuncGElement.h:
- svg/SVGFEFuncRElement.cpp:
- svg/SVGFEFuncRElement.h:
- svg/SVGFEGaussianBlurElement.cpp:
- svg/SVGFEGaussianBlurElement.h:
- svg/SVGFEImageElement.cpp:
- svg/SVGFEMergeElement.cpp:
- svg/SVGFEMergeElement.h:
- svg/SVGFEMergeNodeElement.cpp:
- svg/SVGFEOffsetElement.cpp:
- svg/SVGFEOffsetElement.h:
- svg/SVGFETileElement.cpp:
- svg/SVGFETileElement.h:
- svg/SVGFETurbulenceElement.cpp:
- svg/SVGFETurbulenceElement.h:
- svg/SVGFilterElement.cpp:
- svg/SVGGElement.cpp:
- svg/SVGGradientElement.cpp:
- svg/SVGHKernElement.idl:
- svg/SVGLangSpace.cpp:
- svg/SVGLangSpace.h:
- svg/SVGLength.cpp:
- svg/SVGLength.h:
- svg/SVGLength.idl:
- svg/SVGLengthList.cpp:
- svg/SVGLengthList.h:
- svg/SVGLineElement.cpp:
- svg/SVGLinearGradientElement.h:
- svg/SVGList.h:
- svg/SVGListTraits.h:
- svg/SVGLocatable.h:
- svg/SVGMaskElement.cpp:
- svg/SVGMatrix.idl:
- svg/SVGMetadataElement.cpp:
- svg/SVGMetadataElement.h:
- svg/SVGMetadataElement.idl:
- svg/SVGNumber.idl:
- svg/SVGNumberList.cpp:
- svg/SVGNumberList.h:
- svg/SVGPaint.cpp:
- svg/SVGPathElement.cpp:
- svg/SVGPathSeg.h:
- svg/SVGPathSegArc.cpp:
- svg/SVGPathSegArc.h:
- svg/SVGPathSegClosePath.cpp:
- svg/SVGPathSegClosePath.h:
- svg/SVGPathSegCurvetoCubic.cpp:
- svg/SVGPathSegCurvetoCubic.h:
- svg/SVGPathSegCurvetoCubicSmooth.cpp:
- svg/SVGPathSegCurvetoCubicSmooth.h:
- svg/SVGPathSegCurvetoQuadratic.cpp:
- svg/SVGPathSegCurvetoQuadratic.h:
- svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
- svg/SVGPathSegCurvetoQuadraticSmooth.h:
- svg/SVGPathSegLineto.cpp:
- svg/SVGPathSegLineto.h:
- svg/SVGPathSegLinetoHorizontal.cpp:
- svg/SVGPathSegLinetoHorizontal.h:
- svg/SVGPathSegLinetoVertical.cpp:
- svg/SVGPathSegLinetoVertical.h:
- svg/SVGPathSegMoveto.cpp:
- svg/SVGPathSegMoveto.h:
- svg/SVGPatternElement.cpp:
- svg/SVGPoint.idl:
- svg/SVGPointList.cpp:
- svg/SVGPointList.h:
- svg/SVGPolyElement.cpp:
- svg/SVGPolygonElement.cpp:
- svg/SVGPolygonElement.h:
- svg/SVGPolylineElement.cpp:
- svg/SVGPolylineElement.h:
- svg/SVGPreserveAspectRatio.cpp:
- svg/SVGPreserveAspectRatio.h:
- svg/SVGRadialGradientElement.h:
- svg/SVGRect.idl:
- svg/SVGRectElement.cpp:
- svg/SVGRenderingIntent.h:
- svg/SVGSVGElement.idl:
- svg/SVGScriptElement.cpp:
- svg/SVGSetElement.cpp:
- svg/SVGSetElement.h:
- svg/SVGStopElement.cpp:
- svg/SVGStringList.cpp:
- svg/SVGStringList.h:
- svg/SVGStylable.cpp:
- svg/SVGStylable.h:
- svg/SVGStyleElement.cpp:
- svg/SVGStyleElement.h:
- svg/SVGStyledElement.h:
- svg/SVGStyledLocatableElement.cpp:
- svg/SVGStyledLocatableElement.h:
- svg/SVGStyledTransformableElement.cpp:
- svg/SVGStyledTransformableElement.h:
- svg/SVGSwitchElement.cpp:
- svg/SVGSymbolElement.cpp:
- svg/SVGTRefElement.cpp:
- svg/SVGTSpanElement.cpp:
- svg/SVGTSpanElement.h:
- svg/SVGTests.h:
- svg/SVGTextElement.cpp:
- svg/SVGTextElement.h:
- svg/SVGTextPathElement.cpp:
- svg/SVGTextPositioningElement.cpp:
- svg/SVGTextPositioningElement.h:
- svg/SVGTitleElement.cpp:
- svg/SVGTitleElement.h:
- svg/SVGTransform.cpp:
- svg/SVGTransform.h:
- svg/SVGTransform.idl:
- svg/SVGTransformList.cpp:
- svg/SVGTransformList.h:
- svg/SVGTransformable.h:
- svg/SVGURIReference.h:
- svg/SVGUnitTypes.h:
- svg/SVGUseElement.cpp:
- svg/SVGViewElement.cpp:
- svg/SVGZoomAndPan.cpp:
- svg/SVGZoomAndPan.h:
- svg/SVGZoomEvent.cpp:
- 3:28 PM Changeset in webkit [50582] by
-
- 17 edits3 moves5 adds2 deletes in trunk/LayoutTests
2009-11-05 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: beautify layout tests.
- inspector/console-dir-expected.txt:
- inspector/console-dir.html:
- inspector/console-dirxml-expected.txt:
- inspector/console-dirxml.html:
- inspector/console-format-collections-expected.txt:
- inspector/console-format-collections.html:
- inspector/console-format-expected.txt:
- inspector/console-format.html:
- inspector/console-tests-expected.txt:
- inspector/console-tests.html:
- inspector/console-tests.js: Added. (dumpConsoleMessages.callback): (dumpConsoleMessages): (dumpConsoleMessagesWithClasses.callback): (dumpConsoleMessagesWithClasses): (frontendScript_dumpConsoleMessages):
- inspector/css-syntax-highlight.html: Removed.
- inspector/elements-panel-structure-expected.txt:
- inspector/elements-panel-structure.html:
- inspector/elements-tests.js: Added. (frontendScript_expandDOMSubtree.processChildren): (frontendScript_expandDOMSubtree):
- inspector/evaluate-in-frontend.html:
- inspector/evaluate-in-frontend.js: Removed.
- inspector/inspector-test.js: Added. (): (evaluateInWebInspector): (notifyDone): (output): (window.didEvaluateForTestInFrontend):
- inspector/javascript-syntax-highlight.html: Removed.
- inspector/styles-iframe.html:
- inspector/syntax-highlight-css-expected.txt: Renamed from LayoutTests/inspector/css-syntax-highlight-expected.txt.
- inspector/syntax-highlight-css.html: Added.
- inspector/syntax-highlight-javascript-expected.txt: Renamed from LayoutTests/inspector/javascript-syntax-highlight-expected.txt.
- inspector/syntax-highlight-javascript.html: Added.
- inspector/syntax-highlight.js: Added. (doit.callback): (doit): (frontendScript_dumpSyntaxHighlight):
- inspector/timeline-trivial.html:
- platform/qt/Skipped:
- 3:25 PM Changeset in webkit [50581] by
-
- 5 edits in trunk/WebCore
2009-11-05 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Dimitri Glazkov.
REGRESSION Clean up security origin usage in DOM Storage.
https://bugs.webkit.org/show_bug.cgi?id=31188
Clean up security origin usage in DOM Storage. This fixes a bug in my
refactoring here: https://bugs.webkit.org/show_bug.cgi?id=31149
Instead of having StorageAreaSync's constructor (which is called in the
constructor for StorageAreaImpl) calling a method on StoargeAreaImpl to get the
database identifier, simply have StorageAreaImpl pass the identifier into
StorageAreaSync.
No test because there's no change in externally observable behavior.
- storage/StorageAreaImpl.cpp: (WebCore::StorageAreaImpl::StorageAreaImpl):
- storage/StorageAreaImpl.h:
- storage/StorageAreaSync.cpp: (WebCore::StorageAreaSync::create): (WebCore::StorageAreaSync::StorageAreaSync):
- storage/StorageAreaSync.h:
- 3:08 PM Changeset in webkit [50580] by
-
- 3 edits in trunk/WebCore
2009-11-05 Scott Violet <sky@google.com>
Reviewed by Dimitri Glazkov.
Need notification of scrolling frame
https://bugs.webkit.org/show_bug.cgi?id=31145
Adds FrameLoaderClient::didChangeScrollOffset that is called when
the frame scrolls. This will be used to know when history state
needs to be updated.
- loader/FrameLoaderClient.h: (WebCore::FrameLoaderClient::didChangeScrollOffset):
- page/FrameView.cpp: (WebCore::FrameView::valueChanged):
- 2:46 PM Changeset in webkit [50579] by
-
- 2 edits in trunk/LayoutTests
2009-11-05 Shu Chang <Chang.Shu@nokia.com>
Reviewed by Adele Peterson.
The number of selected lines in textarea after a shift-PageDown
may differ. The test case is modified so that it will not depend
on the exact number of lines selected. This should resolve regression
on platforms like Qt and GTK.
https://bugs.webkit.org/show_bug.cgi?id=31122
- editing/selection/shrink-selection-after-shift-pagedown.html:
- 2:17 PM Changeset in webkit [50578] by
-
- 4 edits in trunk/WebCore
2009-11-05 Kenneth Russell <kbr@google.com>
Reviewed by Dimitri Glazkov.
[V8] Update bindings to use new API for external arrays
https://bugs.webkit.org/show_bug.cgi?id=31181
No new tests; covered by existing WebGL tests.
- bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::setIndexedPropertiesToExternalArray): (WebCore::V8DOMWrapper::getTemplate): (WebCore::V8DOMWrapper::convertToV8Object):
- bindings/v8/V8DOMWrapper.h:
- bindings/v8/custom/V8CanvasArrayCustom.h: (WebCore::constructCanvasArray):
- 1:59 PM Changeset in webkit [50577] by
-
- 3 edits in trunk/WebCore
Not reviewed, Chromium build fix.
Patch by Alpha Lam <hclam@chromium.org> on 2009-11-05
50561 introduces a custom method for SVGMatrix, we need to implement
this in V8.
- bindings/v8/custom/V8CustomBinding.h:
Adding definition for V8SVGMatrixMultiply.
- bindings/v8/custom/V8SVGMatrixCustom.cpp:
(WebCore::CALLBACK_FUNC_DECL):
Implement V8SVGMatrixMultiply according to the same method in JSC.
- 1:09 PM Changeset in webkit [50576] by
-
- 2 edits in trunk/LayoutTests
2009-11-05 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: empty line in expectations build fix.
- fast/events/event-listener-map-rehash-crash-expected.txt:
- 12:42 PM Changeset in webkit [50575] by
-
- 4 edits in trunk/WebCore
Revert 50569 since it broke QT. Build fix and just a revert, so no review.
Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-11-05
- page/DOMWindow.cpp:
(WebCore::DOMWindow::sessionStorage):
- page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setSessionStorageEnabled):
- page/Settings.h:
(WebCore::Settings::sessionStorageEnabled):
- 12:13 PM Changeset in webkit [50574] by
-
- 16 edits4 adds in trunk
2009-11-05 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
REGRESSION: Web Inspector doesn't show CSS rules properly for iframes
Test: inspector/styles-iframe.html
- inspector/front-end/DOMAgent.js: (WebInspector.DOMNode):
- inspector/front-end/InjectedScript.js: (InjectedScript.getStyles): (InjectedScript.getComputedStyle): (InjectedScript.addStyleSelector):
- inspector/front-end/TestController.js: (WebInspector.TestController.prototype.notifyDone): (WebInspector.TestController.prototype.runAfterPendingDispatches): (WebInspector.evaluateForTestInFrontend.invokeMethod): (WebInspector.evaluateForTestInFrontend):
- 12:09 PM Changeset in webkit [50573] by
-
- 6 edits2 adds in trunk
WebCore:
2009-11-05 Vitaly Repeshko <vitalyr@chromium.org>
Reviewed by Geoffrey Garen and Dimitri Glazkov.
Rehashing of EventListenerMap leads to loss of EvenListenerList.
https://bugs.webkit.org/show_bug.cgi?id=31027
Tested by new fast/events/event-listener-map-rehash-crash.html.
EventListenerMap modified to store pointers to listener vectors:
- dom/EventTarget.cpp: (WebCore::EventTargetData::~EventTargetData): (WebCore::EventTarget::addEventListener): (WebCore::EventTarget::removeEventListener): (WebCore::EventTarget::fireEventListeners): (WebCore::EventTarget::getEventListeners): (WebCore::EventTarget::removeAllEventListeners):
- dom/EventTarget.h:
Usages updated after interface changes:
- inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::getEventListenersForNode):
- svg/SVGUseElement.cpp: (WebCore::SVGUseElement::transferEventListenersToShadowTree):
LayoutTests:
2009-11-05 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Geoffrey Garen.
Rehashing of EventListenerMap leads to loss of EvenListenerList.
https://bugs.webkit.org/show_bug.cgi?id=31027
- fast/events/event-listener-map-rehash-crash.html: Added.
- 12:05 PM Changeset in webkit [50572] by
-
- 2 edits in trunk/LayoutTests
Rubber-stamped by Adam Roben.
Add ruby tests and failing accessibility test to Windows Skipped list,
we should be able to re-add ruby tests, but not sure the correct course
of action yet.
- platform/win/Skipped:
- 11:57 AM Changeset in webkit [50571] by
-
- 2 edits in trunk/WebCore
2009-11-05 Dan Kegel <dank@chromium.org>
Reviewed by Dmitri Titov.
Add missing initialization for m_createdByParser.
https://bugs.webkit.org/show_bug.cgi?id=31089
Test: fast/dom/beforeload/pi-before-load.xhtml in Valgrind
- dom/ProcessingInstruction.cpp: (WebCore::ProcessingInstruction::ProcessingInstruction):
- 11:33 AM Changeset in webkit [50570] by
-
- 2 edits in trunk/WebKitTools
2009-11-04 Eric Seidel <eric@webkit.org>
No review, just add a line which got left out of the patch uploaded for commit.
commit-queue is crashing when trying to reject patches after unknown failures
https://bugs.webkit.org/show_bug.cgi?id=31091
- Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
- 11:27 AM Changeset in webkit [50569] by
-
- 4 edits in trunk/WebCore
2009-11-04 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Adam Barth.
DOM Storage runtime flag changes
https://bugs.webkit.org/show_bug.cgi?id=30602
Part 2/2.
Revert my changes to Settings and instead implement DOM Storage enabling via
the methods agreed upon in https://bugs.webkit.org/show_bug.cgi?id=30240
This stuff was (intentionally) never exposed to web pages or DRT, so there's no
LayoutTest visible changes and thus no tests.
- bindings/v8/custom/V8CustomBinding.h:
- bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::ACCESSOR_RUNTIME_ENABLER):
- page/DOMWindow.cpp: (WebCore::DOMWindow::sessionStorage):
- page/DOMWindow.idl:
- page/Settings.cpp: (WebCore::Settings::Settings):
- page/Settings.h:
- storage/Storage.cpp: (WebCore::Storage::setLocalStorageAvailable): (WebCore::Storage::localStorageAvailable): (WebCore::Storage::setSessionStorageAvailable): (WebCore::Storage::sessionStorageAvailable):
- storage/Storage.h:
- 10:33 AM Changeset in webkit [50568] by
-
- 3 edits in trunk/WebCore
Bug 31108 - [V8] REGRESSION: Pause on exception is broken
https://bugs.webkit.org/show_bug.cgi?id=31108
Reviewed by Pavel Feldman.
- bindings/v8/V8AbstractEventListener.cpp:
(WebCore::V8AbstractEventListener::invokeEventHandler):
- bindings/v8/V8Utilities.cpp:
(WebCore::reportException):
- 10:14 AM Changeset in webkit [50567] by
-
- 10 edits in trunk/WebKit/win
Make CFDictionaryPropertyBag::createInstance return a COMPtr
I also cleaned up CFDictionaryPropertyBag's class declaration a little
while I was at it.
Part of <http://webkit.org/b/25294> <rdar://problem/6803127> All
WebKit/win classes should return COMPtrs from their static constructor
members
Reviewed by Steve Falkenburg.
- CFDictionaryPropertyBag.cpp:
(CFDictionaryPropertyBag::CFDictionaryPropertyBag): Changed to
initialize m_refCount to 0. m_refCount gets increased to 1 by
createInstance.
(CFDictionaryPropertyBag::createInstance): Changed to return a COMPtr.
- CFDictionaryPropertyBag.h:
- Updated copyright years
- Fixed header guard to match current style
- Replaced #include of CoreFoundation.h with forward-declaration of CFMutableDictionaryRef
- Added #include of COMPtr.h
- Fixed opening brace placement in class declaration
- Made createInstance return a COMPtr
- Made constructor/destructor private
- Made QueryInterface and IPropertyBag functions private
- Removed unnecessary parameter names and MIDL comments
- WebCache.cpp:
(WebCache::statistics): Updated for change to
CFDictionaryPropertyBag::createInstance. Now uses releaseRef to place
the IPropertyBag pointers into the s array.
- WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::dispatchDidFailToStartPlugin):
- WebDatabaseManager.cpp:
(WebDatabaseManager::dispatchDidModifyDatabase):
- WebFrame.cpp:
(WebFrame::createJavaAppletWidget):
Updated for change to CFDictionaryPropertyBag::createInstance.
- WebHistory.cpp: Removed releaseUserInfo, which is no longer needed.
That function was also doing an unnecessary call to setDictionary(0).
(createUserInfoFromArray):
(createUserInfoFromHistoryItem):
Changed to return COMPtr.
(WebHistory::loadFromURL): Updated for change to
CFDictionaryPropertyBag::createInstance.
(WebHistory::removeAllItems): Updated for change to
CFDictionaryPropertyBag::createInstance, which fixed a leak! We had
forgotten to call releaseUserInfo here.
(WebHistory::removeItem):
(WebHistory::addItem):
(WebHistory::visitedURL):
- WebIconDatabase.cpp:
(postDidAddIconNotification):
Updated for change to CFDictionaryPropertyBag::createInstance.
- WebKitClassFactory.cpp:
(releaseRefFromCreateInstance): Added this overloaded function
template to abstract away the difference between createInstance
functions that return a ref'd pointer and createInstance functions
that return a COMPtr.
(WebKitClassFactory::CreateInstance): Changed to use
releaseRefFromCreateInstance.
- 9:59 AM Changeset in webkit [50566] by
-
- 4 edits2 adds in trunk
WebCore: We should not bubble up events if we drag something to an iframe that
has an invalid source.
https://bugs.webkit.org/show_bug.cgi?id=30469
Reviewed by Dmitri Titov.
Test: http/tests/misc/bubble-drag-events.html
- page/EventHandler.cpp:
(WebCore::EventHandler::handleDragAndDropForTarget):
(WebCore::EventHandler::updateDragAndDrop):
(WebCore::EventHandler::cancelDragAndDrop):
(WebCore::EventHandler::performDragAndDrop):
- page/EventHandler.h:
(WebCore::EventHandler::):
LayoutTests: Tests the drag event bubbling on different targets:
- iframe with invalid source
- iframe with valid source
- non-iframe droppable element
https://bugs.webkit.org/show_bug.cgi?id=30469
Reviewed by Dmitri Titov.
- http/tests/misc/bubble-drag-events-expected.txt: Added.
- http/tests/misc/bubble-drag-events.html: Added.
- 8:42 AM Changeset in webkit [50565] by
-
- 2 edits in trunk/WebKitTools
Remove bogus else clause in bugzilla-tool
Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
create-bug raises exception after entering bug description
Reviewed by David Kilzer.
- Scripts/bugzilla-tool:
(CreateBug): else clauses are only hit if no exception is raised, so
it makes no sense to try to re-raise the exception in an else clause.
The exception will automatically be re-raised if it doesn't match any
of the except clauses, so we don't have to do anything special here at
all to get the desired behavior.
- 7:58 AM Changeset in webkit [50564] by
-
- 2 edits in trunk/WebCore
2009-11-05 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: speed up Timelines Clear by a factor of thousands.
- inspector/front-end/utilities.js: (Element.prototype.removeChildren):
- 7:48 AM Changeset in webkit [50563] by
-
- 2 edits in trunk/WebKit/qt
2009-11-05 Shu Chang <Chang.Shu@nokia.com>
Reviewed by Tor Arne Vestbø.
Add support for Shift-PageUp and Shift-PageDown key events.
https://bugs.webkit.org/show_bug.cgi?id=31166
Test: LayoutTests/editing/selection/shrink-selection-after-shift-pagedown.html
- WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::handleKeyboardEvent):
- 7:36 AM Changeset in webkit [50562] by
-
- 4 edits in trunk/WebCore
2009-11-05 Anton Muhin <antonm@chromium.org>
Reviewed by Adam Barth.
If high memory usage is detected, hint to V8 that it might be due
to external objects retained by V8 objects.
https://bugs.webkit.org/show_bug.cgi?id=31051
- bindings/v8/V8GCController.cpp: (WebCore::GetMemoryUsageInMB): (WebCore::V8GCController::gcEpilogue): (WebCore::V8GCController::checkMemoryUsage):
- bindings/v8/V8GCController.h:
- bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::evaluate): (WebCore::V8Proxy::runScript): (WebCore::V8Proxy::callFunction):
- 7:28 AM Changeset in webkit [50561] by
-
- 4 edits2 adds in trunk
2009-11-05 Jeff Schiller <codedread@gmail.com>
Reviewed by Simon Fraser.
Added test to ensure proper order of matrix multiplication with SVGMatrix.
https://bugs.webkit.org/show_bug.cgi?id=16062
- svg/dom/SVGMatrix-interface-expected.txt: Added.
- svg/dom/SVGMatrix-interface.xhtml: Added.
2009-11-05 Jeff Schiller <codedread@gmail.com>
Reviewed by Simon Fraser.
Correct order of matrix multiplication for SVGMatrix.
https://bugs.webkit.org/show_bug.cgi?id=16062
Test: svg/dom/SVGMatrix-interface.xhtml
- bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::multiply):
- svg/SVGMatrix.idl:
- 2:06 AM Changeset in webkit [50560] by
-
- 4 edits in trunk/WebCore
2009-11-04 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: Make resource-related records in timeline
actually take some time.
- English.lproj/localizedStrings.js:
- inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel): (WebInspector.TimelinePanel.prototype._formatRecord): (WebInspector.TimelinePanel.prototype._getRecordDetails): (WebInspector.TimelinePanel.prototype.reset):
- 1:51 AM Changeset in webkit [50559] by
-
- 2 edits in trunk
2009-11-05 Priit Laes <plaes@plaes.org>
Reviewed by Jan Alonzo.
[Gtk] Build failure with --enable-introspection
https://bugs.webkit.org/show_bug.cgi?id=31102
Add search and include paths for JSCore-1.0.gir required by
gobject-introspection tools.
- GNUmakefile.am:
- 1:31 AM Changeset in webkit [50558] by
-
- 6 edits in trunk/WebCore
2009-11-04 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Simplify LocalStorageThread
https://bugs.webkit.org/show_bug.cgi?id=30935
This is a re-submit of 50519. LocalStorageTask should have never been ref
counted. I've removed that and switched a PassRefPtr over to a PassOwnPtr.
On LocalStoragethread: Remove reference counting. Get rid of locking. Make some
of the method names a bit more clear. Assert proper thread usage. Join rather
than detaching the thread and doing an ad-hoc form of join. Avoid touching
variables on the background thread when simple to do so. Also create a generic
scheduleTask function rather than one for each task.
No behavior should have changed.
- storage/LocalStorageTask.h:
- storage/LocalStorageThread.cpp: (WebCore::LocalStorageThread::create): (WebCore::LocalStorageThread::LocalStorageThread): (WebCore::LocalStorageThread::~LocalStorageThread): (WebCore::LocalStorageThread::start): (WebCore::LocalStorageThread::threadEntryPointCallback): (WebCore::LocalStorageThread::threadEntryPoint): (WebCore::LocalStorageThread::scheduleTask): (WebCore::LocalStorageThread::terminate): (WebCore::LocalStorageThread::performTerminate):
- storage/LocalStorageThread.h:
- storage/StorageSyncManager.cpp: (WebCore::StorageSyncManager::StorageSyncManager): (WebCore::StorageSyncManager::~StorageSyncManager): (WebCore::StorageSyncManager::scheduleImport): (WebCore::StorageSyncManager::scheduleSync):
- storage/StorageSyncManager.h:
- 12:58 AM Changeset in webkit [50557] by
-
- 5 edits in trunk/WebCore
2009-11-04 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Calling databaseIdentifier on LocalStorage's background thread is not safe.
https://bugs.webkit.org/show_bug.cgi?id=31149
Calling SecurityOrigin::databaseIdentifier on LocalStorage's background thread
is not safe. databaseIdentifier does a bunch of string concatenation which
ref-counts StringImpls in some cases. This was caught by valgrind thread
sanitizer: http://code.google.com/p/chromium/issues/detail?id=25645
There's no way to test for such racyness, unfortunately.
- storage/StorageAreaSync.cpp: (WebCore::StorageAreaSync::StorageAreaSync): (WebCore::StorageAreaSync::performImport):
- storage/StorageAreaSync.h:
- storage/StorageSyncManager.cpp: (WebCore::StorageSyncManager::fullDatabaseFilename):
- storage/StorageSyncManager.h:
- 12:40 AM Changeset in webkit [50556] by
-
- 2 edits in trunk/WebKit/qt
Last Qt 4.5 build fix (*sigh*)
Patch by Simon Hausmann <Simon Hausmann> on 2009-11-05
- tests/qwebpage/tst_qwebpage.cpp:
(inputMethodHints): inputMethodHints() is only used for
Qt 4.6, so guard the whole function.
- 12:36 AM Changeset in webkit [50555] by
-
- 4 edits in trunk/WebCore
2009-11-03 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Darin Fisher.
Clean up StorageAreaSync
https://bugs.webkit.org/show_bug.cgi?id=31100
Major fixes: Break the ref count cycle for StorageArea on the main
thread, not the background thread since the latter is not safe.
Length() needs to block on the import completing.
Small fixes: setItem needs to handle the copy on write case even if it
has an exception. setItem and removeItem should just bail from the
the function if the value hasn't changed rather than wrapping the end
in an if block. Clear should only send an event if it wasn't already
cleared. StorageAreaSync should assert that the final sync was
scheduled.
- storage/StorageAreaImpl.cpp: (WebCore::StorageAreaImpl::length): Forgot to block on the import. (WebCore::StorageAreaImpl::key): (WebCore::StorageAreaImpl::setItem): Handle the copy on write case even when there's an exception. (WebCore::StorageAreaImpl::removeItem): (WebCore::StorageAreaImpl::clear):
- storage/StorageAreaSync.cpp: (WebCore::StorageAreaSync::~StorageAreaSync): (WebCore::StorageAreaSync::scheduleFinalSync): (WebCore::StorageAreaSync::performImport): (WebCore::StorageAreaSync::markImported): (WebCore::StorageAreaSync::blockUntilImportComplete):
- storage/StorageAreaSync.h:
- 12:34 AM Web Inspector edited by
- Adding latest blog post (diff)
- 12:30 AM Changeset in webkit [50554] by
-
- 2 edits in trunk/WebKit/qt
Another prospective build fix against Qt 4.5 (build bot)
Patch by Simon Hausmann <Simon Hausmann> on 2009-11-05
Don't compile & run the QGraphicsWebView portion of the
input methods auto test with Qt 4.5.
- tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::inputMethods_data):
(inputMethodHints):
(inputMethodEnabled):
(tst_QWebPage::inputMethods):
- 12:28 AM Changeset in webkit [50553] by
-
- 3 edits in trunk/JavaScriptCore
Use ARMv7 specific encoding for immediate constants on ARMv7 target
https://bugs.webkit.org/show_bug.cgi?id=31060
Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-11-05
Reviewed by Gavin Barraclough.
- assembler/ARMAssembler.cpp:
(JSC::ARMAssembler::getOp2): Use INVALID_IMM
(JSC::ARMAssembler::getImm): Use encodeComplexImm for complex immediate
(JSC::ARMAssembler::moveImm): Ditto.
(JSC::ARMAssembler::encodeComplexImm): Encode a constant by one or two
instructions or a PC relative load.
- assembler/ARMAssembler.h: Use INVALID_IMM if a constant cannot be
encoded as an immediate constant.
(JSC::ARMAssembler::):
(JSC::ARMAssembler::movw_r): 16-bit immediate load
(JSC::ARMAssembler::movt_r): High halfword 16-bit immediate load
(JSC::ARMAssembler::getImm16Op2): Encode immediate constant for
movw_r and mowt_r
- 12:23 AM Changeset in webkit [50552] by
-
- 2 edits in trunk/WebKit/qt
Prospective build fix against Qt 4.5 (build bot)
Patch by Simon Hausmann <Simon Hausmann> on 2009-11-05
- Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::setInputMethodEnabled): Guard the
use of Qt 4.6 specific API with #ifdefs.
- 12:12 AM Changeset in webkit [50551] by
-
- 3 edits in trunk/WebKit/qt
[Qt] Fix enabling of input method support on QGraphicsWebView.
https://bugs.webkit.org/show_bug.cgi?id=30605
Patch by Simon Hausmann <Simon Hausmann> on 2009-11-01
Reviewed by Kenneth Christiansen.
Instead of setting the unsupported widget attribute on the
QGraphicsWidget in setInputMethodEnabled() set the
ItemAcceptsInputMethod GraphicsItem flag directly.
Changed the existing input method auto test to run once
on a QWebView and once on a QGraphicsWebView.
- Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::setInputMethodEnabled):
- tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::inputMethods_data):
(inputMethodHints):
(inputMethodEnabled):
(tst_QWebPage::inputMethods):
- 12:11 AM Changeset in webkit [50550] by
-
- 4 edits in trunk/WebKit/qt
Added QGraphicsWebView::modified property, for consistency
with QWebView.
Patch by Simon Hausmann <Simon Hausmann> on 2009-11-04
Reviewed by Kenneth Christiansen.
- Api/qgraphicswebview.cpp:
(QGraphicsWebView::isModified):
- Api/qgraphicswebview.h:
- tests/qgraphicswebview/tst_qgraphicswebview.cpp:
(tst_QGraphicsWebView::qgraphicswebview):
- 12:11 AM Changeset in webkit [50549] by
-
- 4 edits in trunk/WebKit/qt
Removed status and progress properties of QGraphicsWebView.
Added loadProgress and statusBarMessage signals instead,
after API review.
Patch by Simon Hausmann <Simon Hausmann> on 2009-11-04
Reviewed by Kenneth Christiansen.
- Api/qgraphicswebview.cpp:
(QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
(QGraphicsWebView::setPage):
- Api/qgraphicswebview.h:
- tests/qgraphicswebview/tst_qgraphicswebview.cpp:
(tst_QGraphicsWebView::qgraphicswebview):