- 02 Dec, 2009 21 commits
-
-
timothy@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=32072hyatt@apple.com authored
pass more CSS test suite stuff. Make the grammar stop enforcing the ordering of @namespace vs. @variables vs. @import. Just let the parser handle that instead. This simplifies the grammar and makes error handling deal with more cases correctly. Reviewed by Darin Adler. Added fast/css/namespaces/namespaces-invalid-at-rules.xml * css/CSSGrammar.y: * css/CSSParser.cpp: (WebCore::CSSParser::CSSParser): (WebCore::CSSParser::parseRule): (WebCore::CSSParser::createCharsetRule): (WebCore::CSSParser::createImportRule): (WebCore::CSSParser::createMediaRule): (WebCore::CSSParser::createKeyframesRule): (WebCore::CSSParser::createStyleRule): (WebCore::CSSParser::createFontFaceRule): (WebCore::CSSParser::addNamespace): (WebCore::CSSParser::createVariablesRule): * css/CSSParser.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
so it is fine for binary compatibility. Directed by Steve Falkenburg. * Interfaces/DOMHTML.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
<rdar://problem/6760590> Would like a way to detect a login form AutoFill from JavaScript Reviewed by Dan Bernstein. * DOMHTMLClasses.cpp: (DOMHTMLInputElement::setValueForUser): * Interfaces/DOMHTML.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Dan Bernstein. Safari/Chromium for Windows fails to load CJK WebFonts https://bugs.webkit.org/show_bug.cgi?id=31804 * platform/graphics/opentype/OpenTypeUtilities.cpp: (WebCore::renameAndActivateFont): Load a remote font even if the font has 2 or more faces. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Pavel Feldman. Adds a timeline test for EventDispatch records. https://bugs.webkit.org/show_bug.cgi?id=31376 * inspector/timeline-event-dispatch-expected.txt: Added. * inspector/timeline-event-dispatch.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. Chromium: Need tickmarks in scrollbar https://bugs.webkit.org/show_bug.cgi?id=32069 * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * platform/chromium/ScrollbarThemeChromiumMac.h: Added. * platform/chromium/ScrollbarThemeChromiumMac.mm: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
This function will dispatch the change event so the page is notified when autofill happens. Also dispatch a change event when a select element is changed by autofill. <rdar://problem/6760590> Would like a way to detect a login form AutoFill from JavaScript Reviewed by Darin Adler. * WebCore.xcodeproj/project.pbxproj: Added the DOMHTMLInputElementPrivate.h header. * bindings/objc/DOMHTML.mm: (-[DOMHTMLSelectElement _activateItemAtIndex:]): Call setSelectedIndexByUser instead so a change event is fired. This method is called by Safari autofill. * dom/Document.cpp: (WebCore::Document::setFocusedNode): Use dispatchFormControlChangeEvent instead of dispatching the change event directly to be consistent. * html/HTMLFormControlElement.cpp: (WebCore::HTMLInputElement::setValueForUser): Added. Calls setValue with the sendChangeEvent (WebCore::HTMLInputElement::setValue): Added the optional sendChangeEvent argument. Mimics setChecked. * html/HTMLInputElement.h: * html/HTMLInputElement.idl: Added setValueForUser for non-JS languages. * html/InputElement.h: Added setValueForUser. WebKit/mac: Migrate DOMHTMLInputElementPrivate.h as a private header. Reviewed by Darin Adler. * MigrateHeaders.make: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: DOM tree selection disappears upon page refresh. https://bugs.webkit.org/show_bug.cgi?id=31142 Test: inspector/elements-panel-selection-on-refresh.html * inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::pushNodeByPathToFrontend): * inspector/InjectedScriptHost.h: * inspector/InjectedScriptHost.idl: * inspector/InspectorBackend.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::close): (WebCore::InspectorController::releaseDOMAgent): (WebCore::InspectorController::resetScriptObjects): * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::~InspectorDOMAgent): (WebCore::InspectorDOMAgent::reset): (WebCore::InspectorDOMAgent::setDocument): (WebCore::InspectorDOMAgent::pushDocumentToFrontend): (WebCore::InspectorDOMAgent::nodeForPath): (WebCore::InspectorDOMAgent::pushNodePathToFrontend): * inspector/InspectorDOMAgent.h: * inspector/front-end/DOMAgent.js: (WebInspector.DOMNode.prototype._renumber): (WebInspector.DOMAgent.prototype._setDocument): * inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel.prototype.reset): (WebInspector.ElementsPanel.prototype.setDocument.selectDefaultNode): (WebInspector.ElementsPanel.prototype.setDocument.selectLastSelectedNode): (WebInspector.ElementsPanel.prototype.setDocument): * inspector/front-end/InjectedScript.js: (InjectedScript.pushNodeByPathToFrontend): * inspector/front-end/InjectedScriptAccess.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=32045hyatt@apple.com authored
all the @-rules we support. When escape sequences are present, the lexical scanner just returns a generic token name: ATKEYWORD. We have to process the escape sequences and then recheck against the rules we support with the final processed name. If we find a match, we mutate the token value to the appropriate rule name token, e.g., NAMESPACE_SYM. Reviewed by Dan Bernstein. Added fast/css/namespaces/namespaces-escapes.xml * css/CSSParser.cpp: (WebCore::CSSParser::lex): (WebCore::CSSParser::recheckAtKeyword): (WebCore::CSSParser::text): * css/CSSParser.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth.:w Allow to skip thread checks when accessing DOMDataStore for processes which run V8 in single thread mode. https://bugs.webkit.org/show_bug.cgi?id=31877 Should be covered by buildbots. * bindings/v8/V8DOMMap.cpp: (WebCore::getDOMDataStore): (WebCore::enableFasterDOMStoreAccess): (WebCore::getDOMNodeMap): (WebCore::getDOMObjectMap): (WebCore::getActiveDOMObjectMap): (WebCore::getDOMSVGElementInstanceMap): (WebCore::getDOMSVGObjectWithContextMap): * bindings/v8/V8DOMMap.h: 2009-12-02 Anton Muhin <antonm@chromium.org> Reviewed by Adam Barth. Allow to skip thread checks when accessing DOMDataStore for processes which run V8 in single thread mode. https://bugs.webkit.org/show_bug.cgi?id=31877 * src/WebScriptController.cpp: (WebKit::WebScriptController::enableV8SingleThreadMode): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Code clean up: remove ScriptObjectQuarantine.* as a whole. https://bugs.webkit.org/show_bug.cgi?id=32060 * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * WebCoreSources.bkl: * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/ScriptObjectQuarantine.cpp: Removed. * bindings/js/ScriptObjectQuarantine.h: Removed. * bindings/js/ScriptValue.cpp: (WebCore::ScriptValue::quarantineValue): * bindings/js/ScriptValue.h: * bindings/v8/ScriptObjectQuarantine.cpp: Removed. * bindings/v8/ScriptObjectQuarantine.h: Removed. * bindings/v8/ScriptValue.h: (WebCore::ScriptValue::quarantineValue): * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): * inspector/InspectorController.cpp: * inspector/InspectorDatabaseResource.cpp: (WebCore::InspectorDatabaseResource::bind): * inspector/InspectorFrontend.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/Skipped: - fast/frames/sandboxed-iframe-navigation-windowopen.html added. (crasher) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. [bzt] build-attachment shouldn't check whether the builders are red https://bugs.webkit.org/show_bug.cgi?id=32062 build-attachment doesn't touch the remote repository, so there isn't a need to hold off when the builders are red. * Scripts/modules/commands/download.py: * Scripts/modules/landingsequence.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. REGRESSION(51590): style-queue and build-queue think their empty when they are not https://bugs.webkit.org/show_bug.cgi?id=32061 * Scripts/modules/bugzilla.py: make all id lookups return ints instead of strings. * Scripts/modules/bugzilla_unittest.py: Add and update unit tests to use ints. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt/Skipped: - svg/custom/mask-with-all-units.svg added. - fast/css/namespaces/namespaces-comments.xml added. - fast/css/namespaces/namespaces-empty.xml added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. build-queue is throwing exceptions and complaining about lack of --no-update on build-attachment. Make it stop. * Scripts/modules/buildsteps.py: * Scripts/modules/commands/download.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Unreviewed "build" fix. Forgot to declare my variables. :( * QueueStatusServer/queue_status.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Eric Seidel. [bzt] Implement status bubble view https://bugs.webkit.org/show_bug.cgi?id=32057 The status bubble is a compact representation of the queue status for a given patch. This will eventually help us reduce the comment spam from the queues. * QueueStatusServer/index.html: Added HTML5 doctype for sanity. * QueueStatusServer/queue_status.py: * QueueStatusServer/status_bubble.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. trim commands/*.py includes now that commands are unit tested https://bugs.webkit.org/show_bug.cgi?id=32056 In the course of ensuring that the unit tests still passed after this change, I had to actually make them pass in the first place. * Scripts/modules/bugzilla.py: - Fix _parse_attachment_ids_request_query to return ints instead of strings. * Scripts/modules/commands/download.py: Remove unneeded imports. * Scripts/modules/commands/queries.py: Ditto. * Scripts/modules/commands/queues.py: Ditto. * Scripts/modules/commands/upload.py: Ditto. * Scripts/modules/scm_unittest.py: - Fix to expect the \n after the path since echo adds an \n. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ukai@chromium.org authored
Reviewed by Alexey Proskuryakov. WebSocket handshake check query component of URL https://bugs.webkit.org/show_bug.cgi?id=31617 * websocket/tests/echo-location_wsh.py: Added. * websocket/tests/no-query_wsh.py: Added. * websocket/tests/script-tests/url-with-credential.js: Added. * websocket/tests/script-tests/url-with-empty-query.js: Added. * websocket/tests/script-tests/url-with-fragment.js: Added. * websocket/tests/script-tests/url-with-query-for-no-query.js: Added. * websocket/tests/script-tests/url-with-query.js: Added. * websocket/tests/url-with-credential-expected.txt: Added. * websocket/tests/url-with-credential.html: Added. * websocket/tests/url-with-empty-query-expected.txt: Added. * websocket/tests/url-with-empty-query.html: Added. * websocket/tests/url-with-fragment-expected.txt: Added. * websocket/tests/url-with-fragment.html: Added. * websocket/tests/url-with-query-expected.txt: Added. * websocket/tests/url-with-query-for-no-query-expected.txt: Added. * websocket/tests/url-with-query-for-no-query.html: Added. * websocket/tests/url-with-query.html: Added. 2009-12-02 Fumitoshi Ukai <ukai@chromium.org> Reviewed by Alexey Proskuryakov. WebSocket handshake check query component of URL https://bugs.webkit.org/show_bug.cgi?id=31617 Tests: websocket/tests/url-with-credential.html websocket/tests/url-with-empty-query.html websocket/tests/url-with-fragment.html websocket/tests/url-with-query-for-no-query.html websocket/tests/url-with-query.html * platform/KURLGoogle.cpp: (WebCore::KURL::query): returns a null if query is not specified and returns an empty if query is specified but empty. * websockets/WebSocketHandshake.cpp: (WebCore::resourceName): added. add query component to path if specified. (WebCore::WebSocketHandshake::clientLocation): (WebCore::WebSocketHandshake::clientHandshakeMessage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Dec, 2009 19 commits
-
-
levin@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=32046 Reviewed by Eric Seidel. Fix incorrect code that happened to work. != has higher precendence than &. The simplest fix is to remove the "!= 0" which violates WebKit style guidelines anyway. Also added periods to few comments in the same function. * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::validateIndexArray): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. Added clarifications to the web site regarding coding style and code cleanup-- https://bugs.webkit.org/show_bug.cgi?id=31618 Changes include the following: - Expanded the style guidelines regarding "using" statements. - Made the style guidelines page validate as HTML. - Added that legacy WebKit components should not be cleaned up. - Added that it is more acceptable to update style when already touching code. * coding/coding-style.html: * coding/contributing.html: * projects/cleanup/index.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hamaji@chromium.org authored
Reviewed by Eric Seidel. Update expectations of css2.1/t1205-c56* for Qt https://bugs.webkit.org/show_bug.cgi?id=32015 * platform/qt/Skipped: * platform/qt/css2.1/t1205-c561-list-displ-00-b-expected.txt: * platform/qt/css2.1/t1205-c565-list-pos-00-b-expected.txt: * platform/qt/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
build-webkit: Remove flex,bison,gperf check for chromium https://bugs.webkit.org/show_bug.cgi?id=32043 * Scripts/webkitdirs.pm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. Change [Reflect] to [ConvertNullToNullString, Reflect] for min, max, pattern and step attributes of HTMLInputElement. https://bugs.webkit.org/show_bug.cgi?id=31708 * fast/forms/input-minmax-expected.txt: * fast/forms/input-pattern-expected.txt: Added. * fast/forms/input-pattern.html: Added. * fast/forms/input-step-expected.txt: * fast/forms/script-tests/input-minmax.js: Add tests for null/undefined/non-string. * fast/forms/script-tests/input-pattern.js: Added. * fast/forms/script-tests/input-step.js: Change the result for null. 2009-12-01 Kent Tamura <tkent@chromium.org> Reviewed by Darin Adler. Change [Reflect] to [ConvertNullToNullString, Reflect] for min, max, pattern and step attributes of HTMLInputElement. https://bugs.webkit.org/show_bug.cgi?id=31708 * html/HTMLInputElement.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
WAI-ARIA: implement support for ARIA drag and drop https://bugs.webkit.org/show_bug.cgi?id=32007 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (AccessibilityUIElement::ariaIsGrabbed): (AccessibilityUIElement::ariaDropEffects): * DumpRenderTree/win/AccessibilityUIElementWin.cpp: (AccessibilityUIElement::ariaIsGrabbed): (AccessibilityUIElement::ariaDropEffects): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32007 Reviewed by Darin Adler. WebCore: Test: platform/mac/accessibility/aria-drag-drop.html * accessibility/AccessibilityObject.h: (WebCore::AccessibilityObject::supportsARIADropping): (WebCore::AccessibilityObject::supportsARIADragging): (WebCore::AccessibilityObject::isARIAGrabbed): (WebCore::AccessibilityObject::setARIAGrabbed): (WebCore::AccessibilityObject::determineARIADropEffects): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::supportsARIADropping): (WebCore::AccessibilityRenderObject::supportsARIADragging): (WebCore::AccessibilityRenderObject::isARIAGrabbed): (WebCore::AccessibilityRenderObject::setARIAGrabbed): (WebCore::AccessibilityRenderObject::determineARIADropEffects): * accessibility/AccessibilityRenderObject.h: * accessibility/mac/AccessibilityObjectWrapper.mm: (-[AccessibilityObjectWrapper additionalAccessibilityAttributeNames]): (-[AccessibilityObjectWrapper accessibilityAttributeValue:]): (-[AccessibilityObjectWrapper accessibilityIsAttributeSettable:]): (-[AccessibilityObjectWrapper accessibilitySetValue:forAttribute:]): * html/HTMLAttributeNames.in: WebKitTools: * DumpRenderTree/AccessibilityUIElement.cpp: (getARIADropEffectsCallback): (getARIAIsGrabbedCallback): (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/mac/AccessibilityUIElementMac.mm: (AccessibilityUIElement::ariaIsGrabbed): (AccessibilityUIElement::ariaDropEffects): LayoutTests: * platform/mac/accessibility/aria-drag-drop-expected.txt: Added. * platform/mac/accessibility/aria-drag-drop.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=21288 Unreviewed port of @sandbox to V8. * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::isEnabled): * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::createWindow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Darin Adler. Add sneaky test that has tabs. * fast/frames/sandboxed-iframe-attribute-parsing-expected.txt: Added. * fast/frames/sandboxed-iframe-attribute-parsing.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
Reviewed by Darin Adler. Implement HTML5 sandbox attribute for iframes. http://www.w3.org/TR/html5/text-level-semantics.html#attr-iframe-sandbox https://bugs.webkit.org/show_bug.cgi?id=21288 * fast/frames/resources/non-sandboxed-iframe-navigation.html: Added. * fast/frames/resources/sandboxed-iframe-attribute-parsing-allowed.html: Added. * fast/frames/resources/sandboxed-iframe-attribute-parsing-disallowed.html: Added. * fast/frames/resources/sandboxed-iframe-form-allowed.html: Added. * fast/frames/resources/sandboxed-iframe-form-disallowed.html: Added. * fast/frames/resources/sandboxed-iframe-navigated.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-child.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-navigated.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-parent.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-source.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-targetlink.html: Added. * fast/frames/resources/sandboxed-iframe-navigation-windowopen.html: Added. * fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html: Added. * fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html: Added. * fast/frames/resources/sandboxed-iframe-plugins-frame-object.html: Added. * fast/frames/resources/sandboxed-iframe-script-dynamic.html: Added. * fast/frames/resources/sandboxed-iframe-storage-allowed.html: Added. * fast/frames/resources/sandboxed-iframe-storage-disallowed.html: Added. * fast/frames/sandboxed-iframe-attribute-parsing-expected.txt: Added. * fast/frames/sandboxed-iframe-attribute-parsing.html: Added. * fast/frames/sandboxed-iframe-forms-expected.txt: Added. * fast/frames/sandboxed-iframe-forms.html: Added. * fast/frames/sandboxed-iframe-navigation-allowed-expected.txt: Added. * fast/frames/sandboxed-iframe-navigation-allowed.html: Added. * fast/frames/sandboxed-iframe-navigation-parent-expected.txt: Added. * fast/frames/sandboxed-iframe-navigation-parent.html: Added. * fast/frames/sandboxed-iframe-navigation-targetlink-expected.txt: Added. * fast/frames/sandboxed-iframe-navigation-targetlink.html: Added. * fast/frames/sandboxed-iframe-navigation-windowopen-expected.txt: Added. * fast/frames/sandboxed-iframe-navigation-windowopen.html: Added. * fast/frames/sandboxed-iframe-plugins-expected.txt: Added. * fast/frames/sandboxed-iframe-plugins.html: Added. * fast/frames/sandboxed-iframe-scripting-expected.txt: Added. * fast/frames/sandboxed-iframe-scripting.html: Added. * fast/frames/sandboxed-iframe-storage-expected.txt: Added. * fast/frames/sandboxed-iframe-storage.html: Added. * http/tests/security/resources/sandboxed-iframe-document-cookie-read-denied.html: Added. * http/tests/security/resources/sandboxed-iframe-modify-self.html: Added. * http/tests/security/resources/xss-DENIED-sandboxed-iframe-attacker.html: Added. * http/tests/security/sandboxed-iframe-document-cookie-expected.txt: Added. * http/tests/security/sandboxed-iframe-document-cookie.html: Added. * http/tests/security/sandboxed-iframe-modify-self-expected.txt: Added. * http/tests/security/sandboxed-iframe-modify-self.html: Added. * http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt: Added. * http/tests/security/xss-DENIED-sandboxed-iframe.html: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow-expected.txt: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow.html: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard-expected.txt: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard.html: Added. * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied.html: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-allow-iframe.html: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-allow.cgi: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-iframe.html: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard-iframe.html: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied-without-wildcard.cgi: Added. * http/tests/xmlhttprequest/resources/access-control-sandboxed-iframe-denied.cgi: Added. 2009-12-01 Patrik Persson <patrik.j.persson@ericsson.com> Reviewed by Darin Adler. Implement HTML5 sandbox attribute for iframes. http://www.w3.org/TR/html5/text-level-semantics.html#attr-iframe-sandbox https://bugs.webkit.org/show_bug.cgi?id=21288 Tests: fast/frames/sandboxed-iframe-attribute-parsing.html fast/frames/sandboxed-iframe-forms.html fast/frames/sandboxed-iframe-navigation-allowed.html fast/frames/sandboxed-iframe-navigation-parent.html fast/frames/sandboxed-iframe-navigation-targetlink.html fast/frames/sandboxed-iframe-navigation-windowopen.html fast/frames/sandboxed-iframe-plugins.html fast/frames/sandboxed-iframe-scripting.html fast/frames/sandboxed-iframe-storage.html http/tests/security/sandboxed-iframe-document-cookie.html http/tests/security/sandboxed-iframe-modify-self.html http/tests/security/xss-DENIED-sandboxed-iframe.html http/tests/xmlhttprequest/access-control-sandboxed-iframe-allow.html http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard.html http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied.html * bindings/js/JSDOMWindowCustom.cpp: sandboxing navigation (WebCore::createWindow): * bindings/js/ScriptController.cpp: sandboxing scripts (WebCore::ScriptController::isEnabled): * dom/Document.cpp: (WebCore::Document::processHttpEquiv): (WebCore::Document::cookie): raise exception when accessed from sandbox (WebCore::Document::setCookie): raise exception when accessed from sandbox (WebCore::Document::initSecurityContext): updae sandbox status (WebCore::Document::updateSandboxFlags): * dom/Document.h: * dom/Document.idl: * html/HTMLAppletElement.cpp: sandboxing applets (WebCore::HTMLAppletElement::createRenderer): (WebCore::HTMLAppletElement::renderWidgetForJSBindings): (WebCore::HTMLAppletElement::canEmbedJava): * html/HTMLAppletElement.h: * html/HTMLAttributeNames.in: * html/HTMLFrameOwnerElement.cpp: management of sandbox flags as stated in attribute (WebCore::HTMLFrameOwnerElement::HTMLFrameOwnerElement): (WebCore::HTMLFrameOwnerElement::setSandboxFlags): * html/HTMLFrameOwnerElement.h: (WebCore::HTMLFrameOwnerElement::sandboxFlags): * html/HTMLIFrameElement.cpp: sandbox attribute parsing (WebCore::parseSandboxAttribute): (WebCore::HTMLIFrameElement::parseMappedAttribute): * html/HTMLIFrameElement.idl: * inspector/InspectorController.cpp: (WebCore::InspectorController::getCookies): * loader/CrossOriginAccessControl.cpp: (WebCore::passesAccessControlCheck): * loader/FrameLoader.cpp: (WebCore::FrameLoader::FrameLoader): (WebCore::FrameLoader::init): (WebCore::FrameLoader::submitForm): sandboxing forms (WebCore::FrameLoader::requestObject): sandboxing plugins (WebCore::FrameLoader::shouldAllowNavigation): sandboxing navigation (WebCore::FrameLoader::updateSandboxFlags): propagation of sandbox flags * loader/FrameLoader.h: (WebCore::FrameLoader::ownerElementSandboxFlagsChanged): (WebCore::FrameLoader::isSandboxed): (WebCore::FrameLoader::sandboxFlags): * loader/FrameLoaderTypes.h: (WebCore::): * page/DOMWindow.cpp: disable storage and databases in sandboxed frames (WebCore::DOMWindow::sessionStorage): (WebCore::DOMWindow::localStorage): (WebCore::DOMWindow::openDatabase): * page/SecurityOrigin.cpp: added sandboxing status (WebCore::SecurityOrigin::SecurityOrigin): (WebCore::SecurityOrigin::canAccess): (WebCore::SecurityOrigin::canRequest): (WebCore::SecurityOrigin::toString): * page/SecurityOrigin.h: (WebCore::SecurityOrigin::setSandboxFlags): (WebCore::SecurityOrigin::isSandboxed): (WebCore::SecurityOrigin::canAccessDatabase): (WebCore::SecurityOrigin::canAccessStorage): * websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::didReceiveData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32030 Reviewed by David Kilzer. WebCore: Test: accessibility/aria-text-role.html * accessibility/AccessibilityObject.cpp: (WebCore::createARIARoleMap): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::stringValue): (WebCore::AccessibilityRenderObject::isDescendantOfBarrenParent): (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): (WebCore::AccessibilityRenderObject::text): * accessibility/AccessibilityRenderObject.h: LayoutTests: * accessibility/aria-text-role-expected.txt: Added. * accessibility/aria-text-role.html: Added. * platform/gtk/Skipped: * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=32044 Reviewed by Maciej Stachowiak. The crash is caused by the prototype wrapper object getting collected when allocating the object that is going to use it as a prototype. Because the only reference to the prototype wrapper is through the new object's Structure it does not get marked automatically. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
added svg/animation in the WebCore.vcproj list of headers to be copied over on build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=32033 Reviewed by Eric Seidel. * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find instead of startswith. * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-