WebKit-https.git
11 years agoAdding the ability to enable/disable functions in V8 at runtime.
dumi@chromium.org [Wed, 21 Oct 2009 23:57:01 +0000 (23:57 +0000)]
Adding the ability to enable/disable functions in V8 at runtime.

Patch by Dumitru Daniliuc <dumi@chromium.org> on 2009-10-21
Reviewed by Dimitri Glazkov.

https://bugs.webkit.org/show_bug.cgi?id=30650

* bindings/scripts/CodeGeneratorV8.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49929 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoCombine local and session storage tests into one and use script-tests properly
jorlow@chromium.org [Wed, 21 Oct 2009 23:47:20 +0000 (23:47 +0000)]
Combine local and session storage tests into one and use script-tests properly
https://bugs.webkit.org/show_bug.cgi?id=30640

Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-10-21
Reviewed by Darin Adler.

I was apparently misusing the script-tests stuff.  I changed all the tests to
test both local storage and session storage so that we can use the
make-test-script-wrappers stuff as is.

* storage/domstorage/clear-expected.txt: Added.
* storage/domstorage/clear.html: Added.
* storage/domstorage/complex-keys-expected.txt: Added.
* storage/domstorage/complex-keys.html: Added.
* storage/domstorage/complex-values-expected.txt: Added.
* storage/domstorage/complex-values.html: Added.
* storage/domstorage/localstorage/clear-expected.txt: Removed.
* storage/domstorage/localstorage/clear.html: Removed.
* storage/domstorage/localstorage/complex-keys-expected.txt: Removed.
* storage/domstorage/localstorage/complex-keys.html: Removed.
* storage/domstorage/localstorage/complex-values-expected.txt: Removed.
* storage/domstorage/localstorage/complex-values.html: Removed.
* storage/domstorage/localstorage/quota-expected.txt: Removed.
* storage/domstorage/localstorage/quota.html: Removed.
* storage/domstorage/localstorage/remove-item-expected.txt: Removed.
* storage/domstorage/localstorage/remove-item.html: Removed.
* storage/domstorage/quota-expected.txt: Added.
* storage/domstorage/quota.html: Added.
* storage/domstorage/remove-item-expected.txt: Added.
* storage/domstorage/remove-item.html: Added.
* storage/domstorage/script-tests/TEMPLATE.html: Added.
* storage/domstorage/script-tests/clear.js:
(test):
(runTest):
* storage/domstorage/script-tests/complex-keys.js:
(test):
(runTest):
* storage/domstorage/script-tests/complex-values.js:
(test):
(runTest):
* storage/domstorage/script-tests/no-quota.js: Removed.
* storage/domstorage/script-tests/quota.js:
(testQuota):
(testNoQuota):
(runTest):
* storage/domstorage/script-tests/remove-item.js:
(test):
(runTest):
* storage/domstorage/sessionstorage/clear-expected.txt: Removed.
* storage/domstorage/sessionstorage/clear.html: Removed.
* storage/domstorage/sessionstorage/complex-keys-expected.txt: Removed.
* storage/domstorage/sessionstorage/complex-keys.html: Removed.
* storage/domstorage/sessionstorage/complex-values-expected.txt: Removed.
* storage/domstorage/sessionstorage/complex-values.html: Removed.
* storage/domstorage/sessionstorage/no-quota-expected.txt: Removed.
* storage/domstorage/sessionstorage/no-quota.html: Removed.
* storage/domstorage/sessionstorage/remove-item-expected.txt: Removed.
* storage/domstorage/sessionstorage/remove-item.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49928 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Wed, 21 Oct 2009 23:39:09 +0000 (23:39 +0000)]
Reviewed by Kevin Ollivier.

Update the Windows installer builder to work with Vista / Win 7 and with git.

https://bugs.webkit.org/show_bug.cgi?id=30649

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49927 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Swedish search (and other languages as well) is broken while fixing Japanese...
darin@apple.com [Wed, 21 Oct 2009 23:10:16 +0000 (23:10 +0000)]
WebCore: Swedish search (and other languages as well) is broken while fixing Japanese search
https://bugs.webkit.org/show_bug.cgi?id=30646

Patch by Darin Adler <darin@apple.com> on 2009-10-21
Rolled Japanese tailoring out that was done to fix
https://bugs.webkit.org/show_bug.cgi?id=30437 earlier.
It was overriding the locale-specific tailoring.
We'll land a fix once we figure out how to add the
Japanese tailoring without removing anything.

* editing/TextIterator.cpp: Rolled out r49924.

LayoutTests: Update since we rolled Japanese tailoring out that was done to fix
https://bugs.webkit.org/show_bug.cgi?id=30437 earlier.

Patch by Darin Adler <darin@apple.com> on 2009-10-21
* fast/text/international/japanese-kana-letters-expected.txt: Update
test results to expect failure. We'll land results that expect
success once we re-fix the bug.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49926 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Andrew Scherkus <scherkus@chromium.org>
eric@webkit.org [Wed, 21 Oct 2009 23:06:47 +0000 (23:06 +0000)]
2009-10-21  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Eric Seidel.

        Update more media layout tests to use findMediaFile().

        https://bugs.webkit.org/show_bug.cgi?id=30644

        * media/controls-drag-timebar.html: Switch to using findMediaFile().
        * media/video-currentTime-set.html: Remove src attribute and rely on findMediaFile() instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49925 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRoll out r49922 because it broke Tiger and SL in strange ways.
bweinstein@apple.com [Wed, 21 Oct 2009 22:16:34 +0000 (22:16 +0000)]
Roll out r49922 because it broke Tiger and SL in strange ways.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49924 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 21 Oct 2009 21:59:28 +0000 (21:59 +0000)]
2009-10-21  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: chromium build fix - add missing image to gypi.

        * WebCore.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49923 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Fixes part of <http://webkit.org/b/30522>.
bweinstein@apple.com [Wed, 21 Oct 2009 21:51:20 +0000 (21:51 +0000)]
WebCore: Fixes part of <webkit.org/b/30522>.
Web Inspector: DOM Exceptions throughout the Inspector should be more human readable.

Reviewed by Eric Seidel.

Expose the description attribute that is now a member of
ExceptionBase as of r49723, so when a user logs an exception, they
can see the description in the Web Inspector.

Test: fast/dom/dom-exception-description.html

* dom/DOMCoreException.idl:
* dom/EventException.idl:
* dom/RangeException.idl:
* svg/SVGException.idl:
* xml/XMLHttpRequestException.idl:
* xml/XPathException.idl:

LayoutTests: Fixes part of <http://webkit.org/b/30522>.
Web Inspector: DOM Exceptions throughout the Inspector should be more human readable.

Reviewed by Eric Seidel.

Adds a test to check the name and description of some DOM Exceptions.

* fast/dom/dom-exception-description-expected.txt: Added.
* fast/dom/dom-exception-description.html: Added.
* fast/dom/script-tests/dom-exception-description.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49922 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Alejandro G. Castro <alex@igalia.com>
eric@webkit.org [Wed, 21 Oct 2009 20:47:21 +0000 (20:47 +0000)]
2009-10-21  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Gustavo Noronha.

        [GTK] Added conditional code to avoid using
        gdk_window_get_root_coords if we do not have a gtk+ release newer
        than 2.17.3.
        https://bugs.webkit.org/show_bug.cgi?id=30636

        * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49921 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRubber-stamped by Dan Bernstein.
sullivan@apple.com [Wed, 21 Oct 2009 20:02:32 +0000 (20:02 +0000)]
Rubber-stamped by Dan Bernstein.

* WebView/WebDynamicScrollBarsView.h:
Corrected a couple of long-obsolete comments regarding Safari's use of this class.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49920 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFixes <https://bugs.webkit.org/show_bug.cgi?id=30616>.
bweinstein@apple.com [Wed, 21 Oct 2009 19:53:59 +0000 (19:53 +0000)]
Fixes <https://bugs.webkit.org/show_bug.cgi?id=30616>.
REGRESSION (r49036): Web Inspector: Summary graph no longer switching to size summary.

Reviewed by Timothy Hatcher.

Add a check to make sure a function we need to calculate percentages is
defined before we use it.

* inspector/front-end/ResourcesPanel.js:
(WebInspector.ResourcesPanel.prototype._updateGraphDividersIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49919 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Alejandro G. Castro <alex@igalia.com>
eric@webkit.org [Wed, 21 Oct 2009 19:43:48 +0000 (19:43 +0000)]
2009-10-21  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Removed 5333725.html from Skipped and modified the expected
        result of 5232159-expected.txt and fake-drag-expected.txt, this
        modifications come from the changes in EventSender (bug 30633 and
        bug 30636).
        https://bugs.webkit.org/show_bug.cgi?id=30593

        * LayoutTests/platform/gtk/Skipped:
        * LayoutTests/platform/gtk/editing/selection/5232159-expected.txt:
        * LayoutTests/platform/gtk/editing/selection/fake-drag-expected.tx :

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Keishi Hattori <casey.hattori@gmail.com>
eric@webkit.org [Wed, 21 Oct 2009 19:36:08 +0000 (19:36 +0000)]
2009-10-21  Keishi Hattori  <casey.hattori@gmail.com>

        Reviewed by Timothy Hatcher.

        REGRESSION: Clicking on nodes in the console should take you to the element in the DOM
        https://bugs.webkit.org/show_bug.cgi?id=27231

        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._formatnode): Turns on ElementsTreeOutline.showInElementsPanelEnabled
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline): Added ElementsTreeOutline.showInElementsPanelEnabled
        (WebInspector.ElementsTreeElement.prototype.onmousedown): Reveals the node in the Elements panel if
        treeOutline.showInElementsPanelEnabled is true.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49917 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=30637
jorlow@chromium.org [Wed, 21 Oct 2009 19:22:36 +0000 (19:22 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=30637
Fix a compiler warning in windows.

Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-10-21
Reviewed by Eric Seidel.

* loader/ResourceLoadNotifier.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49916 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Shu Chang <Chang.Shu@nokia.com>
eric@webkit.org [Wed, 21 Oct 2009 19:18:49 +0000 (19:18 +0000)]
2009-10-21  Shu Chang  <Chang.Shu@nokia.com>

        Reviewed by Eric Seidel.

        [Qt] Added dummy implementation for keepWebHistory()
        https://bugs.webkit.org/show_bug.cgi?id=30592

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::keepWebHistory):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Victor Wang <victorw@chromium.org>
eric@webkit.org [Wed, 21 Oct 2009 19:10:57 +0000 (19:10 +0000)]
2009-10-21  Victor Wang  <victorw@chromium.org>

        Reviewed by Eric Seidel.

        Fix click-focus-anchor layout test to mimic click event.

        https://bugs.webkit.org/show_bug.cgi?id=30610

        * fast/events/click-focus-anchor.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49914 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Alejandro G. Castro <alex@igalia.com>
eric@webkit.org [Wed, 21 Oct 2009 19:03:30 +0000 (19:03 +0000)]
2009-10-21  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fixed the double click condition, it is not double click if
        we move in just in one direction.
        https://bugs.webkit.org/show_bug.cgi?id=30636

        * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49913 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-10-21 Alejandro G. Castro <alex@igalia.com>
eric@webkit.org [Wed, 21 Oct 2009 18:55:50 +0000 (18:55 +0000)]
2009-10-21  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Initialize the events completly before emitting them.
        https://bugs.webkit.org/show_bug.cgi?id=30633

        * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49912 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix the crash when a node not in a document receives dispatchEvent.
dimich@chromium.org [Wed, 21 Oct 2009 18:32:37 +0000 (18:32 +0000)]
Fix the crash when a node not in a document receives dispatchEvent.
https://bugs.webkit.org/show_bug.cgi?id=30611

Reviewed by Darin Adler.

WebCore:

Test: fast/events/dispatch-event-no-document.html

* dom/EventTarget.cpp: Check for scriptExecutionContext() at the moment of dispatchEvent; do nothing if no context.
(WebCore::EventTarget::dispatchEvent):

LayoutTests:

* fast/events/dispatch-event-no-document-expected.txt: Added.
* fast/events/dispatch-event-no-document.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49911 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agowx build fix. Fix for when linking using --as-needed with gcc.
kevino@webkit.org [Wed, 21 Oct 2009 18:25:54 +0000 (18:25 +0000)]
wx build fix. Fix for when linking using --as-needed with gcc.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49910 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-21 Adam Langley <agl@google.com>
agl@chromium.org [Wed, 21 Oct 2009 18:23:12 +0000 (18:23 +0000)]
2009-10-21  Adam Langley  <agl@google.com>

        Reviewed by Eric Seidel.

        Chromium Linux: disable subpixel text on layers.

        https://bugs.webkit.org/show_bug.cgi?id=30635
        http://code.google.com/p/chromium/issues/detail?id=25365

        With the addition of layers for drawing rounded corners in r49641,
        subpixel text on rounded rectangles broke. This is because the layer
        only contains a single alpha channel and this is insufficient to
        compose subpixel text correctly.

        On Windows, a large body of code in TransparencyWin.cpp exists to try
        to deal with this. Even then, in some cases, it downgrades to
        anti-aliased text. We need a fix for the grevious effects quickly thus
        this patch disables subpixel text when rendering into a layer.

        This would be covered by existing tests except that subpixel text is
        disabled for pixel tests on Chromium Linux.

        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::isCanvasMultiLayered):
        (WebCore::adjustTextRenderMode):
        (WebCore::Font::drawGlyphs):
        (WebCore::Font::drawComplexText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49909 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Wed, 21 Oct 2009 18:13:09 +0000 (18:13 +0000)]
Reviewed by Kevin Ollivier.

Include 'WebFrame.h' declared classes in wxPython bindings.

https://bugs.webkit.org/show_bug.cgi?id=30504

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49908 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agowxMac build fixes. Fix issues with linking against wrong versions of sqlite3 and...
kevino@webkit.org [Wed, 21 Oct 2009 18:06:31 +0000 (18:06 +0000)]
wxMac build fixes. Fix issues with linking against wrong versions of sqlite3 and curl on Mac 10.4.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49907 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: Fixed background-clip parsing regressions introduced in r46240.
mitz@apple.com [Wed, 21 Oct 2009 16:47:57 +0000 (16:47 +0000)]
WebCore: Fixed background-clip parsing regressions introduced in r46240.

Reviewed by Sam Weinig.

Test: fast/css/background-clip-text.html

* css/CSSParser.cpp:
(WebCore::parseBackgroundClip): Added this helper method.
(WebCore::CSSParser::parseFillShorthand): Use parseBackgroundClip() to
reparse the value. The old code called parseFillProperty() again, which
didn’t work, because parseFillProperty() advances the value list.
(WebCore::CSSParser::parseFillProperty): Changed to use
parseBackgroundClip().
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::operator EFillBox): Added a case for
CSSValueWebkitText.

LayoutTests: Added a background-clip parsing test that would have caught some
regressions that were introduced in r46240.

Reviewed by Sam Weinig.

* fast/css/background-clip-text-expected.txt: Added.
* fast/css/background-clip-text.html: Added.
* fast/css/script-tests: Added.
* fast/css/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/backgrounds/repeat/script-tests/TEMPLATE.html.
* fast/css/script-tests/background-clip-text.js: Added.
(test):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49906 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-21 Alexander Pavlov <apavlov@chromium.org>
eric@webkit.org [Wed, 21 Oct 2009 13:57:12 +0000 (13:57 +0000)]
2009-10-21  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Timothy Hatcher.

        Enable creation of custom SidebarTreeElements for different ProfileTypes

        ProfileTypes can now create sidebar tree elements of custom types.
        https://bugs.webkit.org/show_bug.cgi?id=30520

        * inspector/front-end/ProfileView.js:
        (WebInspector.CPUProfileType.prototype.setRecordingProfile):
        (WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
        (WebInspector.CPUProfileType.prototype.createView):
        (WebInspector.CPUProfile.prototype.get head):
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfileType.prototype.buttonClicked):
        (WebInspector.ProfileType.prototype.viewForProfile):
        (WebInspector.ProfileType.prototype.createView):
        (WebInspector.ProfileType.prototype.createSidebarTreeElementForProfile):
        (WebInspector.ProfilesPanel.prototype.addProfileHeader):
        (WebInspector.ProfilesPanel.prototype.showProfile):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49905 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Wed, 21 Oct 2009 13:45:12 +0000 (13:45 +0000)]
2009-10-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Selectors in the Styles pane should trigger a search for that selector when clicked
        https://bugs.webkit.org/show_bug.cgi?id=17126

        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.addNodesToSearchResult): only change focusedDOMNode on a manual search
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertiesSection.prototype._clickSelector): trigger a search
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype._startEditing): correctly start editing attribute value instead of name

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49904 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 21 Oct 2009 13:33:25 +0000 (13:33 +0000)]
2009-10-20  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Fix DOM Agent leak.

        https://bugs.webkit.org/show_bug.cgi?id=30615

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::~InspectorController):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-21 Girish Ramakrishnan <girish@forwardbias.in>
eric@webkit.org [Wed, 21 Oct 2009 13:08:07 +0000 (13:08 +0000)]
2009-10-21  Girish Ramakrishnan  <girish@forwardbias.in>

        Reviewed by Holger Freyther.

        Plugins: Create manual tests for testing plugins

        Create two test files:
        1. windowed.html - Test plugin in windowed mode.
        2. windowless.html - Test plugin in windowless mode.

        https://bugs.webkit.org/show_bug.cgi?id=30503

        * manual-tests/plugins/windowed.html: Added.
        * manual-tests/plugins/windowless.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49902 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-21 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 21 Oct 2009 09:10:46 +0000 (09:10 +0000)]
2009-10-21  Xan Lopez  <xlopez@igalia.com>

        Skip another failing test.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49901 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-21 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 21 Oct 2009 07:52:08 +0000 (07:52 +0000)]
2009-10-21  Xan Lopez  <xlopez@igalia.com>

        Skip a few more libxml2 related tests.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49900 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-21 Satoshi Nakagawa <psychs@limechat.net>
eric@webkit.org [Wed, 21 Oct 2009 07:11:08 +0000 (07:11 +0000)]
2009-10-21  Satoshi Nakagawa  <psychs@limechat.net>

        Reviewed by Darin Adler.

        Fixed Japanese text search problems.
        Treat small kana letters and kana letters as different characters in search.
        Do not ignore diacritic marks in search for Japanese texts.

        https://bugs.webkit.org/show_bug.cgi?id=30437

        * fast/text/international/japanese-kana-letters-expected.txt: Added.
        * fast/text/international/japanese-kana-letters.html: Added.
2009-10-21  Satoshi Nakagawa  <psychs@limechat.net>

        Reviewed by Darin Adler.

        Fixed Japanese text search problems.
        Treat small kana letters and kana letters as different characters in search.
        Do not ignore diacritic marks in search for Japanese texts.

        https://bugs.webkit.org/show_bug.cgi?id=30437

        Test: fast/text/international/japanese-kana-letters.html

        * editing/TextIterator.cpp:
        (WebCore::createCollator):
        (WebCore::collator):
        (WebCore::createSearcher):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49899 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Eric Z. Ayers <zundel@google.com>
eric@webkit.org [Wed, 21 Oct 2009 04:56:44 +0000 (04:56 +0000)]
2009-10-20  Eric Z. Ayers  <zundel@google.com>

        Reviewed by Timothy Hatcher.

        Changes TimelineItems to be created with raw timestamps as opposed
        to a time relative to a start of session.  Normalized timestamps cause
        problems when monitoring a browsing session across multiple page
        transitions.

        * inspector/InspectorTimelineAgent.cpp:
        (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
        (WebCore::InspectorTimelineAgent::willDispatchDOMEvent):
        (WebCore::InspectorTimelineAgent::willLayout):
        (WebCore::InspectorTimelineAgent::willRecalculateStyle):
        (WebCore::InspectorTimelineAgent::willPaint):
        (WebCore::InspectorTimelineAgent::willWriteHTML):
        (WebCore::InspectorTimelineAgent::reset):
        (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
        * inspector/InspectorTimelineAgent.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49898 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 21 Oct 2009 03:37:02 +0000 (03:37 +0000)]
2009-10-20  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: simple console tests do not require testing harness.

        https://bugs.webkit.org/show_bug.cgi?id=30478

        * inspector/uncaught-dom1-exception-expected.txt:
        * inspector/uncaught-dom1-exception.html:
        * inspector/uncaught-dom3-exception-expected.txt:
        * inspector/uncaught-dom3-exception.html:
        * inspector/uncaught-dom8-exception-expected.txt:
        * inspector/uncaught-dom8-exception.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49897 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix leak of WebSocketChannel by adopting the newly-created reference.
mrowe@apple.com [Wed, 21 Oct 2009 02:31:48 +0000 (02:31 +0000)]
Fix leak of WebSocketChannel by adopting the newly-created reference.

Reviewed by Oliver Hunt.

* websockets/WebSocketChannel.h:
(WebCore::WebSocketChannel::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49896 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRoll out r49876 as it causes many assertion failures during regression tests on SnowL...
mrowe@apple.com [Wed, 21 Oct 2009 00:42:47 +0000 (00:42 +0000)]
Roll out r49876 as it causes many assertion failures during regression tests on SnowLeopard.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49895 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoDOM Storage runtime flag changes
jorlow@chromium.org [Wed, 21 Oct 2009 00:40:55 +0000 (00:40 +0000)]
DOM Storage runtime flag changes
https://bugs.webkit.org/show_bug.cgi?id=30602

Patch by Jeremy Orlow <jorlow@chromium.org> on 2009-10-20
Reviewed by Adam Barth.

Part 1/2.  Removing sessionStorageEnabled in next patch after the
Chromium side of the changes lands.

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.idl:
* storage/Storage.cpp:
(WebCore::Storage::setLocalStorageAvailable):
(WebCore::Storage::localStorageAvailable):
(WebCore::Storage::setSessionStorageAvailable):
(WebCore::Storage::sessionStorageAvailable):
* storage/Storage.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49894 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoNeed to turn off notifications properly at runtime
atwilson@chromium.org [Wed, 21 Oct 2009 00:22:12 +0000 (00:22 +0000)]
Need to turn off notifications properly at runtime
https://bugs.webkit.org/show_bug.cgi?id=30409

Patch by John Gregg <johnnyg@google.com> on 2009-10-20
Reviewed by David Levin.

This code only affects chromium, and is all behind a compile time
flag current turned off, so no new tests.

* bindings/v8/custom/V8CustomBinding.h:
* bindings/v8/custom/V8DOMWindowCustom.cpp:
(WebCore::ACCESSOR_RUNTIME_ENABLER):
* bindings/v8/custom/V8WorkerContextCustom.cpp:
(WebCore::ACCESSOR_RUNTIME_ENABLER):
* notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::setIsAvailable):
(WebCore::NotificationCenter::isAvailable):
* notifications/NotificationCenter.h:
* page/DOMWindow.idl:
* workers/WorkerContext.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49893 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 James Robinson <jamesr@chromium.org>
eric@webkit.org [Wed, 21 Oct 2009 00:08:52 +0000 (00:08 +0000)]
2009-10-20  James Robinson  <jamesr@chromium.org>

        Reviewed by Adam Barth.

        Fixes RefPtr initialization in the V8 implementation of WebCore::ScriptString to use the ::create() idiom and
        use adoptRef() properly.  I failed to read the RefPtr docs the first time through :(

        No new tests, error was caught by valgrind on the Chromium builders.

        * bindings/v8/ScriptString.h:
        (WebCore::ScriptString::ScriptString):
        (WebCore::ScriptString::operator=):
        * bindings/v8/ScriptStringImpl.h:
        (WebCore::ScriptStringImpl::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49892 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Mikhail Naganov <mnaganov@chromium.org>
eric@webkit.org [Tue, 20 Oct 2009 23:10:46 +0000 (23:10 +0000)]
2009-10-20  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: populate child nodes before sorting them.

        https://bugs.webkit.org/show_bug.cgi?id=29673

        * inspector/front-end/BottomUpProfileDataGridTree.js:
        (WebInspector.BottomUpProfileDataGridNode): Swapped with BottomUpProfileDataGridTree to be consistent with TopDownProfileDataGridNode.
        (WebInspector.BottomUpProfileDataGridNode.prototype._takePropertiesFromProfileDataGridNode):
        (WebInspector.BottomUpProfileDataGridNode.prototype._keepOnlyChild):
        (WebInspector.BottomUpProfileDataGridNode.prototype._exclude):
        (WebInspector.BottomUpProfileDataGridNode.prototype._merge):
        (WebInspector.BottomUpProfileDataGridNode.prototype._sharedPopulate):
        (WebInspector.BottomUpProfileDataGridTree.prototype.exclude):
        * inspector/front-end/ProfileDataGridTree.js:
        (WebInspector.ProfileDataGridNode.prototype.sort): Added missing parentheses.
        (WebInspector.ProfileDataGridNode.prototype.get _parent):
        (WebInspector.ProfileDataGridNode.prototype._populate):
        * inspector/front-end/TopDownProfileDataGridTree.js:
        (WebInspector.TopDownProfileDataGridNode.prototype._sharedPopulate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRemove redundant String ref/deref calls in generated V8 bindings.
jorlow@chromium.org [Tue, 20 Oct 2009 21:56:03 +0000 (21:56 +0000)]
Remove redundant String ref/deref calls in generated V8 bindings.
https://bugs.webkit.org/show_bug.cgi?id=30579

Patch by Jens Alfke <snej@chromium.org> on 2009-10-20
Reviewed by Eric Seidel.

* bindings/v8/V8Binding.h:
(WebCore::toString): Fix return type of 'toString' to make it truly a no-op
    instead of constructing/destructing a String.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49890 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWindows build fix: updated variable name.
ggaren@apple.com [Tue, 20 Oct 2009 21:56:00 +0000 (21:56 +0000)]
Windows build fix: updated variable name.

Patch by Geoffrey Garen <ggaren@apple.com> on 2009-10-20
* runtime/DatePrototype.cpp:
(JSC::formatLocaleDate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49889 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago* jit/JITOpcodes.cpp:
ggaren@apple.com [Tue, 20 Oct 2009 21:55:06 +0000 (21:55 +0000)]
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_next_pname): Slightly tweaked this #ifdef to match the
size of a JSValue because m_jsStrings is an array of JSValues.

Reviewed by Mark Rowe.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49888 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFixed a 64-bit regression caused by the fix for
ggaren@apple.com [Tue, 20 Oct 2009 21:49:13 +0000 (21:49 +0000)]
Fixed a 64-bit regression caused by the fix for
https://bugs.webkit.org/show_bug.cgi?id=30570.

Patch by Geoffrey Garen <ggaren@apple.com> on 2009-10-20
Reviewed by Mark Rowe.

* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_next_pname): Use TimesEight stepping on 64-bit, since
64-bit pointers are eight bytes long.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49887 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRefactored DateInstance::msToGregorianDateTime so that a DateInstance's
ggaren@apple.com [Tue, 20 Oct 2009 21:39:43 +0000 (21:39 +0000)]
Refactored DateInstance::msToGregorianDateTime so that a DateInstance's
caller doesn't need to supply the DateInstance's own internal value to
the DateInstance.

Patch by Geoffrey Garen <ggaren@apple.com> on 2009-10-20
Reviewed by Sam Weinig.

* runtime/DateInstance.cpp:
(JSC::DateInstance::getGregorianDateTime): Renamed from "msToGregorianDateTime".

* runtime/DateInstance.h:
* runtime/DatePrototype.cpp:
(JSC::formatLocaleDate):
(JSC::dateProtoFuncToString):
(JSC::dateProtoFuncToUTCString):
(JSC::dateProtoFuncToISOString):
(JSC::dateProtoFuncToDateString):
(JSC::dateProtoFuncToTimeString):
(JSC::dateProtoFuncToLocaleString):
(JSC::dateProtoFuncToLocaleDateString):
(JSC::dateProtoFuncToLocaleTimeString):
(JSC::dateProtoFuncGetTime):
(JSC::dateProtoFuncGetFullYear):
(JSC::dateProtoFuncGetUTCFullYear):
(JSC::dateProtoFuncToGMTString):
(JSC::dateProtoFuncGetMonth):
(JSC::dateProtoFuncGetUTCMonth):
(JSC::dateProtoFuncGetDate):
(JSC::dateProtoFuncGetUTCDate):
(JSC::dateProtoFuncGetDay):
(JSC::dateProtoFuncGetUTCDay):
(JSC::dateProtoFuncGetHours):
(JSC::dateProtoFuncGetUTCHours):
(JSC::dateProtoFuncGetMinutes):
(JSC::dateProtoFuncGetUTCMinutes):
(JSC::dateProtoFuncGetSeconds):
(JSC::dateProtoFuncGetUTCSeconds):
(JSC::dateProtoFuncGetTimezoneOffset):
(JSC::setNewValueFromTimeArgs):
(JSC::setNewValueFromDateArgs):
(JSC::dateProtoFuncSetYear):
(JSC::dateProtoFuncGetYear): Also renamed "utc" to "outputIsUTC", for clarity.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49886 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Joanmarie Diggs <joanmarie.diggs@gmail.com>
eric@webkit.org [Tue, 20 Oct 2009 21:20:50 +0000 (21:20 +0000)]
2009-10-20  Joanmarie Diggs  <joanmarie.diggs@gmail.com>

        Reviewed by Xan Lopez.

        https://bugs.webkit.org/show_bug.cgi?id=25411
        [GTK] ATK accessible ancestry broken

        Work around for the problem of bogus additional objects in the ancestry.
        We now set the parent when we ref the child, then ask the Atk child if
        it knows its parent. This solves the bulk of the cases. For those it
        doesn't, fall back to the existing logic.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_get_parent):
        (webkit_accessible_ref_child):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49885 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRubber-stamped by Mark Rowe.
mitz@apple.com [Tue, 20 Oct 2009 20:56:45 +0000 (20:56 +0000)]
Rubber-stamped by Mark Rowe.

<rdar://problem/7319749> REGRESSION(r49806): Contextual Menu items missing
https://bugs.webkit.org/show_bug.cgi?id=30568

Revert accidental change from r49806.

* WebCoreSupport/WebContextMenuClient.mm:
(WebContextMenuClient::getCustomMenuFromDefaultItems):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49884 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFixes <http://webkit.org/b/30421>.
bweinstein@apple.com [Tue, 20 Oct 2009 20:50:21 +0000 (20:50 +0000)]
Fixes <http://webkit.org/b/30421>.
Web Inpsector: Local Files can show up on Cookies List with Cookies from other Domain.

Reviewed by Alice Liu.

When a page like Google generates an about:blank, it shows up as a local file on
the list of Cookie domains, but has all of the cookies of Google. When we are adding
cookie domains to the inspector, we should only add the domain is the URL of the resource
is in the HTTP protocol family or a file URL.

* inspector/InspectorController.cpp:
(WebCore::InspectorController::populateScriptObjects):
(WebCore::InspectorController::didFinishLoading):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49883 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Mark Mentovai <mark@chromium.org>
japhet@chromium.org [Tue, 20 Oct 2009 20:38:29 +0000 (20:38 +0000)]
2009-10-20  Mark Mentovai  <mark@chromium.org>

        Reviewed by Darin Fisher.

        Use a version of libWebKitSystemInterface with global symbols marked
        private_extern for Chromium Mac.

        https://bugs.webkit.org/show_bug.cgi?id=30590

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gyp/mac: Added.
        * WebCore.gyp/mac/Empty.cpp: Added.
        * WebCore.gyp/mac/adjust_visibility.sh: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49882 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Zoltan Horvath <zoltan@webkit.org>
zoltan@webkit.org [Tue, 20 Oct 2009 20:12:32 +0000 (20:12 +0000)]
2009-10-20  Zoltan Horvath  <zoltan@webkit.org>

        Reviewed by Eric Seidel.

        Allow custom memory allocation control for WebCore's CSSProperty
        https://bugs.webkit.org/show_bug.cgi?id=30564

        Inherits CSSProperty class from FastAllocBase because it has been
        instantiated by 'new' in WebCore/css/CSSParser.cpp:367.

        * css/CSSProperty.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49881 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 20:03:17 +0000 (20:03 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Another batch of skipped tests with links to their bugs.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49880 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoReviewed By Adam Barth.
kenneth@webkit.org [Tue, 20 Oct 2009 19:52:58 +0000 (19:52 +0000)]
Reviewed By Adam Barth.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
Add some actions to the menu for cursor debugging.

GraphicsView based launcher only.

* QGVLauncher/main.cpp:
(MainView::setWaitCursor):
(MainView::resetCursor):
(MainView::flip):
(MainWindow::setWaitCursor):
(MainWindow::resetCursor):
(MainWindow::buildUI):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49879 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Andrew Scherkus <scherkus@chromium.org>
eric@webkit.org [Tue, 20 Oct 2009 19:08:17 +0000 (19:08 +0000)]
2009-10-20  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Eric Seidel.

        Hide Chromium's media slider thumb if no source has been loaded.

        https://bugs.webkit.org/show_bug.cgi?id=30529

        Covered by existing layout tests, notably:
            LayoutTests/media/controls-rendering.html
            LayoutTests/media/unsupported-tracks.html
            LayoutTests/media/video-src-none.html

        * rendering/RenderMediaControlsChromium.cpp:
        (WebCore::hasSource): Returns true if an HTMLMediaElement has a valid source set.
        (WebCore::paintMediaMuteButton): Refactored to use hasSource().
        (WebCore::paintMediaPlayButton): Ditto.
        (WebCore::paintMediaSliderThumb): Add call to hasSource() to determine if we should paint the thumb.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49878 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 19:02:17 +0000 (19:02 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Another batch of skipped tests with links to their bugs.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49877 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Satoshi Nakagawa <psychs@limechat.net>
eric@webkit.org [Tue, 20 Oct 2009 19:00:41 +0000 (19:00 +0000)]
2009-10-20  Satoshi Nakagawa  <psychs@limechat.net>

        Reviewed by Darin Adler.

        Fixed Japanese text search problems.
        Treat small kana letters and kana letters as different characters in search.
        Do not ignore diacritic marks in search for Japanese texts.

        https://bugs.webkit.org/show_bug.cgi?id=30437

        * fast/text/international/japanese-kana-letters-expected.txt: Added.
        * fast/text/international/japanese-kana-letters.html: Added.
2009-10-20  Satoshi Nakagawa  <psychs@limechat.net>

        Reviewed by Darin Adler.

        Fixed Japanese text search problems.
        Treat small kana letters and kana letters as different characters in search.
        Do not ignore diacritic marks in search for Japanese texts.

        https://bugs.webkit.org/show_bug.cgi?id=30437

        Test: fast/text/international/japanese-kana-letters.html

        * editing/TextIterator.cpp:
        (WebCore::createCollator):
        (WebCore::collator):
        (WebCore::createSearcher):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49876 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Tue, 20 Oct 2009 18:46:04 +0000 (18:46 +0000)]
2009-10-20  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Darin Adler.

        fast/css/getComputedStyle/marginComputedStyle is missing
        https://bugs.webkit.org/show_bug.cgi?id=30566

        * fast/css/getComputedStyle/marginComputedStyle-expected.txt: Added.
        * fast/css/getComputedStyle/marginComputedStyle.html: Added.
        * platform/mac/fast/css/getComputedStyle/marginComputedStyle-expected.checksum: Removed.
        * platform/mac/fast/css/getComputedStyle/marginComputedStyle-expected.png: Removed.
        * platform/mac/fast/css/getComputedStyle/marginComputedStyle-expected.txt: Removed.
        * platform/qt/fast/css/marginComputedStyle-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49875 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Gabor Loki <loki@inf.u-szeged.hu>
eric@webkit.org [Tue, 20 Oct 2009 18:41:41 +0000 (18:41 +0000)]
2009-10-20  Gabor Loki  <loki@inf.u-szeged.hu>

        Reviewed by Geoffrey Garen.

        The op_next_pname should use 4 bytes addressing mode in case of JSValue32
        https://bugs.webkit.org/show_bug.cgi?id=30570

        * jit/JITOpcodes.cpp:
        (JSC::JIT::emit_op_next_pname):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49874 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 18:20:13 +0000 (18:20 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Another batch of skipped tests with links to their bugs.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49873 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 20 Oct 2009 18:17:01 +0000 (18:17 +0000)]
2009-10-20  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Added getter for FrameLoader:m_suppressOpenerInNewFrame.
        This will allow Chromium to more intelligently detect
        noreferrer links and therefore open them in a new process.

        https://bugs.webkit.org/show_bug.cgi?id=30581

        * loader/FrameLoader.h:
        (WebCore::FrameLoader::suppressOpenerInNewFrame): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Anton Muhin <antonm@chromium.org>
abarth@webkit.org [Tue, 20 Oct 2009 17:46:48 +0000 (17:46 +0000)]
2009-10-20  Anton Muhin  <antonm@chromium.org>

        Reviewed by Adam Barth.

        Add {ager,antonm,yurys}@chromium.org into committers.py
        https://bugs.webkit.org/show_bug.cgi?id=30560

        * Scripts/modules/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49871 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRemove clipRenderToViewport as agreed upon in
kenneth@webkit.org [Tue, 20 Oct 2009 17:45:12 +0000 (17:45 +0000)]
Remove clipRenderToViewport as agreed upon in
https://bugs.webkit.org/show_bug.cgi?id=29843

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
Rubberstamped by Adam Barth.

* Api/qwebframe.cpp:
* Api/qwebframe.h:
* Api/qwebframe_p.h:
(QWebFramePrivate::QWebFramePrivate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49870 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 17:37:53 +0000 (17:37 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip 3 failing xmlhttprequest tests.

        https://bugs.webkit.org/show_bug.cgi?id=30582

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49869 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 17:22:12 +0000 (17:22 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip two failing security canvas tests.

        https://bugs.webkit.org/show_bug.cgi?id=30580

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49868 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 17:10:36 +0000 (17:10 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip failing editing test.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49867 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoUpdate the tests to test the new render functionality, and take
kenneth@webkit.org [Tue, 20 Oct 2009 17:03:50 +0000 (17:03 +0000)]
Update the tests to test the new render functionality, and take
into consideration that render() clips to the frame itself as well
as the viewport.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
Reviewed by Adam Barth.

QWebFrame::render() now always clips, so the old tests were bogus.

Rendering pure contents (no scrollbars etc) without clipping can now
be accomplished using QWebFrame::documentElement()->render(...)

* Api/qwebframe.cpp:
* Api/qwebframe.h:
* Api/qwebframe_p.h:
(QWebFramePrivate::QWebFramePrivate):
* tests/qwebframe/tst_qwebframe.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49866 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAs we do not support rendering a QWebFrame without it being clipped
kenneth@webkit.org [Tue, 20 Oct 2009 17:03:22 +0000 (17:03 +0000)]
As we do not support rendering a QWebFrame without it being clipped
the the frame as well as the viewport, we now set the viewport size
to the size of the contents.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
Reviewed by Adam Barth.

Rendering pure contents (no scrollbars etc) without clipping can be
acomplished using QWebFrame::documentElement()->render(...)

* tests/qwebelement/tst_qwebelement.cpp:
(tst_QWebElement::render):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49865 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 16:43:03 +0000 (16:43 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip a bunch of failing DnD tests.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49864 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Zoltan Horvath <zoltan@webkit.org>
zoltan@webkit.org [Tue, 20 Oct 2009 16:40:28 +0000 (16:40 +0000)]
2009-10-20  Zoltan Horvath  <zoltan@webkit.org>

        Reviewed by Darin Adler.

        Allow custom memory allocation control for WebCore's CSSParserFunction
        https://bugs.webkit.org/show_bug.cgi?id=30563

        Inherits CSSParserFunction struct from FastAllocBase because it has been
        instantiated by 'new' in WebCore/css/CSSParser.cpp:4827.

        * css/CSSProperty.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49863 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 16:29:42 +0000 (16:29 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip two zoom related tests.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49862 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 15:55:28 +0000 (15:55 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip a couple of failing media tests.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49861 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 15:47:54 +0000 (15:47 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip failing a11y test while we investigate what's going on.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49860 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 15:41:04 +0000 (15:41 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip tests expecting new results.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49859 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 20 Oct 2009 15:30:21 +0000 (15:30 +0000)]
2009-10-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Watched Expressions Buttons Do Not Match Inspector Styles
        https://bugs.webkit.org/show_bug.cgi?id=30554

        * inspector/front-end/inspector.css: added style to pane buttons

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49858 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 15:29:47 +0000 (15:29 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip media/restore-from-page-cache.html since we are missing some
        of the needed API for the test.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49857 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago=fix for 30559
yurys@chromium.org [Tue, 20 Oct 2009 15:06:32 +0000 (15:06 +0000)]
=fix for 30559

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49856 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 15:00:33 +0000 (15:00 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip another failing test because we don't currently support
        changing the locale after gtk_init has been called.

        Also, add another test to the list of libxml2 issues.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49855 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Tue, 20 Oct 2009 14:25:31 +0000 (14:25 +0000)]
2009-10-20  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Tor Arne Vestbø.

        [Qt] Remove http/tests/xmlhttprequest tests
        from skiplist, and add only now failing tests.

        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49854 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 14:18:03 +0000 (14:18 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip a bunch of tests failing in the debug bots because WebKit
        does not work correctly with very recent versions of libxml2. The
        tracker bug for the issue is
        https://bugs.webkit.org/show_bug.cgi?id=30508

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49853 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoMake the Netscape Test plugin available to the Qt launcher.
kenneth@webkit.org [Tue, 20 Oct 2009 14:15:08 +0000 (14:15 +0000)]
Make the Netscape Test plugin available to the Qt launcher.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
Reviewed by Tor Arne Vestbø

* Scripts/run-launcher:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49852 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAdd menu item to dump the plugin list to the console,
kenneth@webkit.org [Tue, 20 Oct 2009 14:14:49 +0000 (14:14 +0000)]
Add menu item to dump the plugin list to the console,
which can be handy for debugging.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-20
Reviewed by Tor Arne Vestbø.

* QtLauncher/main.cpp:
(MainWindow::dumpPlugins):
(MainWindow::setupUI):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49851 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoIntroduce new render method on QWebFrame, which supports specifying
kenneth@webkit.org [Tue, 20 Oct 2009 14:14:27 +0000 (14:14 +0000)]
Introduce new render method on QWebFrame, which supports specifying
which layers to render (scrollbars, contents, pan-icon).

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-19
Reviewed by Tor Arne Vestbø.

Deprecate render().

* Api/qwebframe.cpp:
(QWebFramePrivate::renderPrivate):
(QWebFrame::render):
* Api/qwebframe.h:
* Api/qwebframe_p.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49850 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Enable previously disabled fast/css tests after r48873 landed which
ossy@webkit.org [Tue, 20 Oct 2009 12:16:37 +0000 (12:16 +0000)]
[Qt] Enable previously disabled fast/css tests after r48873 landed which
fixed https://bugs.webkit.org/show_bug.cgi?id=28288

Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-10-20
Reviewed by Ariya Hidayat.

* platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49849 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 11:18:54 +0000 (11:18 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip failing test, with comment pointing to the bug to track it.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49848 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 20 Oct 2009 10:44:26 +0000 (10:44 +0000)]
2009-10-20  Xan Lopez  <xlopez@igalia.com>

        Skip plugins/private-browsing-mode.html, since our plugin
        implementation lacks that feature.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49847 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Infinite loop (leading to crash) when setting cursor in QGraphicsWebView
tonikitoo@webkit.org [Tue, 20 Oct 2009 09:54:29 +0000 (09:54 +0000)]
[Qt] Infinite loop (leading to crash) when setting cursor in QGraphicsWebView
https://bugs.webkit.org/show_bug.cgi?id=30549

Patch by Antonio Gomes <tonikitoo@webkit.org> on 2009-10-19
Reviewed by Ariya Hidayat.

Patch reimplements QGraphicsItem's itemChange method, and make
CursorChange event to be emitted after cursor has already been
set.

QWidget::setCursor send the event just after it sets the cursor,
then patch makes both behaviors compatible.

* Api/qgraphicswebview.cpp:
(QGraphicsWebView::itemChange):
* Api/qgraphicswebview.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49846 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoMove OverridesMarkChildren flag from DatePrototype to its parent class
ossy@webkit.org [Tue, 20 Oct 2009 09:42:42 +0000 (09:42 +0000)]
Move OverridesMarkChildren flag from DatePrototype to its parent class
https://bugs.webkit.org/show_bug.cgi?id=30372

Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-10-20
Reviewed by Oliver Hunt.

* runtime/DateInstance.h:
(JSC::DateInstance::createStructure):
* runtime/DatePrototype.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49845 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoUnreviewed buildfix.
ossy@webkit.org [Tue, 20 Oct 2009 08:52:12 +0000 (08:52 +0000)]
Unreviewed buildfix.
[Qt] Add FEGaussianBlur.h and FEGaussianBlur.cpp which were refactored in r49778 to WebCore.pro.

Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-10-20
* WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49844 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Tue, 20 Oct 2009 07:36:50 +0000 (07:36 +0000)]
2009-10-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by David Levin.

        Set EnabledAtRuntime for WebSocket in DOMWindow
        https://bugs.webkit.org/show_bug.cgi?id=29896

        Supported by chromium/v8 only.
        Add WebSocket::isAvailable()/setIsAvailable(bool) to control v8
        bindings.
        Remove Settings::experimentalWebSocketsEnabled() and
        setExperimentalWebSocketsEnabled(bool).

        * WebCore.base.exp:
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::webSocket):
        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::getConstructor):
        * bindings/v8/custom/V8CustomBinding.h:
        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        (WebCore::ACCESSOR_RUNTIME_ENABLER):
        * page/DOMWindow.idl:
        * page/Settings.cpp:
        (WebCore::Settings::Settings):
        * page/Settings.h:
        * websockets/WebSocket.cpp:
        (WebCore::WebSocket::setIsAvailable):
        (WebCore::WebSocket::isAvailable):
        * websockets/WebSocket.h:
2009-10-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by David Levin.

        Removed WebSocket runtime settings.
        https://bugs.webkit.org/show_bug.cgi?id=29896

        WebSocket runtime configuration is supported by chromium/v8 only.

        * webkit/webkitwebview.cpp:
        (webkit_web_view_update_settings):
        (webkit_web_view_settings_notify):
2009-10-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by David Levin.

        Removed WebSocket runtime settings.
        https://bugs.webkit.org/show_bug.cgi?id=29896

        WebSocket runtime configuration is supported by chromium/v8 only.

        * WebView/WebPreferenceKeysPrivate.h:
        * WebView/WebPreferences.mm:
        (+[WebPreferences initialize]):
        * WebView/WebPreferencesPrivate.h:
        * WebView/WebView.mm:
        (-[WebView _preferencesChangedNotification:]):
2009-10-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by David Levin.

        Removed WebSocket runtime settings.
        https://bugs.webkit.org/show_bug.cgi?id=29896

        WebSocket runtime configuration is supported by chromium/v8 only.

        * Interfaces/IWebPreferencesPrivate.idl:
        * WebPreferenceKeysPrivate.h:
        * WebPreferences.cpp:
        (WebPreferences::initializeDefaultSettings):
        (WebPreferences::experimentalNotificationsEnabled):
        * WebPreferences.h:
        * WebView.cpp:
        (WebView::notifyPreferencesChanged):
2009-10-20  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by David Levin.

        Removed WebSocket runtime settings.
        https://bugs.webkit.org/show_bug.cgi?id=29896

        WebSocket runtime configuration is supported by chromium/v8 only.

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues):
        * DumpRenderTree/win/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49843 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoRubber-stamped by Tor Arne Vestbø.
ossy@webkit.org [Tue, 20 Oct 2009 07:23:42 +0000 (07:23 +0000)]
Rubber-stamped by Tor Arne Vestbø.

Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-10-20
[Qt] Skip failing tests introduced by disabling Phonon support in Buildbot's Qt version
until a proper solution for the Phonon related craches and timeouts is found.

* platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49842 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoREGRESSION: Dromaeo DOM test is 14% slower
oliver@apple.com [Tue, 20 Oct 2009 06:56:37 +0000 (06:56 +0000)]
REGRESSION: Dromaeo DOM test is 14% slower
https://bugs.webkit.org/show_bug.cgi?id=30273

Reviewed by Sam Weinig.

Whoops, make prototype bindings actually use the StructureFlags.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49841 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 James Robinson <jamesr@chromium.org>
abarth@webkit.org [Tue, 20 Oct 2009 05:01:32 +0000 (05:01 +0000)]
2009-10-19  James Robinson  <jamesr@chromium.org>

        Reviewed by Adam Barth.

        Better implementation of WebCore::ScriptString for the V8 bindings.

        https://bugs.webkit.org/show_bug.cgi?id=29909

        WebCore::ScriptString is used for XMLHttpRequest's responseText attribute which is
        shared with JavaScript.  Thus, simply using a WebCore::String and copying the value
        is pretty inefficient, especially since responseText is built up with a sequence of
        operator+= calls.  JSC builds use a JSC::UString to share the buffer when possible,
        this patch adopts a similar approach for V8.

        No new tests, behavior is unchanged and covered by LayoutTests/http/tests/xmlhttprequest

        * WebCore.gypi:
        * bindings/v8/ScriptString.h:
        (WebCore::ScriptString::ScriptString):
        (WebCore::ScriptString::operator String):
        (WebCore::ScriptString::isNull):
        (WebCore::ScriptString::size):
        (WebCore::ScriptString::operator=):
        (WebCore::ScriptString::operator+=):
        (WebCore::ScriptString::v8StringOrNull):
        * bindings/v8/ScriptStringImpl.cpp: Added.
        (WebCore::ScriptStringImpl::ScriptStringImpl):
        (WebCore::ScriptStringImpl::~ScriptStringImpl):
        (WebCore::ScriptStringImpl::toString):
        (WebCore::ScriptStringImpl::isNull):
        (WebCore::ScriptStringImpl::size):
        (WebCore::ScriptStringImpl::append):
        * bindings/v8/ScriptStringImpl.h: Added.
        (WebCore::ScriptStringImpl::ScriptStringImpl):
        (WebCore::ScriptStringImpl::v8StringHandle):
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        (WebCore::ACCESSOR_GETTER):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49840 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 20 Oct 2009 04:46:11 +0000 (04:46 +0000)]
2009-10-19  Adam Barth  <abarth@webkit.org>

        No review, rolling out r49837.
        http://trac.webkit.org/changeset/49837

        * page/Settings.cpp:
        (WebCore::Settings::setStandardFontFamily):
        (WebCore::Settings::setFixedFontFamily):
        (WebCore::Settings::setSerifFontFamily):
        (WebCore::Settings::setSansSerifFontFamily):
        (WebCore::Settings::setCursiveFontFamily):
        (WebCore::Settings::setFantasyFontFamily):
        * page/Settings.h:
        (WebCore::Settings::standardFontFamily):
        (WebCore::Settings::fixedFontFamily):
        (WebCore::Settings::serifFontFamily):
        (WebCore::Settings::sansSerifFontFamily):
        (WebCore::Settings::cursiveFontFamily):
        (WebCore::Settings::fantasyFontFamily):
        * platform/text/UScriptCode.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49839 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Kwang Yul Seo <skyul@company100.net>
abarth@webkit.org [Tue, 20 Oct 2009 04:39:20 +0000 (04:39 +0000)]
2009-10-19  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        Check COMPILER(MSVC) instead of PLATFORM(WIN_OS) to avoid the use of vasprintf.
        https://bugs.webkit.org/show_bug.cgi?id=30473

        vasprintf is missing in MSVC. Use COMPILER(MSVC) guards instead of
        PLALTFORM(WIN_OS) guards.

        * dom/XMLTokenizerLibxml2.cpp:
        (WebCore::XMLTokenizer::error):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49838 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Jungshik Shin <jshin@chromium.org>
abarth@webkit.org [Tue, 20 Oct 2009 04:37:09 +0000 (04:37 +0000)]
2009-10-19  Jungshik Shin  <jshin@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=20797

        Make generic font family getters/setters accept an additional
        argument (script code). It has a default value so that if an embedder
        does not have/want a per-script font family setting, call-sites
        don't have to be changed.
        This is to prepare for fixing bug 10874 (font selection is not
        language-dependent) and bug 18085.

        There should be no change in layout and no new layout test
        is added.

        * WebCore.base.exp:
        * page/Settings.cpp:
        * page/Settings.h:
        * platform/text/UScriptCode.h: Added. This is for ports that
          do not use ICU. the part of ICU's common/unicode/uscript.h
          that defines script code enum was copied. To keep enums compatible
          with those in ICU, we don't generate the list out of Scripts.txt
          of the Unicode Data base or CLDR's data.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49837 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Evan Stade <estade@chromium.org>
abarth@webkit.org [Tue, 20 Oct 2009 04:28:48 +0000 (04:28 +0000)]
2009-10-19  Evan Stade  <estade@chromium.org>

        Reviewed by Darin Adler.

        Clarify usage of SuddenTermination API. No code change.

        * platform/SuddenTermination.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49836 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoREGRESSION: Dromaeo DOM test is 14% slower
oliver@apple.com [Tue, 20 Oct 2009 04:05:05 +0000 (04:05 +0000)]
REGRESSION: Dromaeo DOM test is 14% slower
https://bugs.webkit.org/show_bug.cgi?id=30273

Reviewed by Gavin Barraclough.

Make DOM bindings automatically inherit correct structure
flags rather than being needlessly conservative.  This is
done by making the bindings generator use the same model
for TypeInfo flags that we now use in JSC.

This gains us about 1% of this regression back.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49835 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 John Gregg <johnnyg@google.com>
abarth@webkit.org [Tue, 20 Oct 2009 04:01:56 +0000 (04:01 +0000)]
2009-10-19  John Gregg  <johnnyg@google.com>

        Reviewed by Dimitri Glazkov.

        set ENABLE_NOTIFICATIONS=1 for Chromium
        https://bugs.webkit.org/show_bug.cgi?id=29949

        * chromium/features.gypi:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49834 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Robin Qiu <robin.qiu@torchmobile.com.cn>
eric@webkit.org [Tue, 20 Oct 2009 03:19:22 +0000 (03:19 +0000)]
2009-10-19  Robin Qiu  <robin.qiu@torchmobile.com.cn>

        Reviewed by Nikolas Zimmermann.

        Add a layout test for nested SVG <use> element which has a child.
        https://bugs.webkit.org/show_bug.cgi?id=26117

        * svg/custom/use-on-use-with-child-expected.txt: Added.
        * svg/custom/use-on-use-with-child.svg: Added.
2009-10-19  Robin Qiu  <robin.qiu@torchmobile.com.cn>

        Reviewed by Nikolas Zimmermann.

        Fixed a bug on nested SVG <use> elements.
        https://bugs.webkit.org/show_bug.cgi?id=26117
        When a <use> element refer to another <use> element which has
        child/children, the instance tree built for this <use> element
        is incorrect (more nodes than expected).

        Test: svg/dom/use-on-use-with-child.svg

        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::buildInstanceTree):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49833 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoSmall changes to fully invalidate and update the JavaScriptCallFrame.
timothy@apple.com [Tue, 20 Oct 2009 02:59:23 +0000 (02:59 +0000)]
Small changes to fully invalidate and update the JavaScriptCallFrame.

Patch by Oliver Hunt <oliver@apple.com> on 2009-10-19
<rdar://problem/7020755> JSDebugger crashes after reloading from a breakpoint
https://bugs.webkit.org/show_bug.cgi?id=27146

Reviewed by Timothy Hatcher.

* inspector/JavaScriptCallFrame.h:
(WebCore::JavaScriptCallFrame::invalidate):
(WebCore::JavaScriptCallFrame::update):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49832 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 20 Oct 2009 02:51:27 +0000 (02:51 +0000)]
2009-10-19  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Adam Barth.

        Fix fallout from last change.
        https://bugs.webkit.org/show_bug.cgi?id=30550

        Update init-events to match reality.  I only ran the domstorage layout tests
        and thus missed one in fast/events/.  This addresses fallout from
        https://bugs.webkit.org/show_bug.cgi?id=30536

        * fast/events/init-events-expected.txt:
        * fast/events/script-tests/init-events.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49831 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2009-10-19 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 20 Oct 2009 01:32:47 +0000 (01:32 +0000)]
2009-10-19  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Dmitri Titov.

        Remove "source" from storage events
        https://bugs.webkit.org/show_bug.cgi?id=30536

        Remove "source" from storage events per
        http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023703.html

        This was removed because it makes it introduces synchronous access that can
        cross the event loop boundry (since a storage event can fire from one process
        and be handled in another).

        * inspector/InspectorDOMStorageResource.cpp:
        (WebCore::InspectorDOMStorageResource::handleEvent):
        * storage/StorageEvent.cpp:
        (WebCore::StorageEvent::create):
        (WebCore::StorageEvent::StorageEvent):
        (WebCore::StorageEvent::initStorageEvent):
        * storage/StorageEvent.h:
        (WebCore::StorageEvent::uri):
        * storage/StorageEvent.idl:
        * storage/StorageEventDispatcher.cpp:
        (WebCore::StorageEventDispatcher::dispatch):
2009-10-19  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Dmitri Titov.

        Remove "source" from storage events
        https://bugs.webkit.org/show_bug.cgi?id=30536

        Remove "source" from storage events per
        http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-October/023703.html

        * storage/domstorage/localstorage/iframe-events-expected.txt:
        * storage/domstorage/localstorage/iframe-events.html:
        * storage/domstorage/localstorage/resources/iframe-events-second.html:
        * storage/domstorage/localstorage/simple-events-expected.txt:
        * storage/domstorage/localstorage/simple-events.html:
        * storage/domstorage/sessionstorage/iframe-events-expected.txt:
        * storage/domstorage/sessionstorage/iframe-events.html:
        * storage/domstorage/sessionstorage/resources/iframe-events-second.html:
        * storage/domstorage/sessionstorage/simple-events-expected.txt:
        * storage/domstorage/sessionstorage/simple-events.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@49830 268f45cc-cd09-0410-ab3c-d52691b4dbfc