Timeline
Jul 18, 2011:
- 10:33 PM Changeset in webkit [91239] by
-
- 2 edits in trunk/Source/WebKit/mac
Solar Walk app-specific hack accidentally strips stylesheets from the document.
https://bugs.webkit.org/show_bug.cgi?id=64777
Reviewed by Adam Barth.
Solar Walk uses a self-closed title tag in its documents ("<title />").
The HTML5 parser does not recognize this as a valid self-closing tag,
so it treats the remainder of the document as title text.
We work around this in WebKit by injecting a script that calls
document.write() on the contents of document.title, thereby restoring
the contents of the document. Unfortunately this overwrote several
<style> tags that existed before the <title>, thereby causing the
document to not have the intended styling.
Fix this by having the injected script concatenate document.title to
the document instead of overwriting it during document.write(). We can
also take the opportunity to remove document.title since it does not
contain useful information.
- Misc/SolarWalkQuirksUserScript.js:
- 10:04 PM Changeset in webkit [91238] by
-
- 2 edits in trunk/LayoutTests
Fix Chromium test expectations.
- platform/chromium/test_expectations.txt:
- 9:14 PM Changeset in webkit [91237] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(91209?): fast/css/custom-font-xheight.html is failing on Leopard
https://bugs.webkit.org/show_bug.cgi?id=64767
Add a runtime check for font cascading optimization.
It's a constant value in Mac port so hopefully gcc will constant-propagate the value
and eliminate the function altogether.
- platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::canSetCascadeListForCustomFont): Added.
(WebCore::FontPlatformData::ctFont):
- 9:03 PM Changeset in webkit [91236] by
-
- 2 edits in trunk/LayoutTests
Chromium test expectation update after r91229.
- platform/chromium/test_expectations.txt:
- 7:55 PM Changeset in webkit [91235] by
-
- 23 edits2 adds in trunk
.: [ShadowContentElement] forwarded node should be able to access its hosting content element.
https://bugs.webkit.org/show_bug.cgi?id=64251
Reviewed by Dimitri Glazkov.
Added GTK symbols for new window.internals methods.
- Source/autotools/symbols.filter:
Source/WebCore: [ShadowContentElement] forwarded node should be able to access its hosting content element.
https://bugs.webkit.org/show_bug.cgi?id=64251
Reviewed by Dimitri Glazkov.
- Introduced ShadowInclusionSet to manage included nodes to its includer content element. ShadowInclusionSet instance is owned by ShadowRoot.
- Updated the set on inclusion list changes.
- Used the set to retrieve the content element of NodeRenderingContext.
There are also related refactoring and cleanup:
- Renamed NodeRenderingContext::m_contentElement to m_includer
- ShadowContentSelector::m_activeElement is no longer used, thus removed.
Test: fast/dom/shadow/content-element-includer.html
- WebCore.exp.in:
- dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::NodeRenderingContext):
(WebCore::NodeRenderingContext::nextRenderer):
(WebCore::NodeRenderingContext::previousRenderer):
- dom/NodeRenderingContext.h:
(WebCore::NodeRenderingContext::includer):
- dom/ShadowContentElement.cpp:
(WebCore::removeFromSet):
(WebCore::addToSet):
(WebCore::ShadowContentElement::attach):
(WebCore::ShadowContentElement::detach):
- dom/ShadowContentElement.h:
(WebCore::ShadowInclusionSet::add):
(WebCore::ShadowInclusionSet::remove):
(WebCore::ShadowInclusionSet::isEmpty):
(WebCore::ShadowInclusionSet::Translator::hash):
(WebCore::ShadowInclusionSet::Translator::equal):
(WebCore::ShadowInclusionSet::Hash::hash):
(WebCore::ShadowInclusionSet::Hash::equal):
(WebCore::ShadowInclusionSet::find):
- dom/ShadowContentSelector.cpp:
(WebCore::ShadowContentSelector::ShadowContentSelector):
(WebCore::ShadowContentSelector::selectInclusion):
- dom/ShadowContentSelector.h:
- dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::~ShadowRoot):
(WebCore::ShadowRoot::includerFor):
(WebCore::ShadowRoot::inclusions):
(WebCore::ShadowRoot::ensureInclusions):
- dom/ShadowRoot.h:
(WebCore::toShadowRoot):
- testing/Internals.cpp:
(WebCore::Internals::includerFor):
- testing/Internals.h:
- testing/Internals.idl:
Source/WebKit2: [ShadowContentElement] forwarded node should be able to access its hosting content element.
https://bugs.webkit.org/show_bug.cgi?id=64251
Reviewed by Dimitri Glazkov.
Exported additional symbols for window.internals object.
- win/WebKit2.def:
- win/WebKit2CFLite.def:
LayoutTests: [ShadowContentElement] forwarded node should be able to access its hosting content element.
https://bugs.webkit.org/show_bug.cgi?id=64251
Reviewed by Dimitri Glazkov.
- Added a new test.
- Updated expectations. This change make ShadowContentElement availability on NodeRenderingContext more strict. that makes some redundant node disappeared.
- fast/dom/shadow/content-element-includer-expected.txt: Added.
- fast/dom/shadow/content-element-includer.html: Added.
- platform/chromium-win/fast/html/details-nested-2-expected.txt:
- platform/gtk/fast/html/details-nested-2-expected.txt:
- platform/mac/fast/html/details-nested-2-expected.txt:
- platform/qt/fast/html/details-nested-2-expected.txt:
- 7:42 PM Changeset in webkit [91234] by
-
- 13 edits in trunk/LayoutTests
Add a failing test expectation for object-prototype-properties.html after r91225.
Patch by Ryosuke Niwa <rniwa@webkit.org> on 2011-07-18
- platform/chromium/test_expectations.txt:
- 7:25 PM Changeset in webkit [91233] by
-
- 2 edits in trunk/Tools
Tab Atkins is not in committers.py (as a non-committer)
https://bugs.webkit.org/show_bug.cgi?id=64770
Patch by Tab Atkins <jackalmage@gmail.com> on 2011-07-18
Reviewed by Eric Seidel.
- Scripts/webkitpy/common/config/committers.py:
- 7:21 PM Changeset in webkit [91232] by
-
- 20 edits in trunk/Source
2011-07-18 Dean Jackson <dino@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=64742
Expose WebPreferences for media playback requiring user gestures and inline playback
Reviewed by Simon Fraser.
Media playback already tested if it should require user gestures, but
no setting was ever exposed to clients. Also, some ports only allow media
playback to be fullscreen, so exposing a new setting for them.
Two new WebPreferences: MediaPlaybackRequiresUserGesture and
MediaPlaybackAllowsInline.
WebCore:
- html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): Examine the new Setting for user gestures.
- page/Settings.cpp: (WebCore::Settings::Settings):
- page/Settings.h: Two new settings. (WebCore::Settings::setMediaPlaybackRequiresUserGesture): (WebCore::Settings::mediaPlaybackRequiresUserGesture): (WebCore::Settings::setMediaPlaybackAllowsInline): (WebCore::Settings::mediaPlaybackAllowsInline):
WebKit/mac:
- WebView/WebPreferenceKeysPrivate.h:
- WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences mediaPlaybackRequiresUserGesture]): (-[WebPreferences setMediaPlaybackRequiresUserGesture:]): (-[WebPreferences mediaPlaybackAllowsInline]): (-[WebPreferences setMediaPlaybackAllowsInline:]):
- WebView/WebPreferencesPrivate.h:
- WebView/WebView.mm: (-[WebView _preferencesChanged:]):
WebKit/win:
- Interfaces/IWebPreferencesPrivate.idl:
- WebPreferenceKeysPrivate.h:
- WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::setMediaPlaybackRequiresUserGesture): (WebPreferences::mediaPlaybackRequiresUserGesture): (WebPreferences::setMediaPlaybackAllowsInline): (WebPreferences::mediaPlaybackAllowsInline):
- WebPreferences.h:
- WebView.cpp: (WebView::notifyPreferencesChanged):
WebKit2:
- Shared/WebPreferencesStore.h:
- UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetMediaPlaybackRequiresUserGesture): (WKPreferencesGetMediaPlaybackRequiresUserGesture): (WKPreferencesSetMediaPlaybackAllowsInline): (WKPreferencesGetMediaPlaybackAllowsInline):
- UIProcess/API/C/WKPreferencesPrivate.h:
- WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences):
- 6:42 PM Changeset in webkit [91231] by
-
- 2 edits in trunk/Source/WebCore
Leopard build fix after r91229.
- platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::ctFont):
- 6:25 PM Changeset in webkit [91230] by
-
- 2 edits in trunk/LayoutTests
Add a failing test expectation for object-prototype-properties.html after r91225.
- platform/chromium/test_expectations.txt:
- 6:21 PM Changeset in webkit [91229] by
-
- 2 edits in trunk/Source/WebCore
REGRESSION(91209?): fast/css/custom-font-xheight.html is failing on Leopard
https://bugs.webkit.org/show_bug.cgi?id=64767
Reviewed by Sam Weinig.
- platform/graphics/Font.h:
- platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::ctFont): Undo the cascade list optimization on Leopard for custom
fonts, because adding a cascade list apparently breaks the font.
- 5:54 PM Changeset in webkit [91228] by
-
- 9 edits in trunk/Source/WebCore
Remove drawsUsingCopy now that all ports handle the copying
https://bugs.webkit.org/show_bug.cgi?id=64768
Introduced in https://bugs.webkit.org/show_bug.cgi?id=43507, ImageBuffer::drawsUsingCopy
was used to know whether or not an ImageBuffer should be explicitly copied before being
painted into a context (as was used in HTMLCanvasElement::paint). All platforms now
handle the logic of copying or not in their ImageBuffer::draw() implementations, so
drawsUsingCopy() is no longer needed. This patch removes it.
Reviewed by Dan Bernstein.
No new tests; does not affect behavior.
- html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::paint):
- platform/graphics/ImageBuffer.h:
(WebCore::ImageBuffer::isAccelerated):
- platform/graphics/cairo/ImageBufferCairo.cpp:
- platform/graphics/cg/ImageBufferCG.cpp:
- platform/graphics/qt/ImageBufferQt.cpp:
- platform/graphics/skia/ImageBufferSkia.cpp:
- platform/graphics/wince/ImageBufferWinCE.cpp:
- platform/graphics/wx/ImageBufferWx.cpp:
- 5:39 PM Changeset in webkit [91227] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: [REGRESSION] Resource preserving fails when frameNavigated event is dispatched on NetworkPanel.
https://bugs.webkit.org/show_bug.cgi?id=64748
Reviewed by Pavel Feldman.
- inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._frameNavigated):
- 5:36 PM Changeset in webkit [91226] by
-
- 7 edits in trunk/Source/JavaScriptCore
DFG JIT does not optimize strict equality as effectively as the old JIT does.
https://bugs.webkit.org/show_bug.cgi?id=64759
Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-18
Reviewed by Gavin Barraclough.
This adds a more complete set of strict equality optimizations. If either
operand is known numeric, then the code reverts to the old style of optimizing
(first try integer comparison). Otherwise it uses the old JIT's trick of
first simultaneously checking if both operands are either numbers or cells;
if not then a fast path is taken.
- dfg/DFGJITCodeGenerator.cpp:
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeStrictEq):
(JSC::DFG::JITCodeGenerator::nonSpeculativeNonPeepholeStrictEq):
(JSC::DFG::JITCodeGenerator::nonSpeculativeStrictEq):
- dfg/DFGJITCodeGenerator.h:
- dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
- dfg/DFGOperations.cpp:
- dfg/DFGOperations.h:
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 5:26 PM Changeset in webkit [91225] by
-
- 5 edits in trunk/Source/JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=64760
DFG JIT - Should be able to compile program code.
Reviewed by Geoff Garen.
Add support for op_end, hooks to compile program code in Executable.cpp.
- dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
- Add support for op_end
- dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::compileEntry):
(JSC::DFG::JITCompiler::compileBody):
(JSC::DFG::JITCompiler::link):
- Added, separate out steps of compileFunction.
(JSC::DFG::JITCompiler::compile):
- Added, compile program code.
(JSC::DFG::JITCompiler::compileFunction):
- Sections separated out to helper functions.
- dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::JITCompiler):
- Added m_exceptionCheckCount.
- runtime/Executable.cpp:
(JSC::tryDFGCompile):
(JSC::tryDFGCompileFunction):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
- Renamed tryDFGCompile to tryDFGCompileFunction, added tryDFGCompile to compile program code.
- 5:25 PM Changeset in webkit [91224] by
-
- 8 edits3 adds in trunk
https://bugs.webkit.org/show_bug.cgi?id=64678
Fix bugs in Object.prototype this handling.
Reviewed by Oliver Hunt.
Source/JavaScriptCore:
undefined/null this values should throw TypeErrors, not convert to the global object,
also, to toLocaleString should be calling the ToObject & invoking the object's toString
function, even for values that are already strings.
- runtime/ObjectPrototype.cpp:
(JSC::objectProtoFuncValueOf):
(JSC::objectProtoFuncHasOwnProperty):
(JSC::objectProtoFuncIsPrototypeOf):
(JSC::objectProtoFuncPropertyIsEnumerable):
(JSC::objectProtoFuncToLocaleString):
(JSC::objectProtoFuncToString):
LayoutTests:
- fast/js/resources/js-test-pre.js:
- Updated harness to not call Object.prototype.toString on undefined.
- fast/js/eval-var-decl-expected.txt:
- fast/js/object-prototype-properties-expected.txt: Added.
- fast/js/object-prototype-properties.html: Added.
- fast/js/object-prototype-toLocaleString-expected.txt
- fast/js/script-tests/eval-var-decl.js:
- Fix test case, calling hasProperty with undefined as the this value should throw.
- fast/js/script-tests/object-prototype-properties.js: Added.
- Place for test cases for Object.prototype properties; to being with, check that calling these methods on undefined throws!
- fast/js/script-tests/object-prototype-toLocaleString.js:
- Added test cases for correct behaviour when this is a string primitive.
- sputnik/Conformance/11_Expressions/11.1_Primary_Expressions/11.1.1_The_this_Keyword/S11.1.1_A2-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.13_String.prototype.slice/S15.5.4.13_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.15_String.prototype.substring/S15.5.4.15_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.4_String.prototype.charAt/S15.5.4.4_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.5_String.prototype.charCodeAt/S15.5.4.5_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.6_String.prototype.concat/S15.5.4.6_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.7_String.prototype.indexOf/S15.5.4.7_A1_T3-expected.txt:
- sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.8_String.prototype.lastIndexOf/S15.5.4.8_A1_T3-expected.txt:
- These test cases are all incorrect. (See https://bugs.ecmascript.org/show_bug.cgi?id=117). We were incorrectly passing 15.5.4.11_String.prototype.replace, this should fail, as the others do. All the other 15.5.4 tests were failing & are still failing, but now have a better error message. S11.1.1_A2 is also invalid, calling toString() passing undefined as this should throw.
- 5:20 PM Changeset in webkit [91223] by
-
- 2 edits in trunk/LayoutTests
Fix a typo.
- platform/chromium/test_expectations.txt:
- 5:14 PM Changeset in webkit [91222] by
-
- 3 edits in trunk/Source/WebCore
Prep work for: Crash under WebPage::platformDragEnded when dragging on Mac
https://bugs.webkit.org/show_bug.cgi?id=64766
<rdar://problem/9548174>
Reviewed by Darin Adler.
Add a DragClient function that is called when a drag is ended, and call it from DragController::dragEnded.
This isn't used yet, but will be used by WebKit2 on Mac.
This patch also cleans up style in DragClient.h.
No change in behavior, no tests needed.
- page/DragClient.h:
(WebCore::DragClient::dragEnded): Stub virtual implementation for now, this will be used by
WebKit2 on Mac.
- page/DragController.cpp:
(WebCore::DragController::dragEnded): Call DragClient::dragEnded.
- 4:59 PM Changeset in webkit [91221] by
-
- 2 edits in trunk/LayoutTests
Add Chromium failing expectations for some font tests; failures are tracked by the bug 64767.
- platform/chromium/test_expectations.txt:
- 4:19 PM Changeset in webkit [91220] by
-
- 2 edits in trunk/Tools
Load ToT chromium bots by default in the flakiness dashboard
https://bugs.webkit.org/show_bug.cgi?id=64756
Reviewed by Adam Barth.
For now, these are the most useful bots to look at. Eventually,
we may want to load the build.webkit.org bots by default once
most of the bots there upload results.
- TestResultServer/static-dashboards/dashboard_base.js:
- 4:16 PM Changeset in webkit [91219] by
-
- 15 edits2 adds in trunk
Focus and selection events are not fired when a <select>'s selection
changes
https://bugs.webkit.org/show_bug.cgi?id=64504
<rdar://problem/9319881>
Reviewed by Alice Liu.
Source/WebCore:
Test: platform/win/accessibility/option-element-selection-and-focus-events.html
- accessibility/chromium/AXObjectCacheChromium.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
Add new notification type to the section of unhandled notifications.
- accessibility/AXObjectCache.h:
Declare a new notification, AXMenuListItemSelected.
- accessibility/AccessibilityMenuList.cpp:
(WebCore::AccessibilityMenuList::didUpdateActiveOption):
Tell our child popup that the active option changed, and post a
notification that our value changed.
- accessibility/AccessibilityMenuList.h:
Declare didUpdateActiveOption().
- accessibility/AccessibilityMenuListPopup.cpp:
(WebCore::AccessibilityMenuListPopup::didUpdateActiveOption):
Get the child <option> element that is selected, and fire focus and
selection events for it.
- accessibility/AccessibilityMenuListPopup.h:
Declare didUpdateActiveOption().
- accessibility/win/AXObjectCacheWin.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
Map AXMenuListItemSelected -> EVENT_OBJECT_SELECTION.
- dom/SelectElement.cpp:
(WebCore::SelectElement::setSelectedIndex):
Pass the newly-selected index.
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::RenderMenuList):
Update the initialization list for the renamed m_lastActiveIndex.
(WebCore::RenderMenuList::setTextFromOption):
A new selection has been made in the popup; call
didUpdateActiveOption().
(WebCore::RenderMenuList::didSetSelectedIndex):
Call didUpdateActiveOption(), passing the index of the newly-selected
<option>.
(WebCore::RenderMenuList::didUpdateActiveOption):
If accessibility is disabled, or if the active option has not changed,
return early. Check whether the option index is in the range of list
items, and assert that the item at that index is an <option> element.
Tell the AccessibilityMenuList for this element that we updated the
active option.
- rendering/RenderMenuList.h:
Updated the declaration of didSetSelectedIndex() to take the selected
index. Declared didUpdateActiveOption(). Renamed m_lastSelectedIndex to
m_lastActiveIndex.
Tools:
- DumpRenderTree/AccessibilityController.h:
Added m_notificationsEventHook for addNotificationListener().
m_allEventsHook will now be used for setLogAccessibilityEvents().
- DumpRenderTree/win/AccessibilityControllerWin.cpp:
(AccessibilityController::AccessibilityController):
Initialize m_notificationsEventHook.
(AccessibilityController::~AccessibilityController):
Turn off logging of all accessibility events. If
m_notificationsEventHook is non-null, unhook it.
(logEventProc):
Add handling of EVENT_OBJECT_SELECTION.
(AccessibilityController::setLogAccessibilityEvents):
If the state of logging is not changing, return early. If we're turning
off logging, unhook m_allEventsHook, and zero it out. Otherwise, add a
hook for all events.
(AccessibilityController::addNotificationListener):
Use m_notificationsEventHook rather than m_allEventsHook.
LayoutTests:
- platform/win/accessibility/option-element-selection-and-focus-events-expected.txt: Added.
- platform/win/accessibility/option-element-selection-and-focus-events.html: Added.
- 4:11 PM BuildingGtk edited by
- Fix formatting of recent change. (diff)
- 3:55 PM Changeset in webkit [91218] by
-
- 2 edits in trunk/Source/JavaScriptCore
JSC GC lazy sweep does not inline the common cases of cell destruction.
https://bugs.webkit.org/show_bug.cgi?id=64745
Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-18
Reviewed by Oliver Hunt.
This inlines the case of JSFinalObject destruction.
- heap/MarkedBlock.cpp:
(JSC::MarkedBlock::lazySweep):
- 3:49 PM Changeset in webkit [91217] by
-
- 3 edits in trunk/LayoutTests
Add regression tests for legacy color parsing of valid CSS colors
https://bugs.webkit.org/show_bug.cgi?id=64576
Patch by Tab Atkins <jackalmage@gmail.com> on 2011-07-18
Reviewed by Simon Fraser.
- fast/dom/attribute-legacy-colors-expected.txt:
- fast/dom/script-tests/attribute-legacy-colors.js:
- 3:42 PM Changeset in webkit [91216] by
-
- 2 edits in trunk/Source/JavaScriptCore
Interpreter build-fix
- 3:36 PM Changeset in webkit [91215] by
-
- 3 edits in trunk/Tools
webkit-patch apply-attachment does not work when not called from the root of the checkout
https://bugs.webkit.org/show_bug.cgi?id=64751
Unreviewed. Just updating unit test results after bug 64751.
- Scripts/webkitpy/layout_tests/port/chromium_win.py:
- Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
- 3:27 PM Changeset in webkit [91214] by
-
- 5 edits in trunk/Tools
simplejson has trouble on chromium-linux
https://bugs.webkit.org/show_bug.cgi?id=64757
Reviewed by Eric Seidel.
Use the native JSON, if available.
- Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
- 2:59 PM Changeset in webkit [91213] by
-
- 2 edits in trunk/Source/WebKit/chromium
Unreviewed. Rolled DEPS.
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-07-18
- DEPS:
- 2:51 PM Changeset in webkit [91212] by
-
- 5 edits in trunk/Tools
update the flakiness dashboard to understand the new platforms/formats in test_expectations
https://bugs.webkit.org/show_bug.cgi?id=64743
Reviewed by Adam Barth.
The test expectations format changed a long time ago and the flakiness dashboard
was never updated to match.
- TestResultServer/static-dashboards/dashboard_base.js:
- TestResultServer/static-dashboards/flakiness_dashboard.html:
- TestResultServer/static-dashboards/flakiness_dashboard_tests.js:
- TestResultServer/static-dashboards/timeline_explorer.html:
- 2:33 PM BuildingQtOnLinux edited by
- Outdated Mesa (when compiling on debian stable or other old distros) (diff)
- 2:27 PM Changeset in webkit [91211] by
-
- 2 edits3 adds in trunk/LayoutTests
[SVG] [Chromium]: painting-control-04-f.svg and zero-path-square-cap-rendering.svg are failing
https://bugs.webkit.org/show_bug.cgi?id=64675
Rebaseline painting-control-04-f.svg since r91191 fixed it.
- platform/chromium-linux/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.png: Added.
- platform/chromium-win/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.png: Added.
- platform/chromium-win/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.txt: Added.
- platform/chromium/test_expectations.txt:
- 2:16 PM Changeset in webkit [91210] by
-
- 37 edits in trunk/Tools
webkit-patch apply-attachment does not work when not called from the root of the checkout
https://bugs.webkit.org/show_bug.cgi?id=64751
Reviewed by Adam Barth.
Last week I removed a os.chdir in EnsureWorkingDirectoryClean, which
is a step that we run for most commands (as one of the earliest steps).
EnsureWorkingDirectoryClean was incorrectly calling os.chdir to change
the CWD to the checkout root. This magically made a bunch of otherwise
wrong code work.
When I realized that apply-attachment no longer worked as expected today,
I went and fixed the bug, then realizing that we were not testing
what the cwd was when running various commands. I fixed our MockExecutive
to always log what the cwd is and fixed a whole bunch of places
where we needed to be setting the cwd.
Hopefully this will solve our cwd problems once and for-all, and webkit-patch
will again correctly work when called from any directory (including outside
of a webkit checkout).
- Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
- Scripts/webkitpy/common/system/executive.py:
- Scripts/webkitpy/common/system/workspace_unittest.py:
- Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
- Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
- Scripts/webkitpy/layout_tests/port/mac_unittest.py:
- Scripts/webkitpy/layout_tests/port/qt_unittest.py:
- Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
- Scripts/webkitpy/tool/bot/irc_command.py:
- Scripts/webkitpy/tool/bot/irc_command_unittest.py:
- Scripts/webkitpy/tool/bot/layouttestresultsreader_unittest.py:
- Scripts/webkitpy/tool/commands/download_unittest.py:
- Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
- Scripts/webkitpy/tool/commands/queues.py:
- Scripts/webkitpy/tool/commands/queues_unittest.py:
- Scripts/webkitpy/tool/commands/queuestest.py:
- Scripts/webkitpy/tool/mocktool.py:
- Scripts/webkitpy/tool/servers/gardeningserver.py:
- Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
- Scripts/webkitpy/tool/steps/build.py:
- Scripts/webkitpy/tool/steps/checkstyle.py:
- Scripts/webkitpy/tool/steps/editchangelog.py:
- Scripts/webkitpy/tool/steps/preparechangelog.py:
- Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
- Scripts/webkitpy/tool/steps/runtests.py:
- Scripts/webkitpy/tool/steps/steps_unittest.py:
- Scripts/webkitpy/tool/steps/update.py:
- 2:10 PM Changeset in webkit [91209] by
-
- 2 edits in trunk/Source/WebCore
Specify a cascade list consisting of the last resort font for Core Text
https://bugs.webkit.org/show_bug.cgi?id=64747
Reviewed by Sam Weinig.
No new tests, because this does not affect behavior.
This prevents Core Text from taking its default, longer fallback list when the primary font does
not include a character. This is OK to do because WebKit never uses the results of Core Text
fallback anyway.
- platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::cascadeToLastResortFontDescriptor): Added. Returns a CTFontDescriptor with a cascade
list consisting of the last resort font.
(WebCore::FontPlatformData::ctFont): Changed to include the cascadeToLastResortFontDescriptor
in the returned font.
- 2:04 PM Changeset in webkit [91208] by
-
- 5 edits in trunk/Source/JavaScriptCore
DFG JIT does not optimize equal-null comparisons and branches.
https://bugs.webkit.org/show_bug.cgi?id=64659
Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-18
Reviewed by Gavin Barraclough.
Added a peephole-aware compare-to-null implementation to JITCodeGenerator,
which is used by both the speculative and non-speculative JIT. Through
the use of the new isNullConstant helper, the two JITs invoke the
nonSpecualtiveCompareNull() helper instead of their regular comparison
helpers when compiling CompareEq. Through the use of the new isKnownCell
helper, the compare-null code will skip the is-a-cell check if the
speculative JIT had been speculating cell.
- dfg/DFGJITCodeGenerator.cpp:
(JSC::DFG::JITCodeGenerator::isKnownCell):
(JSC::DFG::JITCodeGenerator::nonSpeculativeNonPeepholeCompareNull):
(JSC::DFG::JITCodeGenerator::nonSpeculativePeepholeBranchNull):
(JSC::DFG::JITCodeGenerator::nonSpeculativeCompareNull):
- dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::isNullConstant):
- dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
- dfg/DFGOperations.cpp:
- dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
- 1:56 PM Changeset in webkit [91207] by
-
- 2 edits in branches/chromium/782/Source/WebCore
Merge 90599 - Work around Skia PDF's lack of inverted path support.
https://bugs.webkit.org/show_bug.cgi?id=64032
Patch by Steve VanDeBogart <vandebo@chromium.org> on 2011-07-07
Reviewed by James Robinson.
The trick used in http://neugierig.org/software/chromium/notes/2010/07/clipping.html
to support antialiased clips doesn't work when printing to Skia's PDF backend because
the backend does not support inverted paths. This manifests as rounded buttons not being
drawn when printing, tracked as Chrome bug 79519.
However, when the output is a vector device, like PDF, we don't need antialiased clips.
It's up to the PDF rendering engine to do that. So we can simply disable the antialiased
clip code if the output is a vector device.
I think the fix isn't testable because it requires examining the printed output.
- platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::clipPathAntiAliased):
TBR=vandebo@chromium.org
Review URL: http://codereview.chromium.org/7398032
- 1:38 PM Changeset in webkit [91206] by
-
- 30 edits in trunk/Source
Timer scheduling should be based off the monotonic clock
https://bugs.webkit.org/show_bug.cgi?id=64544
Patch by James Robinson <jamesr@chromium.org> on 2011-07-18
Reviewed by Darin Adler.
Source/JavaScriptCore:
Switches ThreadCondition::timedWait and related utility functions from currentTime() to
monotonicallyIncreasingTime().
Add WTF::monotonicallyIncreasingTime() to list of exported functions so it can be accessed from WebCore/WebKit.
- JavaScriptCore.exp:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- wtf/ThreadingPthreads.cpp:
(WTF::ThreadCondition::timedWait):
- wtf/ThreadingWin.cpp:
(WTF::absoluteTimeToWaitTimeoutInterval):
- wtf/gtk/ThreadingGtk.cpp:
(WTF::ThreadCondition::timedWait):
- wtf/qt/ThreadingQt.cpp:
(WTF::ThreadCondition::timedWait):
Source/WebCore:
Changes the Timer scheduling logic from using absolute values in terms of currentTime() to using relative
intervals in terms of monotonicallyIncreasingTime(). This provides better standards compliance, compatibility,
and predictability when the system clock is adjusted.
No automated tests since there is no way to modify the system clock from DRT.
- platform/SharedTimer.h:
(WebCore::MainThreadSharedTimer::setFireInterval):
- platform/ThreadTimers.cpp:
(WebCore::ThreadTimers::updateSharedTimer):
(WebCore::ThreadTimers::sharedTimerFiredInternal):
- platform/Timer.cpp:
(WebCore::TimerBase::start):
(WebCore::TimerBase::nextFireInterval):
- platform/android/SharedTimerAndroid.cpp:
(WebCore::setSharedTimerFireInterval):
- platform/brew/SharedTimerBrew.cpp:
(WebCore::setSharedTimerFireInterval):
- platform/chromium/PlatformBridge.h:
- platform/chromium/SharedTimerChromium.cpp:
(WebCore::setSharedTimerFireInterval):
- platform/efl/SharedTimerEfl.cpp:
(WebCore::addNewTimer):
(WebCore::setSharedTimerFireInterval):
- platform/gtk/SharedTimerGtk.cpp:
(WebCore::setSharedTimerFireInterval):
- platform/haiku/SharedTimerHaiku.cpp:
(WebCore::SharedTimerHaiku::start):
(WebCore::setSharedTimerFireInterval):
- platform/mac/SharedTimerMac.mm:
(WebCore::setSharedTimerFireInterval):
- platform/qt/SharedTimerQt.cpp:
(WebCore::SharedTimerQt::start):
(WebCore::setSharedTimerFireInterval):
- platform/win/SharedTimerWin.cpp:
(WebCore::setSharedTimerFireInterval):
- platform/wince/SharedTimerWinCE.cpp:
(WebCore::setSharedTimerFireInterval):
- platform/wx/SharedTimerWx.cpp:
(WebCore::setSharedTimerFireInterval):
- workers/WorkerRunLoop.cpp:
(WebCore::WorkerSharedTimer::setFireInterval):
Source/WebKit/chromium:
Renames setSharedTimerFireTime to setSharedTimerFireInterval to be consistent with WebCore.
- public/WebKitClient.h:
(WebKit::WebKitClient::setSharedTimerFireInterval):
- src/PlatformBridge.cpp:
(WebCore::PlatformBridge::setSharedTimerFireInterval):
Source/WebKit2:
Converts the WebKit2 RunLoop and CoreIPC timeouts to use monotonicallyIncreasingTime().
- Platform/CoreIPC/Connection.cpp:
(CoreIPC::Connection::waitForMessage):
(CoreIPC::Connection::waitForSyncReply):
- Platform/RunLoop.h:
- 1:36 PM Changeset in webkit [91205] by
-
- 3 edits in trunk/Source/WebKit/chromium
Patch by Yuzhu Shen <yzshen@chromium.com> on 2011-07-18
Reviewed by James Robinson.
[chromium] WebFontImpl::drawText needs to handle the canvasIsOpaque input.
https://bugs.webkit.org/show_bug.cgi?id=64555
This change handles canvasIsOpaque for the WEBKIT_USING_SKIA case.
- src/WebFontImpl.cpp: handled canvasIsOpaque.
- src/WebFontImpl.h: added method declaration.
- 1:20 PM Changeset in webkit [91204] by
-
- 2 edits in branches/chromium/782/Source/WebCore/html
Merge 89719 BUG=80729
- 1:16 PM Changeset in webkit [91203] by
-
- 1 edit1 add in trunk/LayoutTests
Update baseline. rbuis says this is an improvement.
- platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt: Added.
- 12:31 PM Changeset in webkit [91202] by
-
- 2 edits2 moves1 add1 delete in trunk/LayoutTests
[chromium] Move a Linux specific test into chromium-linux and rebaseline
https://bugs.webkit.org/show_bug.cgi?id=64632
Reviewed by Ojan Vafai.
Rebaselining per the comment in test_expectations.txt.
- platform/chromium-linux/fast/text/chromium-linux-fontconfig-renderstyle-expected.png: Added.
- platform/chromium-linux/platform/chromium/fast/text/chromium-linux-fontconfig-renderstyle-expected.png: Removed.
- platform/chromium/test_expectations.txt:
- 12:20 PM Changeset in webkit [91201] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed. Fix Windows build. Move static function defaultSessionCookieStorage() to before
its use in defaultCookieStorage().
- platform/network/cf/CookieStorageCFNet.cpp:
(WebCore::defaultSessionCookieStorage):
- 11:59 AM BuildingGtk edited by
- Add info about fixing libjpeg error using mac ports. (diff)
- 11:55 AM Changeset in webkit [91200] by
-
- 4 edits in trunk/Source/WebCore
Part of https://bugs.webkit.org/show_bug.cgi?id=63674
Get webkit to compile with USE(CFNETWORK) enabled on Mac
Reviewed by David Kilzer.
Get coookie storage code to work with USE(CFNETWORK) enabled on Mac.
No new tests because no change in functionality.
- platform/network/cf/CookieStorageCFNet.cpp:
(WebCore::defaultCookieStorage):
(WebCore::defaultSessionCookieStorage):
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::createPrivateBrowsingStorageSession):
- platform/network/mac/CookieStorageMac.mm:
- 11:55 AM Changeset in webkit [91199] by
-
- 10 edits in trunk/Source/JavaScriptCore
JSC JIT does not inline GC allocation fast paths
https://bugs.webkit.org/show_bug.cgi?id=64582
Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-18
Reviewed by Oliver Hunt.
This addresses inlining allocation for the easiest-to-allocate cases:
op_new_object and op_create_this. Inlining GC allocation fast paths
required three changes. First, the JSGlobalData now saves the vtable
pointer of JSFinalObject, since that's what op_new_object and
op_create_this allocate. Second, the Heap exposes a reference to
the appropriate SizeClass, so that the JIT may inline accesses
directly to the SizeClass for JSFinalObject allocations. And third,
the JIT is extended with code to emit inline fast paths for GC
allocation. A stub call is emitted in the case where the inline fast
path fails.
- heap/Heap.h:
(JSC::Heap::sizeClassFor):
(JSC::Heap::allocate):
- jit/JIT.cpp:
(JSC::JIT::privateCompileSlowCases):
- jit/JIT.h:
- jit/JITInlineMethods.h:
(JSC::JIT::emitAllocateJSFinalObject):
- jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_new_object):
(JSC::JIT::emitSlow_op_new_object):
(JSC::JIT::emit_op_create_this):
(JSC::JIT::emitSlow_op_create_this):
- jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_new_object):
(JSC::JIT::emitSlow_op_new_object):
(JSC::JIT::emit_op_create_this):
(JSC::JIT::emitSlow_op_create_this):
- runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::storeVPtrs):
- runtime/JSGlobalData.h:
- runtime/JSObject.h:
(JSC::JSFinalObject::JSFinalObject):
(JSC::JSObject::offsetOfInheritorID):
- 11:43 AM Changeset in webkit [91198] by
-
- 6 edits in trunk/Source
Part of https://bugs.webkit.org/show_bug.cgi?id=63674
Get webkit to compile with USE(CFNETWORK) enabled on Mac
Reviewed by David Kilzer.
Source/WebCore:
- WebCore.exp.in:
Source/WebKit/mac:
Create an NSURLDownload from the CF objects that we have.
- Misc/WebDownload.mm:
(-[WebDownload _initWithLoadingCFURLConnection:request:response:delegate:proxy:]):
- Misc/WebDownloadInternal.h:
- WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::download):
- 11:20 AM Changeset in webkit [91197] by
-
- 5 edits in trunk/Tools
Increase information garden-o-matic information density by switching to a table
https://bugs.webkit.org/show_bug.cgi?id=64642
Reviewed by Dimitri Glazkov.
The old layout couldn't handle the large number of failures we had
today. This patch switches garden-o-matic to a table-based layout,
which can handle many more failures gracefully. (I expect we'll need
more UI iterations.)
- Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
- Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
- Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
- Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
- 11:18 AM Changeset in webkit [91196] by
-
- 8 edits in trunk/Tools
garden-o-matic should be able to determine when compile breaks
https://bugs.webkit.org/show_bug.cgi?id=64190
Reviewed by Dimitri Glazkov.
This patch adds a red-ish box to the top of the page whenever there is
a compile error on the bots. The box automatically opens and closes as
appropriate and links to the waterfall display. In the future, we
might want to compute a regression range.
- Scripts/webkitpy/tool/servers/data/gardeningserver/config.js:
- Add the build-only bots to the config. We use these to check whether the build failed, which is faster than waiting for the tester bots to cycle.
- Scripts/webkitpy/tool/servers/data/gardeningserver/index.html:
- Add DOM for the alert bar.
- Scripts/webkitpy/tool/servers/data/gardeningserver/main.css:
- CSS to support the alert bar.
- Scripts/webkitpy/tool/servers/data/gardeningserver/main.js:
- Wiring up events to poll the buildbot to see whether compile has failed.
- Scripts/webkitpy/tool/servers/data/gardeningserver/results.js:
- Infrastructure for fetching and parsing the buildbot status JSON blob. This code could be better factored for testability. :(
- Scripts/webkitpy/tool/servers/data/gardeningserver/ui.js:
- UI for displaying compile errors.
- Scripts/webkitpy/tool/servers/data/gardeningserver/ui_unittests.js:
- 11:11 AM Changeset in webkit [91195] by
-
- 2 edits in trunk/Source/WebCore
Speculative fix for Leopard assertions caused by 91095.
Rubber stamped by Sam Weinig.
- bridge/NP_jsobject.cpp:
(_NPN_Invoke):
- ensure we pass the window shell, not the global object.
- 10:47 AM Changeset in webkit [91194] by
-
- 100 edits in trunk/Source
2011-07-18 Mark Hahnenberg <mhahnenberg@apple.com>
Refactor JSC to replace JSCell::operator new with static create method
https://bugs.webkit.org/show_bug.cgi?id=64466
Reviewed by Oliver Hunt (oliver@apple.com) and Darin Adler (Darin Adler).
First step in a longer refactoring process to remove the use of
operator new overloading in order to allocate GC objects and to replace
this method with static create methods for each individual type of heap-allocated
JS object. This particular patch only deals with replacing uses of
operator new within JSC proper. Future patches will remove it from the
parts that interface with the DOM. Due to the DOM's continued dependence
on it, operator new has not actually been removed from JSCell.
- API/JSCallbackConstructor.h: (JSC::JSCallbackConstructor::create):
- API/JSCallbackFunction.h: (JSC::JSCallbackFunction::create):
- API/JSCallbackObject.h: (JSC::JSCallbackObject::operator new): (JSC::JSCallbackObject::create):
- API/JSCallbackObjectFunctions.h: (JSC::::staticFunctionGetter):
- API/JSClassRef.cpp: (OpaqueJSClass::prototype):
- API/JSContextRef.cpp:
- API/JSObjectRef.cpp: (JSObjectMake): (JSObjectMakeFunctionWithCallback): (JSObjectMakeConstructor):
- JavaScriptCore.exp:
- JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
- bytecode/CodeBlock.cpp: (JSC::CodeBlock::createActivation):
- bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator):
- bytecompiler/BytecodeGenerator.h: (JSC::BytecodeGenerator::makeFunction):
- bytecompiler/NodesCodegen.cpp: (JSC::RegExpNode::emitBytecode):
- interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute): (JSC::Interpreter::retrieveArguments):
- jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION):
- jsc.cpp: (GlobalObject::create): (GlobalObject::GlobalObject): (functionRun): (jscmain):
- runtime/Arguments.h: (JSC::Arguments::create): (JSC::Arguments::createNoParameters):
- runtime/ArrayConstructor.cpp: (JSC::constructArrayWithSizeQuirk):
- runtime/ArrayConstructor.h: (JSC::ArrayConstructor::create):
- runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncSplice):
- runtime/ArrayPrototype.h: (JSC::ArrayPrototype::create):
- runtime/BooleanConstructor.cpp: (JSC::constructBoolean): (JSC::constructBooleanFromImmediateBoolean):
- runtime/BooleanConstructor.h: (JSC::BooleanConstructor::create):
- runtime/BooleanObject.h: (JSC::BooleanObject::create):
- runtime/BooleanPrototype.h: (JSC::BooleanPrototype::create):
- runtime/DateConstructor.cpp: (JSC::constructDate):
- runtime/DateConstructor.h: (JSC::DateConstructor::create):
- runtime/DateInstance.h: (JSC::DateInstance::create):
- runtime/DatePrototype.h: (JSC::DatePrototype::create):
- runtime/Error.cpp: (JSC::createError): (JSC::createEvalError): (JSC::createRangeError): (JSC::createReferenceError): (JSC::createSyntaxError): (JSC::createTypeError): (JSC::createURIError): (JSC::StrictModeTypeErrorFunction::create): (JSC::createTypeErrorFunction):
- runtime/ErrorConstructor.h: (JSC::ErrorConstructor::create):
- runtime/ErrorInstance.cpp: (JSC::ErrorInstance::ErrorInstance): (JSC::ErrorInstance::create):
- runtime/ErrorInstance.h:
- runtime/ErrorPrototype.cpp: (JSC::ErrorPrototype::ErrorPrototype):
- runtime/ErrorPrototype.h: (JSC::ErrorPrototype::create):
- runtime/ExceptionHelpers.cpp: (JSC::InterruptedExecutionError::InterruptedExecutionError): (JSC::InterruptedExecutionError::create): (JSC::createInterruptedExecutionException): (JSC::TerminatedExecutionError::TerminatedExecutionError): (JSC::TerminatedExecutionError::create): (JSC::createTerminatedExecutionException):
- runtime/Executable.cpp: (JSC::FunctionExecutable::FunctionExecutable): (JSC::FunctionExecutable::fromGlobalCode):
- runtime/Executable.h: (JSC::ExecutableBase::create): (JSC::NativeExecutable::create): (JSC::ScriptExecutable::ScriptExecutable): (JSC::EvalExecutable::create): (JSC::ProgramExecutable::create): (JSC::FunctionExecutable::create): (JSC::FunctionExecutable::make):
- runtime/FunctionConstructor.cpp: (JSC::constructFunctionSkippingEvalEnabledCheck):
- runtime/FunctionConstructor.h: (JSC::FunctionConstructor::create):
- runtime/FunctionPrototype.cpp: (JSC::FunctionPrototype::addFunctionProperties):
- runtime/FunctionPrototype.h: (JSC::FunctionPrototype::create):
- runtime/GetterSetter.h: (JSC::GetterSetter::create):
- runtime/JSAPIValueWrapper.h: (JSC::JSAPIValueWrapper::create): (JSC::jsAPIValueWrapper):
- runtime/JSActivation.cpp: (JSC::JSActivation::argumentsGetter):
- runtime/JSActivation.h: (JSC::JSActivation::create):
- runtime/JSArray.h: (JSC::JSArray::create):
- runtime/JSCell.h: (JSC::JSCell::allocateCell):
- runtime/JSFunction.h: (JSC::JSFunction::create):
- runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): (JSC::JSGlobalObject::reset):
- runtime/JSGlobalObject.h: (JSC::constructEmptyArray): (JSC::constructArray):
- runtime/JSNotAnObject.h: (JSC::JSNotAnObject::create):
- runtime/JSONObject.h: (JSC::JSONObject::create):
- runtime/JSObject.cpp: (JSC::JSObject::defineGetter): (JSC::JSObject::defineSetter): (JSC::putDescriptor):
- runtime/JSObject.h: (JSC::JSFinalObject::create):
- runtime/JSPropertyNameIterator.cpp: (JSC::JSPropertyNameIterator::create):
- runtime/JSPropertyNameIterator.h: (JSC::JSPropertyNameIterator::create):
- runtime/JSString.cpp: (JSC::JSString::substringFromRope): (JSC::JSString::replaceCharacter): (JSC::StringObject::create):
- runtime/JSString.h: (JSC::RopeBuilder::JSString): (JSC::RopeBuilder::create): (JSC::RopeBuilder::createHasOtherOwner): (JSC::jsSingleCharacterString): (JSC::jsSingleCharacterSubstring): (JSC::jsNontrivialString): (JSC::jsString): (JSC::jsSubstring): (JSC::jsOwnedString):
- runtime/JSValue.cpp: (JSC::JSValue::toObjectSlowCase): (JSC::JSValue::synthesizeObject): (JSC::JSValue::synthesizePrototype):
- runtime/Lookup.cpp: (JSC::setUpStaticFunctionSlot):
- runtime/MathObject.h: (JSC::MathObject::create):
- runtime/NativeErrorConstructor.cpp: (JSC::NativeErrorConstructor::NativeErrorConstructor):
- runtime/NativeErrorConstructor.h: (JSC::NativeErrorConstructor::create):
- runtime/NativeErrorPrototype.h: (JSC::NativeErrorPrototype::create):
- runtime/NumberConstructor.cpp: (JSC::constructWithNumberConstructor):
- runtime/NumberConstructor.h: (JSC::NumberConstructor::create):
- runtime/NumberObject.cpp: (JSC::constructNumber):
- runtime/NumberObject.h: (JSC::NumberObject::create):
- runtime/NumberPrototype.h: (JSC::NumberPrototype::create):
- runtime/ObjectConstructor.h: (JSC::ObjectConstructor::create):
- runtime/ObjectPrototype.h: (JSC::ObjectPrototype::create):
- runtime/Operations.h: (JSC::jsString):
- runtime/RegExp.cpp: (JSC::RegExp::RegExp): (JSC::RegExp::createWithoutCaching): (JSC::RegExp::create):
- runtime/RegExp.h:
- runtime/RegExpCache.cpp: (JSC::RegExpCache::lookupOrCreate):
- runtime/RegExpConstructor.cpp: (JSC::RegExpConstructor::arrayOfMatches): (JSC::constructRegExp):
- runtime/RegExpConstructor.h: (JSC::RegExpConstructor::create):
- runtime/RegExpMatchesArray.h: (JSC::RegExpMatchesArray::create):
- runtime/RegExpObject.h: (JSC::RegExpObject::create):
- runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncCompile):
- runtime/RegExpPrototype.h: (JSC::RegExpPrototype::create):
- runtime/ScopeChain.h: (JSC::ScopeChainNode::create): (JSC::ScopeChainNode::push):
- runtime/SmallStrings.cpp: (JSC::SmallStrings::createEmptyString): (JSC::SmallStrings::createSingleCharacterString):
- runtime/StringConstructor.cpp: (JSC::constructWithStringConstructor):
- runtime/StringConstructor.h: (JSC::StringConstructor::create):
- runtime/StringObject.h: (JSC::StringObject::create):
- runtime/StringObjectThatMasqueradesAsUndefined.h: (JSC::StringObjectThatMasqueradesAsUndefined::create):
- runtime/StringPrototype.cpp: (JSC::stringProtoFuncMatch): (JSC::stringProtoFuncSearch):
- runtime/StringPrototype.h: (JSC::StringPrototype::create):
- runtime/Structure.h: (JSC::Structure::create): (JSC::Structure::createStructure):
- runtime/StructureChain.h: (JSC::StructureChain::create):
- 10:12 AM Changeset in webkit [91193] by
-
- 2 edits in trunk/Source/WebKit/qt
[Qt] Compiling error in Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp with Qt 4.7 or older
https://bugs.webkit.org/show_bug.cgi?id=64560
Patch by Hui Huang <hui.2.huang@nokia.com> on 2011-07-18
Reviewed by Noam Rosenthal.
- tests/qwebelement/tst_qwebelement.cpp:
(tst_QWebElement::render):
- 10:04 AM Changeset in webkit [91192] by
-
- 2 edits in trunk/Source/WebCore
[Texmap] [Qt] [WK2] Unsync in TextureMapperNode between parent and child lists cause crashes on WK2.
https://bugs.webkit.org/show_bug.cgi?id=62587
Patch by Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> on 2011-07-18
Reviewed by Noam Rosenthal.
Fix unsync between m_parent and m_children list in child and parent texture mapper nodes
in syncCompositingStateSelf.
- platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::syncCompositingStateSelf):
- 10:01 AM Changeset in webkit [91191] by
-
- 5 edits in trunk
Stroking of zero-length paths in SVG should change according to erratum
https://bugs.webkit.org/show_bug.cgi?id=18356
Patch by Rob Buis <rbuis@rim.com> on 2011-07-18
Reviewed by Nikolas Zimmermann.
Source/WebCore:
Do not rely on toolkits to correctly render zero-length path with stroke-linecap=round, render
it ourselves just like for stroke-linecap=square.
- rendering/svg/RenderSVGPath.cpp:
(WebCore::RenderSVGPath::shouldStrokeZeroLengthSubpath):
(WebCore::RenderSVGPath::setupSquareCapPath):
LayoutTests:
- platform/mac/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.png:
- platform/mac/svg/W3C-SVG-1.1-SE/painting-control-04-f-expected.txt:
- 9:54 AM Changeset in webkit [91190] by
-
- 3 edits3 adds in trunk
[REGRESSION] Value 'none' breaks multiple background-image display
https://bugs.webkit.org/show_bug.cgi?id=59274
Patch by Mihnea Ovidenie <mihnea@adobe.com> on 2011-07-18
Reviewed by Simon Fraser.
When taking fast path for simple color background, we should draw
the background only if it is the last in the list of backgrounds.
Otherwise, it will obscure the previously drawn backgrounds.
Source/WebCore:
Test: fast/backgrounds/background-fast-path-simple-color.html
- rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::paintFillLayerExtended):
LayoutTests:
- fast/backgrounds/background-fast-path-simple-color-expected.png: Added.
- fast/backgrounds/background-fast-path-simple-color-expected.txt: Added.
- fast/backgrounds/background-fast-path-simple-color.html: Added.
- 9:48 AM Changeset in webkit [91189] by
-
- 5 edits3 adds in trunk
[Qt] ASSERTION FAILED in ResourceHandle::setDefersLoading causes crash
https://bugs.webkit.org/show_bug.cgi?id=62808
Source/WebCore:
The assertion in ResourceHandle::setDefersLoading assumes asynchronous
content delivery -- To resume a page, first, its main resource loader
calls setDefersLoading to resume loading the main content; then all the
sub-resource loaders calls setDefersLoading to resume sub-contents.
However, since QNetworkReplyHandler delivers content synchronously,
some new sub-resource loaders get created as soon as the main resource
loader resumed, and all these new sub-resource loaders set their
defersLoading flag to false. Then, the assertion fails for these new
sub-resource loaders when calling setDefersLoading on them. As a fix,
this path makes QNetworkReplyHandler deliver content asynchronously
when its load type is set to SynchronousLoad.
Reviewed by Benjamin Poulain.
Test: loader/load-defer-resume-crash.html
- platform/network/qt/QNetworkReplyHandler.cpp:
(WebCore::QNetworkReplyHandlerCallQueue::setDeferSignals):
- platform/network/qt/QNetworkReplyHandler.h:
(WebCore::QNetworkReplyHandler::setLoadingDeferred):
LayoutTests:
Added a test for the crash occurs when load deferring is turned off.
Reviewed by Benjamin Poulain.
- loader/load-defer-resume-crash-expected.txt: Added.
- loader/load-defer-resume-crash.html: Added.
- loader/resources/images.html: Added.
- platform/chromium/test_expectations.txt: Skip this test since the LayoutTestController::setDefersLoading is not implemented for chromium.
- 9:43 AM Changeset in webkit [91188] by
-
- 5 edits in trunk/Source/WebKit2
Make using lowercase parameter names for AppleConnect be a plug-in quirk
https://bugs.webkit.org/show_bug.cgi?id=64638
Reviewed by Sam Weinig.
- Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
(WebKit::NetscapePluginModule::determineQuirks):
Set the WantsLowercaseParameterNames quirk for the AppleConnect plug-in.
- Shared/Plugins/PluginQuirks.h:
Add WantsLowercaseParameterNames quirk.
- WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::initialize):
If the plug-in has the WantsLowercaseParameterNames quirk, convert the parameter
names to lowercase.
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createPlugin):
Remove the code that would convert the parameters here. Also remove the FIXME; plug-in quirks
aren't really the same thing as site-specific quirks.
- 9:16 AM Changeset in webkit [91187] by
-
- 3 edits2 adds in trunk
AnimationBase asserts if a test tries to pause during the delay phase
https://bugs.webkit.org/show_bug.cgi?id=59475
Patch by Young Han Lee <joybro@company100.net> on 2011-07-18
Reviewed by Simon Fraser.
There is no more assertion failure after r90765, but the testcase still fails due to
the miscalculation of the pauseTime. This patch pauses the animation at its startTime
if a test tries to pause it during the delay phase.
Source/WebCore:
Test: transitions/transition-in-delay-phase.html
- page/animation/AnimationBase.cpp:
(WebCore::AnimationBase::freezeAtTime):
LayoutTests:
- transitions/transition-in-delay-phase-expected.txt: Added.
- transitions/transition-in-delay-phase.html: Added.
- 7:26 AM Changeset in webkit [91186] by
-
- 2 edits in trunk/LayoutTests
Unreviewed; updated chromium test expectations.
Remove a passing test from test_expectations.txt.
- platform/chromium/test_expectations.txt:
- 7:08 AM Changeset in webkit [91185] by
-
- 2 edits in trunk/LayoutTests
Unreviewed; updated chromium test expectations.
Remove two tests from test_expectations.txt that have been rebaselined.
- platform/chromium/test_expectations.txt:
- 7:04 AM Changeset in webkit [91184] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: Web Inspector: provide unique identifiers for loaders
https://bugs.webkit.org/show_bug.cgi?id=64599
Reviewed by Pavel Feldman.
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::loaderDetachedFromFrameImpl):
- inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::frameDestroyed):
(WebCore::InspectorInstrumentation::loaderDetachedFromFrame):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::loaderId):
(WebCore::InspectorPageAgent::loaderDetachedFromFrame):
- inspector/InspectorPageAgent.h:
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::detachFromFrame):
- 6:43 AM Changeset in webkit [91183] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Consider QTouchWebPage's transform when scrolling the viewport.
https://bugs.webkit.org/show_bug.cgi?id=64541
Reviewed by Benjamin Poulain.
Currently the scroll deltas are given to moveBy in page coordinates
which doesn't match when the page view is scalled.
This patch gives the scroll delta to the viewport in it's own coordinates.
- UIProcess/qt/TouchViewInterface.cpp:
(WebKit::TouchViewInterface::panGestureRequestScroll):
- 6:43 AM Changeset in webkit [91182] by
-
- 2 edits in trunk/Source/WebKit2
[Qt] Push the new viewport rect to the drawing area after committing the scale.
https://bugs.webkit.org/show_bug.cgi?id=64597
Reviewed by Benjamin Poulain.
- UIProcess/qt/TouchViewInterface.cpp:
(WebKit::TouchViewInterface::pinchGestureEnded):
- 6:43 AM Changeset in webkit [91181] by
-
- 5 edits in trunk/Source/WebKit2
[Qt] Remove the scale commit timer from QTouchWebPage.
https://bugs.webkit.org/show_bug.cgi?id=64600
Reviewed by Benjamin Poulain.
Since we don't currently need unprepared page view scale changes,
this timer isn't useful.
- UIProcess/API/qt/qtouchwebpage.cpp:
(QTouchWebPage::QTouchWebPage):
(QTouchWebPagePrivate::QTouchWebPagePrivate):
(QTouchWebPagePrivate::commitScaleChange):
- UIProcess/API/qt/qtouchwebpage.h:
- UIProcess/API/qt/qtouchwebpage_p.h:
- UIProcess/qt/TouchViewInterface.cpp:
(WebKit::TouchViewInterface::pinchGestureStarted):
- 6:43 AM Changeset in webkit [91180] by
-
- 6 edits in trunk/Source/WebKit2
TiledDrawingArea: map the visibleArea rect from page to tiles coordinates.
https://bugs.webkit.org/show_bug.cgi?id=64538
Reviewed by Benjamin Poulain.
TiledDrawingAreaProxy expects its coordinates to be scaled according to
contentsScale. This patch keep the pushed visibleArea as page coordinates
and convert it each time to scaled coordinates in case the contents scale was
changed afterward.
This is a regression introduced in r90750.
Also:
- Rename visibleArea to visibleContentRect
- Remove an unnecessary mapToContents in QTouchWebPageProxy::setVisibleContentRect
- UIProcess/API/qt/qtouchwebpage.cpp:
(QTouchWebPagePrivate::setViewportRect):
- UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::invalidate):
(WebKit::TiledDrawingAreaProxy::setVisibleContentRect):
(WebKit::TiledDrawingAreaProxy::createTiles):
(WebKit::TiledDrawingAreaProxy::visibleRect):
- UIProcess/TiledDrawingAreaProxy.h:
- UIProcess/qt/qtouchwebpageproxy.cpp:
(QTouchWebPageProxy::setVisibleContentRect):
- UIProcess/qt/qtouchwebpageproxy.h:
- 6:18 AM Changeset in webkit [91179] by
-
- 2 edits in trunk/Source/WebCore
Web Inspector: "Reveal in Elements Panel" is broken.
https://bugs.webkit.org/show_bug.cgi?id=64688
Reviewed by Yury Semikhatsky.
- inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline):
(WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement):
(WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
(WebInspector.ElementsTreeOutline.prototype.populateContextMenu):
- 5:40 AM Changeset in webkit [91178] by
-
- 4 edits in trunk/Source/WebCore
Remove RenderObject::addLayers second argument
https://bugs.webkit.org/show_bug.cgi?id=64649
Reviewed by Benjamin Poulain.
No change in behavior.
The code was always passing |this| as the second argument. Thus just
removed the argument for clarity.
- rendering/RenderObject.h:
- rendering/RenderObject.cpp:
(WebCore::RenderObject::addLayers): Removed the argument, replaced
by |this|.
- rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::appendChildNode):
(WebCore::RenderObjectChildList::insertChildNode):
Removed the second argument at those 2 call sites.
- 2:20 AM Changeset in webkit [91177] by
-
- 2 edits1 add in trunk/LayoutTests
- 2:09 AM Changeset in webkit [91176] by
-
- 8 edits in trunk/Source/WebCore
Web Inspector: do not pause on caught exceptions while typing in the console.
https://bugs.webkit.org/show_bug.cgi?id=64379
Reviewed by Yury Semikhatsky.
- inspector/Inspector.json:
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
- inspector/InspectorRuntimeAgent.cpp:
(WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
(WebCore::InspectorRuntimeAgent::evaluate):
(WebCore::InspectorRuntimeAgent::setScriptDebugServer):
- inspector/InspectorRuntimeAgent.h:
- inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
- inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype.evalInInspectedWindow):
- inspector/front-end/WatchExpressionsSidebarPane.js:
(WebInspector.WatchExpressionsSection.prototype.update):
- 1:11 AM Changeset in webkit [91175] by
-
- 3 edits in trunk/LayoutTests
GTK and Qt rebaselines after r91158.
- platform/gtk/editing/inserting/5058163-1-expected.txt:
- platform/qt/editing/inserting/5058163-1-expected.txt:
- 12:34 AM Changeset in webkit [91174] by
-
- 14 edits in trunk
Unreviewed, rolling out r91132 and r91135.
http://trac.webkit.org/changeset/91132
http://trac.webkit.org/changeset/91135
https://bugs.webkit.org/show_bug.cgi?id=64681
Broke GTK and Chromium debug bots (Requested by rniwa on
#webkit).
Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-07-18
Source/WebCore:
- accessibility/AXObjectCache.h:
- accessibility/AccessibilityMenuList.cpp:
- accessibility/AccessibilityMenuList.h:
- accessibility/AccessibilityMenuListPopup.cpp:
- accessibility/AccessibilityMenuListPopup.h:
- accessibility/chromium/AXObjectCacheChromium.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
- accessibility/win/AXObjectCacheWin.cpp:
(WebCore::AXObjectCache::postPlatformNotification):
- dom/SelectElement.cpp:
(WebCore::SelectElement::setSelectedIndex):
- rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::RenderMenuList):
(WebCore::RenderMenuList::setTextFromOption):
(WebCore::RenderMenuList::didSetSelectedIndex):
- rendering/RenderMenuList.h:
Tools:
- DumpRenderTree/AccessibilityController.h:
- DumpRenderTree/win/AccessibilityControllerWin.cpp:
(AccessibilityController::AccessibilityController):
(AccessibilityController::~AccessibilityController):
(logEventProc):
(AccessibilityController::setLogAccessibilityEvents):
(AccessibilityController::addNotificationListener):
Jul 17, 2011:
- 11:30 PM Changeset in webkit [91173] by
-
- 3 edits in trunk/Source/WebKit2
[GTK] Fix selection of elements in a multi select list and remove an unnecessary include in WorkQueue
https://bugs.webkit.org/show_bug.cgi?id=64666
Patch by Amruth Raj <amruthraj@motorola.com> on 2011-07-17
Reviewed by Martin Robinson.
- Platform/gtk/WorkQueueGtk.cpp: Remove an include which is no longer required
- Shared/gtk/WebEventFactory.cpp:
(WebKit::modifiersForEvent): Fix an incorrect ASSERT statement
(WebKit::WebEventFactory::createWebMouseEvent): Call the function to determine the modifier keys
- 11:24 PM Changeset in webkit [91172] by
-
- 5 edits in trunk/LayoutTests
Chromium rebaselines after r91158.
Add failing expectations for tests added in r91125. The failures are tracked by the bug 64675.
Also remove failing expectations for some editing tests tracked by the Chromium issue 89477
because they are now passing.
- platform/chromium-linux/editing/inserting/5058163-1-expected.png:
- platform/chromium-win/editing/inserting/5058163-1-expected.png:
- platform/chromium-win/editing/inserting/5058163-1-expected.txt:
- platform/chromium/test_expectations.txt:
- 7:58 PM Changeset in webkit [91171] by
-
- 2 edits in trunk/Source/JavaScriptCore
[EFL] Refactor scheduleDispatchFunctionsOnMainThread to fix crash.
https://bugs.webkit.org/show_bug.cgi?id=64337
Replace ecore_timer_add to Ecore_Pipe.
This is needed because ecore_timer should not be called in a child thread,
but in the main thread.
Reviewed by Antonio Gomes.
- wtf/efl/MainThreadEfl.cpp:
(WTF::pipeObject):
(WTF::monitorDispatchFunctions):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):
- 6:59 PM Changeset in webkit [91170] by
-
- 4 edits in trunk/Source/WebCore
Implement CSSPropertyCursor in CSSStyleApplyProperty
https://bugs.webkit.org/show_bug.cgi?id=64432
Reviewed by Dimitri Glazkov.
No new tests / refectoring only.
- css/CSSStyleApplyProperty.cpp:
Add handler for CSSPropertyCursor.
- css/CSSStyleSelector.cpp:
Remove current handler of CSSPropertyCursor.
- css/CSSStyleSelector.h:
Make styleImage and cachedOrPendingFromValue public.
- 6:47 PM Changeset in webkit [91169] by
-
- 8 edits in trunk/Source/WebKit2
Patch by Lukasz Slachciak <l.slachciak@samsung.com> on 2011-07-17
Reviewed by Martin Robinson.
[GTK] [WK2] Fix for getting editor client commands.
https://bugs.webkit.org/show_bug.cgi?id=63081
Editor client commands intepretation was incorrect. It was based on the NativeWebKeyboardEvent only.
In fact EventHandler is generating interpreted events - keypress and keydown. These event types
are now passed from UIProcess to WebProcess so KeyBindingTranslator can correctly find editor commands.
Also build break for Debug build was fixed.
- UIProcess/API/gtk/PageClientImpl.cpp: KeyboardEvent type is used for KeyBindingTranslator.
(WebKit::PageClientImpl::getEditorCommandsForKeyEvent): getEditorCommandsForKeyEvent now has additional
parameter describing KeyboardEvent type.
- UIProcess/API/gtk/PageClientImpl.h:
- UIProcess/PageClient.h:
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- UIProcess/gtk/WebPageProxyGtk.cpp:
(WebKit::WebPageProxy::getEditorCommandsForKeyEvent): KeyboardEvent type passed to PageClient.
- WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp:
(WebKit::WebEditorClient::getEditorCommandsForKeyEvent): Sync message send with KeyboardEvent type.
- 2:02 AM Changeset in webkit [91168] by
-
- 2 edits in trunk/Source/JavaScriptCore
DFG JIT operationCompareEqual does not inline JSValue::equalSlowCaseInline.
https://bugs.webkit.org/show_bug.cgi?id=64637
Patch by Filip Pizlo <fpizlo@apple.com> on 2011-07-17
Reviewed by Gavin Barraclough.
- dfg/DFGOperations.cpp:
- 1:57 AM Changeset in webkit [91167] by
-
- 8 edits2 adds in trunk/Tools
test-webkitpy failing with Python 2.5
https://bugs.webkit.org/show_bug.cgi?id=64594
Patch by Philippe Normand <pnormand@igalia.com> on 2011-07-17
Reviewed by Eric Seidel.
Updated simplejson to version 2.1.6 that fixes an issue when
dumping slashes. Also use cgi.parse_qs instead of the urlparse
version to be compatible with Python2.5. Verified the fix with
test-webkitpy on python 2.5 and python 2.6.
- Scripts/webkitpy/thirdparty/simplejson/README.txt:
- Scripts/webkitpy/thirdparty/simplejson/init.py:
- Scripts/webkitpy/thirdparty/simplejson/_speedups.c:
(json_PyOS_string_to_double):
(_convertPyInt_AsSsize_t):
(_convertPyInt_FromSsize_t):
(ascii_escape_char):
(ascii_escape_unicode):
(ascii_escape_str):
(raise_errmsg):
(join_list_unicode):
(join_list_string):
(_build_rval_index_tuple):
(scanstring_str):
(scanstring_unicode):
(py_scanstring):
(py_encode_basestring_ascii):
(scanner_dealloc):
(scanner_traverse):
(scanner_clear):
(_parse_object_str):
(_parse_object_unicode):
(_parse_array_str):
(_parse_array_unicode):
(_parse_constant):
(_match_number_str):
(_match_number_unicode):
(scan_once_str):
(scan_once_unicode):
(scanner_call):
(scanner_new):
(scanner_init):
(encoder_new):
(encoder_init):
(encoder_call):
(_encoded_const):
(encoder_encode_float):
(encoder_encode_string):
(_steal_list_append):
(encoder_listencode_obj):
(encoder_listencode_dict):
(encoder_listencode_list):
(encoder_dealloc):
(encoder_traverse):
(encoder_clear):
(init_speedups):
- Scripts/webkitpy/thirdparty/simplejson/decoder.py:
- Scripts/webkitpy/thirdparty/simplejson/encoder.py:
- Scripts/webkitpy/thirdparty/simplejson/ordered_dict.py: Added.
- Scripts/webkitpy/thirdparty/simplejson/scanner.py:
- Scripts/webkitpy/thirdparty/simplejson/tool.py: Added.
- Scripts/webkitpy/tool/servers/reflectionhandler.py:
- 12:38 AM Changeset in webkit [91166] by
-
- 3 edits in trunk/Tools
Rename ModifierMatcher to SpecificityCalculator.
https://bugs.webkit.org/show_bug.cgi?id=64660
It's a little longer than before, but it is much clearer.
Reviewed by Adam Barth.
- Scripts/webkitpy/layout_tests/models/test_expectations.py: Renamed and adjusted
all callsites, also rewrote the comments.
- Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: Adjusted callsites
and renamed tests.