⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Jan 10, 2010:

10:53 PM Changeset in webkit [53067] by oliver@apple.com
  • 2 edits in trunk/WebCore

Rollout renderpath culling as it once again breaks pixel tests.

10:14 PM Changeset in webkit [53066] by abarth@webkit.org
  • 6 edits in trunk/WebKitTools

2010-01-10 Adam Barth <abarth@webkit.org>

Rubber stamped by David Kilzer.

bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files
https://bugs.webkit.org/show_bug.cgi?id=33197

Fix a typo: Commmand -> Command.

  • Scripts/webkitpy/commands/abstractsequencedcommand.py:
  • Scripts/webkitpy/commands/download.py:
  • Scripts/webkitpy/commands/queries.py:
  • Scripts/webkitpy/commands/upload.py:
  • Scripts/webkitpy/multicommandtool.py:
10:09 PM Changeset in webkit [53065] by dbates@webkit.org
  • 3 edits in trunk/LayoutTests

2010-01-10 Daniel Bates <dbates@webkit.org>

Unreviewed, fix typo.


Fixed typo in test LayoutTests/fast/events/frame-programmatic-focus.html.
The word "frame" should be "iframe" in the string "<input> in frame blurred"
based on the context of the test. In particular, the line "<input> in iframe focused"
and the use of an iframe in the test.

  • fast/events/frame-programmatic-focus-expected.txt:
  • fast/events/frame-programmatic-focus.html:
9:36 PM Changeset in webkit [53064] by dbates@webkit.org
  • 2 edits in trunk/LayoutTests

2010-01-10 Daniel Bates <dbates@webkit.org>

Rubber-stamped by Eric Seidel.

Adding XSSAuditor test http/tests/security/xssAuditor/malformed-HTML.html
to the Qt Skipped file as it times out. We need to look into test further.
See bug #33460 for more details.

  • platform/qt/Skipped:
9:11 PM Changeset in webkit [53063] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2010-01-10 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

Let webkit-patch work with options in $EDITOR
https://bugs.webkit.org/show_bug.cgi?id=33414

The $EDITOR evironment variable might have command line options like
bbedit -w. This patch lets us run those $EDITORs.

  • Scripts/webkitpy/user.py:
8:55 PM Changeset in webkit [53062] by eric@webkit.org
  • 10 edits in trunk

2010-01-10 Kent Hansen <kent.hansen@nokia.com>

Reviewed by Darin Adler.

RegExp.prototype.toString returns "" for empty regular expressions
https://bugs.webkit.org/show_bug.cgi?id=33319

"" starts a single-line comment, hence "/(?:)/" should be used, according to ECMA.

  • runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncToString):
  • tests/mozilla/ecma_2/RegExp/properties-001.js: (AddRegExpCases):
  • tests/mozilla/js1_2/regexp/toString.js: Update relevant Mozilla tests (Mozilla has had this behavior since November 2003).

2010-01-10 Kent Hansen <kent.hansen@nokia.com>

Reviewed by Darin Adler.

RegExp.prototype.toString returns "" for empty regular expressions
https://bugs.webkit.org/show_bug.cgi?id=33319

Add new test cases and adapt existing ones.

  • fast/js/kde/RegExp-expected.txt:
  • fast/js/kde/script-tests/RegExp.js:
  • fast/js/regexp-compile-expected.txt:
  • fast/js/script-tests/regexp-compile.js:
  • fast/regex/non-pattern-characters-expected.txt:
8:34 PM Changeset in webkit [53061] by Darin Adler
  • 120 edits in trunk/JavaScriptCore
  • tests/mozilla/ecma/Array/15.4.1.1.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.1.2.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.2.1-1.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.2.2-1.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.2.2-2.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.2.3.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.3.2.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.3.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.4.1.js: Added property allow-tabs.
  • tests/mozilla/ecma/Array/15.4.4.js: Added property allow-tabs.
  • tests/mozilla/ecma/LexicalConventions/7.7.4.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.13.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.16.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.18.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.2.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.4.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.5.js: Added property allow-tabs.
  • tests/mozilla/ecma/Math/15.8.2.7.js: Added property allow-tabs.
  • tests/mozilla/ecma/String/15.5.1.js: Added property allow-tabs.
  • tests/mozilla/ecma/String/15.5.2.js: Added property allow-tabs.
  • tests/mozilla/ecma/String/15.5.3.1-3.js: Added property allow-tabs.
  • tests/mozilla/ecma/String/15.5.3.1-4.js: Added property allow-tabs.
  • tests/mozilla/ecma/String/15.5.3.js: Added property allow-tabs.
  • tests/mozilla/ecma/TypeConversion/9.5-2.js: Added property allow-tabs.
  • tests/mozilla/ecma/jsref.js: Modified property allow-tabs.
  • tests/mozilla/ecma/shell.js: Modified property allow-tabs.
  • tests/mozilla/ecma_2/LexicalConventions/keywords-001.js: Added property allow-tabs.
  • tests/mozilla/ecma_2/RegExp/exec-001.js: Added property allow-tabs.
  • tests/mozilla/ecma_2/String/match-004.js: Added property allow-tabs.
  • tests/mozilla/ecma_2/String/replace-001.js: Added property allow-tabs.
  • tests/mozilla/ecma_2/String/split-002.js: Added property allow-tabs.
  • tests/mozilla/ecma_2/jsref.js: Modified property allow-tabs.
  • tests/mozilla/ecma_2/shell.js: Added property allow-tabs.
  • tests/mozilla/ecma_3/Date/shell.js: Modified property allow-tabs.
  • tests/mozilla/ecma_3/Exceptions/regress-181654.js: Added property allow-tabs.
  • tests/mozilla/ecma_3/RegExp/regress-209067.js: Added property allow-tabs.
  • tests/mozilla/ecma_3/RegExp/regress-85721.js: Added property allow-tabs.
  • tests/mozilla/importList.html: Added property allow-tabs.
  • tests/mozilla/js1_1/shell.js: Added property allow-tabs.
  • tests/mozilla/js1_2/Array/general1.js: Added property allow-tabs.
  • tests/mozilla/js1_2/Array/general2.js: Added property allow-tabs.
  • tests/mozilla/js1_2/Array/slice.js: Added property allow-tabs.
  • tests/mozilla/js1_2/Array/splice1.js: Added property allow-tabs.
  • tests/mozilla/js1_2/Array/splice2.js: Added property allow-tabs.
  • tests/mozilla/js1_2/Objects/toString-001.js: Added property allow-tabs.
  • tests/mozilla/js1_2/String/charCodeAt.js: Added property allow-tabs.
  • tests/mozilla/js1_2/String/concat.js: Modified property allow-tabs.
  • tests/mozilla/js1_2/String/match.js: Added property allow-tabs.
  • tests/mozilla/js1_2/String/slice.js: Added property allow-tabs.
  • tests/mozilla/js1_2/function/Function_object.js: Added property allow-tabs.
  • tests/mozilla/js1_2/function/Number.js: Modified property allow-tabs.
  • tests/mozilla/js1_2/function/String.js: Modified property allow-tabs.
  • tests/mozilla/js1_2/function/nesting.js: Added property allow-tabs.
  • tests/mozilla/js1_2/function/regexparg-1.js: Added property allow-tabs.
  • tests/mozilla/js1_2/function/regexparg-2-n.js: Added property allow-tabs.
  • tests/mozilla/js1_2/jsref.js: Added property allow-tabs.
  • tests/mozilla/js1_2/operator/equality.js: Added property allow-tabs.
  • tests/mozilla/js1_2/operator/strictEquality.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_dollar_number.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_input.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_input_as_array.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_lastIndex.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_lastMatch.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_lastMatch_as_array.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_lastParen.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_lastParen_as_array.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_leftContext.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_leftContext_as_array.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_multiline.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_multiline_as_array.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_object.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_rightContext.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/RegExp_rightContext_as_array.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/alphanumeric.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/asterisk.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/backslash.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/backspace.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/beginLine.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/character_class.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/compile.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/control_characters.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/digit.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/dot.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/endLine.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/everything.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/exec.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/flags.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/global.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/hexadecimal.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/ignoreCase.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/interval.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/octal.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/parentheses.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/plus.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/question_mark.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/simple_form.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/source.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/special_characters.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/string_replace.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/string_search.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/string_split.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/test.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/toString.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/vertical_bar.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/whitespace.js: Added property allow-tabs.
  • tests/mozilla/js1_2/regexp/word_boundary.js: Added property allow-tabs.
  • tests/mozilla/js1_2/shell.js: Added property allow-tabs.
  • tests/mozilla/js1_2/statements/break.js: Added property allow-tabs.
  • tests/mozilla/js1_2/statements/continue.js: Added property allow-tabs.
  • tests/mozilla/js1_2/statements/do_while.js: Added property allow-tabs.
  • tests/mozilla/js1_2/statements/switch.js: Added property allow-tabs.
  • tests/mozilla/js1_2/statements/switch2.js: Added property allow-tabs.
  • tests/mozilla/js1_3/shell.js: Added property allow-tabs.
  • tests/mozilla/js1_4/shell.js: Added property allow-tabs.
  • tests/mozilla/js1_5/Regress/regress-111557.js: Added property allow-tabs.
  • tests/mozilla/js1_5/Regress/regress-216320.js: Added property allow-tabs.
  • tests/mozilla/menuhead.html: Added property allow-tabs.
  • tests/mozilla/mklistpage.pl: Added property allow-tabs.
  • tests/mozilla/runtests.pl: Added property allow-tabs.
8:09 PM Changeset in webkit [53060] by eric@webkit.org
  • 9 edits in trunk

2010-01-10 Robert Hogan <robert@roberthogan.net>

Reviewed by Adam Barth.

[Qt] Add enableXSSAuditor support to QWebSettings and DRT.

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

  • platform/qt/Skipped:

2010-01-10 Robert Hogan <robert@roberthogan.net>

Reviewed by Adam Barth.

[Qt] Add enableXSSAuditor support to QWebSettings and DRT.

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

  • Api/qwebsettings.cpp: (QWebSettingsPrivate::apply):
  • Api/qwebsettings.h:

2010-01-10 Robert Hogan <robert@roberthogan.net>

Reviewed by Adam Barth.

[Qt] Add enableXSSAuditor support to QWebSettings and DRT.

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

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::WebPage::resetSettings): (WebCore::DumpRenderTree::createWindow):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setXSSAuditorEnabled):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
7:47 PM Changeset in webkit [53059] by Simon Fraser
  • 5 edits in trunk/WebCore

2010-01-10 Simon Fraser <Simon Fraser>

Reviewed by Darin Adler.

Allows plugins to participate in accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=33455

Part 1: rename setContentsToVideo() on GraphicsLayer to setContentsToMedia()
to make it more general. Rename associated enums and methods similarly.

  • platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::setContentsToMedia):
  • platform/graphics/mac/GraphicsLayerCA.h: (WebCore::GraphicsLayerCA::):
  • platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::setContentsToMedia): (WebCore::GraphicsLayerCA::commitLayerChanges): (WebCore::GraphicsLayerCA::updateContentsMediaLayer):
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovieLayer): (WebCore::MediaPlayerPrivate::acceleratedRenderingStateChanged):
7:41 PM Changeset in webkit [53058] by abarth@webkit.org
  • 2 edits in trunk/LayoutTests

2010-01-10 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

http/tests/messaging/cross-domain-message-event-dispatch.html failed on Gtk Linux 64-Bit Debug Bot
https://bugs.webkit.org/show_bug.cgi?id=33458

Fix flakey test. If the machine is very slow, then more than 10ms
might have elapsed between registering the timeout and calling
postMessage. We can't be sure which order they will be called in.
Re-ordering the call guarantees the arrival order, even if it reduces
our coverage slightly.

  • http/tests/messaging/cross-domain-message-event-dispatch.html:
6:59 PM Changeset in webkit [53057] by oliver@apple.com
  • 2 edits in trunk/WebCore

Bad DOM performance in large SVG files
https://bugs.webkit.org/show_bug.cgi?id=30055

Reviewed by Nikolas Zimmerman

Cull RenderPaths before passing on to the underlying graphics system.

4:47 PM Changeset in webkit [53056] by abarth@webkit.org
  • 6 edits
    8 adds in trunk

2010-01-10 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

Add defensive initialization of iframe sandbox flags
https://bugs.webkit.org/show_bug.cgi?id=32368

Test the mutating the allow-same-origin directive in the sandbox
attribute does not affect the current document (but does affect the
next document).

  • http/tests/security/resources/sandboxed-iframe-origin-add-step1.html: Added.
  • http/tests/security/resources/sandboxed-iframe-origin-add-step2.html: Added.
  • http/tests/security/resources/sandboxed-iframe-origin-remove-step1.html: Added.
  • http/tests/security/resources/sandboxed-iframe-origin-remove-step2.html: Added.
  • http/tests/security/sandboxed-iframe-origin-add-expected.txt: Added.
  • http/tests/security/sandboxed-iframe-origin-add.html: Added.
  • http/tests/security/sandboxed-iframe-origin-remove-expected.txt: Added.
  • http/tests/security/sandboxed-iframe-origin-remove.html: Added.

2010-01-10 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

Add defensive initialization of iframe sandbox flags
https://bugs.webkit.org/show_bug.cgi?id=32368

We now initialize the SecurityOrigin's sandbox state directly duing
construction. This lets us properly set the isUnique bit.

Tests: http/tests/security/sandboxed-iframe-origin-add.html

http/tests/security/sandboxed-iframe-origin-remove.html

  • WebCore.base.exp:
  • dom/Document.cpp: (WebCore::Document::initSecurityContext):
  • page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::SecurityOrigin): (WebCore::SecurityOrigin::create): (WebCore::SecurityOrigin::setSandboxFlags):
  • page/SecurityOrigin.h:
4:38 PM Changeset in webkit [53055] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2010-01-10 Adam Barth <abarth@webkit.org>

Reviewed by Nikolas Zimmermann.

http/tests/security/xss-DENIED-window-open-javascript-url.html timed out on Windows Debug Bot
https://bugs.webkit.org/show_bug.cgi?id=33349

Previously we were using JavaScript URLs to return to the main event
loop, but that is potentially unreliable because there can be only one
scheduled redirect in flight per frame. Let's try using setTimeout
instead. Notice that there isn't a race condition here because the
event loop will always dispatch the actions in the proper order.

  • http/tests/security/xss-DENIED-window-open-javascript-url.html:
2:53 PM Changeset in webkit [53054] by abarth@webkit.org
  • 2 edits in trunk/WebKitTools

2010-01-10 Adam Barth <abarth@webkit.org>

Unreviewed cosmetic change. Remove the status bubble for mac-ews
because we don't have hardware for it at the moment.

  • QueueStatusServer/templates/statusbubble.html:
1:30 PM Changeset in webkit [53053] by pfeldman@chromium.org
  • 3 edits in trunk/WebCore

2010-01-10 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: Inspect Element selects the wrong element.
Drive-by fix that focuses dom tree upon settting focuesDOMNode.

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

  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.setDocument.selectLastSelectedNode): (WebInspector.ElementsPanel.prototype.setDocument):
  • inspector/front-end/treeoutline.js: (TreeElement.prototype.select):
1:04 PM QtWebKitJournal edited by Simon Hausmann
(diff)
11:15 AM Changeset in webkit [53052] by pfeldman@chromium.org
  • 2 edits in trunk/WebCore

2010-01-10 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: Introduce support for flexible line height in the text editor.

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

11:06 AM Changeset in webkit [53051] by pfeldman@chromium.org
  • 2 edits in trunk/WebCore

2010-01-10 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: Do not repaint line numbers while editing within line.

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

2:27 AM QtWebKitBackportingFixes edited by Simon Hausmann
(diff)
12:14 AM Changeset in webkit [53050] by abarth@webkit.org
  • 4 edits in trunk/WebCore

2010-01-10 Adam Barth <abarth@webkit.org>

Unreviewed whitespace fixes.

  • html/HTMLFrameOwnerElement.cpp: (WebCore::HTMLFrameOwnerElement::setSandboxFlags):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::updateSandboxFlags):
  • loader/FrameLoader.h:
12:10 AM Changeset in webkit [53049] by abarth@webkit.org
  • 5 edits in trunk/WebCore

2010-01-09 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

Unify origin sandbox flag with m_noAccess in SecurityOrigin
https://bugs.webkit.org/show_bug.cgi?id=32372

It turns out the SandboxOrigin bit is slightly different than the
unique origin concept because the sandbox bit is inherited by iframes.
These concepts are separate in the spec, so I think it's ok to keep
them separate in the implementation as well.

No new tests because there is no behavior change.

  • dom/Document.cpp: (WebCore::Document::cookie): (WebCore::Document::setCookie):
  • loader/CrossOriginAccessControl.cpp: (WebCore::passesAccessControlCheck):
  • page/SecurityOrigin.cpp: (WebCore::schemesWithUniqueOrigins): (WebCore::SecurityOrigin::SecurityOrigin): (WebCore::SecurityOrigin::canAccess): (WebCore::SecurityOrigin::canRequest): (WebCore::SecurityOrigin::taintsCanvas): (WebCore::SecurityOrigin::setSandboxFlags): (WebCore::SecurityOrigin::toString): (WebCore::SecurityOrigin::registerURLSchemeAsNoAccess): (WebCore::SecurityOrigin::shouldTreatURLSchemeAsNoAccess):
  • page/SecurityOrigin.h: (WebCore::SecurityOrigin::canAccessDatabase): (WebCore::SecurityOrigin::canAccessStorage): (WebCore::SecurityOrigin::canAccessCookies): (WebCore::SecurityOrigin::isUnique):

Jan 9, 2010:

7:12 PM Changeset in webkit [53048] by dbates@webkit.org
  • 9 edits in trunk

2010-01-09 Daniel Bates <dbates@webkit.org>

No review, rolling out r53044.
http://trac.webkit.org/changeset/53044
https://bugs.webkit.org/show_bug.cgi?id=33419


We need to look into this some more because the Qt
bot is failing the XSSAuditor tests. See bug #33419
for more details.

  • Api/qwebsettings.cpp:
  • Api/qwebsettings.h:

2010-01-09 Daniel Bates <dbates@webkit.org>

No review, rolling out r53044.
http://trac.webkit.org/changeset/53044
https://bugs.webkit.org/show_bug.cgi?id=33419


We need to look into this some more because the Qt
bot is failing the XSSAuditor tests. See bug #33419
for more details.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::WebPage::resetSettings):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.h:

2010-01-09 Daniel Bates <dbates@webkit.org>

No review, rolling out r53044.
http://trac.webkit.org/changeset/53044
https://bugs.webkit.org/show_bug.cgi?id=33419


We need to look into this some more because the Qt
bot is failing the XSSAuditor tests. See bug #33419
for more details.

  • platform/qt/Skipped:
6:52 PM Changeset in webkit [53047] by dbates@webkit.org
  • 2 edits in trunk/LayoutTests

2010-01-09 Daniel Bates <dbates@webkit.org>

No review, rolling out r53045.
http://trac.webkit.org/changeset/53045
https://bugs.webkit.org/show_bug.cgi?id=33440

This fix did not resolve the issue. That is, more XSSAuditor tests are
failing on the Qt bot. So, we're going ultimately going to rollout the
change committed in change set 53044 <http://trac.webkit.org/changeset/53044>,
but we need to first rollout the attempted fix committed in change
set 53045.

  • platform/qt/Skipped:
6:36 PM Changeset in webkit [53046] by abarth@webkit.org
  • 28 edits in trunk

2010-01-09 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

ScriptController::isEnabled needs to be renamed
https://bugs.webkit.org/show_bug.cgi?id=32063

Rename ScriptController::isEnabled to
ScriptController::canExecuteScripts to reflect what the method actually
means. This is a trivial change, but it involved touching a lot of
call sites.

  • WebCore.PluginHostProcess.exp:
  • bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::canExecuteScripts): (WebCore::ScriptController::executeScript):
  • bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::handleEvent):
  • bindings/js/JSLazyEventListener.cpp: (WebCore::JSLazyEventListener::parseCode):
  • bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::execute):
  • bindings/js/ScriptController.cpp: (WebCore::ScriptController::bindingRootObject): (WebCore::ScriptController::windowScriptNPObject): (WebCore::ScriptController::jsObjectForPluginElement): (WebCore::ScriptController::executeScriptInWorld):
  • bindings/js/ScriptController.h:
  • bindings/js/ScriptControllerMac.mm: (WebCore::ScriptController::windowScriptObject):
  • bindings/js/ScriptEventListener.cpp: (WebCore::createAttributeEventListener):
  • bindings/js/ScriptState.cpp: (WebCore::scriptStateFromNode):
  • bindings/v8/ScriptController.cpp: (WebCore::ScriptController::windowScriptNPObject): (WebCore::ScriptController::createScriptObjectForPluginElement):
  • bindings/v8/ScriptController.h:
  • bindings/v8/ScriptEventListener.cpp: (WebCore::createAttributeEventListener):
  • bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::retrieve):
  • dom/ScriptElement.cpp: (WebCore::ScriptElementData::evaluateScript):
  • dom/XMLTokenizerLibxml2.cpp: (WebCore::XMLTokenizer::startElementNs):
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::controls):
  • html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseTag): (WebCore::HTMLTokenizer::processToken):
  • inspector/InspectorController.cpp: (WebCore::canPassNodeToJavaScript):
  • inspector/JavaScriptDebugServer.cpp: (WebCore::JavaScriptDebugServer::setJavaScriptPaused):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::isProcessingUserGesture): (WebCore::FrameLoader::open): (WebCore::FrameLoader::dispatchDidClearWindowObjectsInAllWorlds): (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):

2010-01-09 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

ScriptController::isEnabled needs to be renamed
https://bugs.webkit.org/show_bug.cgi?id=32063

Rename ScriptController::isEnabled to
ScriptController::canExecuteScripts.

  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::bindToWindowObject):

2010-01-09 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

ScriptController::isEnabled needs to be renamed
https://bugs.webkit.org/show_bug.cgi?id=32063

Rename ScriptController::isEnabled to
ScriptController::canExecuteScripts.

  • Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::getWindowNPObject): (WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):

2010-01-09 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

ScriptController::isEnabled needs to be renamed
https://bugs.webkit.org/show_bug.cgi?id=32063

Rename ScriptController::isEnabled to
ScriptController::canExecuteScripts.

  • WebFrame.cpp: (wxWebFrame::RunScript):
6:00 PM Changeset in webkit [53045] by dbates@webkit.org
  • 2 edits in trunk/LayoutTests

2010-01-09 Daniel Bates <dbates@webkit.org>

Rubber-stamped by Adam Barth.

Adds failing XSSAuditor tests to the Qt Skipped file
while we come up with a fix for them. See bug #33440
for more details.

  • platform/qt/Skipped:
4:40 PM Changeset in webkit [53044] by dbates@webkit.org
  • 9 edits in trunk

2010-01-09 Daniel Bates <dbates@webkit.org>

Reviewed by Adam Barth.

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

Adds support for the XSSAuditor to the Qt DRT.

  • Api/qwebsettings.cpp: Updated comment to reflect added key XSSAuditorEnabled.
  • Api/qwebsettings.h: Adds settings key XSSAuditorEnabled.

2010-01-09 Daniel Bates <dbates@webkit.org>

Reviewed by Adam Barth.

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

Removes the XSSAuditor tests from the Qt Skipped file since
we now can run these tests.

  • platform/qt/Skipped:

2010-01-09 Daniel Bates <dbates@webkit.org>

Reviewed by Adam Barth.

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

Adds support for the XSSAuditor to the Qt DRT.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::WebPage::WebPage): (WebCore::WebPage::resetSettings):
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setXSSAuditorEnabled):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
4:20 PM Changeset in webkit [53043] by abarth@webkit.org
  • 3 edits
    1 copy
    1 add in trunk/WebKitTools

2010-01-09 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

Retry writes to QueueStatusServer when we get 500 errors
https://bugs.webkit.org/show_bug.cgi?id=33412

This prevents the queues from failing to mark a patch as "pass" or
"fail" when AppEngine throws 500 errors.

  • Scripts/test-webkitpy:
  • Scripts/webkitpy/networktransaction.py: Added.
  • Scripts/webkitpy/networktransaction_unittest.py: Added.
  • Scripts/webkitpy/statusserver.py:
  • Scripts/webkitpy/steps/closebugformarkbugfixed.py: Added.
  • Scripts/webkitpy/steps/closebugregardlessofpatches.py: Added.
  • Scripts/webkitpy/steps/findbugidfromsvnrevision.py: Added.
4:18 PM Changeset in webkit [53042] by eric@webkit.org
  • 2 edits in trunk/WebCore

2010-01-09 Evan Martin <evan@chromium.org>

Reviewed by Eric Seidel.

Inspector font for errors is ugly on non-OSX platforms
https://bugs.webkit.org/show_bug.cgi?id=33340

  • css/view-source.css: Add a fallback to sans-serif on a CSS selector that previously only listed Lucida Grande.
4:01 PM Changeset in webkit [53041] by ddkilzer@apple.com
  • 2 edits in trunk/WebKitTools

<http://webkit.org/b/33430> Fix rounded borders in queue status on older Firefox and Safari browsers

Reviewed by Eric Seidel.

  • QueueStatusServer/templates/statusbubble.html: Added

-moz-border-radius and -webkit-border-radius to provide rounded
borders in older Firefox and Safari browsers.

2:50 PM Changeset in webkit [53040] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2010-01-09 Chris Jerdonek <chris.jerdonek@gmail.com>

Reviewed by David Kilzer.

Modified VCSUtils::gitdiff2svndiff() to accept strings that
end in vertical white space.

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

  • Scripts/VCSUtils.pm:
  • Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl:
10:45 AM Changeset in webkit [53039] by mitz@apple.com
  • 5 edits
    4 adds in trunk

<rdar://problem/7525778> Font fallback kills SVG kerning
https://bugs.webkit.org/show_bug.cgi?id=33400

Reviewed by Nikolas Zimmermann.

WebCore:

Test: platform/mac/fast/text/sticky-typesetting-features.html

Cache font attributes separately for different typesetting features.

  • platform/graphics/SimpleFontData.h: Replaced single-element caches

with maps.

  • platform/graphics/mac/ComplexTextControllerATSUI.cpp:

(WebCore::disableLigatures): Added an ATSUStyle parameter.
(WebCore::initializeATSUStyle): Look up the ATSUStyle in the map and
initialize if necessary. Return the ATSUStyle.
(WebCore::ComplexTextController::collectComplexTextRunsForCharactersATSUI):
Use the ATSUStyle returned from initializeATSUStyle().

  • platform/graphics/mac/SimpleFontDataMac.mm:

(WebCore::SimpleFontData::platformInit):
(WebCore::SimpleFontData::platformDestroy): Destroy the ATSUStyles in the
map.
(WebCore::SimpleFontData::getCFStringAttributes): Look up the attributes
dictionary in the map and initialize if necessary.

LayoutTests:

  • platform/mac/fast/text/sticky-typesetting-features-expected.checksum: Added.
  • platform/mac/fast/text/sticky-typesetting-features-expected.png: Added.
  • platform/mac/fast/text/sticky-typesetting-features-expected.txt: Added.
  • platform/mac/fast/text/sticky-typesetting-features.html: Added.
Note: See TracTimeline for information about the timeline view.