date | project | content | link |
|---|
| 7 min ago | WebKit | Commit by abarth@webkit.org :: r107541 Source/WebCore/ (9 files in 3 dirs): Remove ENABLE(MEDIA_STREAM) from Navigator.h https://bugs.webkit.org/show_bug.cgi?id=78467
Reviewed by Kentaro Hara.
Navigator.webkitGetUser media doesn't really have anything to do with Navigator.cpp. This patch moves it into the mediastream directory and removes the ENABLE(MEDIA_STREAM) ifdefs in Navigator.h and Navigator.cpp.
- GNUmakefile.list.am:
- WebCore.gypi:
- mediastream/NavigatorMediaStream.cpp: Added. (WebCore): (WebCore::NavigatorMediaStream::NavigatorMediaStream): (WebCore::NavigatorMediaStream::~NavigatorMediaStream): (WebCore::NavigatorMediaStream::webkitGetUserMedia):
- mediastream/NavigatorMediaStream.h: Added. (WebCore): (NavigatorMediaStream):
- mediastream/NavigatorMediaStream.idl: Added.
- page/Navigator.cpp: (WebCore):
- page/Navigator.h: (WebCore): (Navigator):
- page/Navigator.idl:
| # |
| 7 min ago | WebKit | Commit by abarth@webkit.org :: r107540 LayoutTests/ (3 files in 3 dirs): This test is testing the argument handling behavior of this API. Now that we autogenerate this code, we now throw consistent exceptions with the rest of the platform. There shouldn't be a compat issue here because this API hasn't shipped in production releases yet.
- fast/dom/MediaStream/argument-types-expected.txt:
- fast/dom/MediaStream/script-tests/argument-types.js:
| # |
| 15 min ago | WebKit | Commit by commit-queue@webkit.org :: r107539 LayoutTests/ (180 files in 33 dirs): | # |
| 26 min ago | WebKit | Commit by philn@webkit.org :: r107538 LayoutTests/ (ChangeLog platform/gtk/Skipped): Unreviewed, skipping 2 tests failing because of bug 78434.
| # |
| 55 min ago | WebKit | Commit by abarth@webkit.org :: r107537 Source/WebCore/ (7 files in 4 dirs): Navigator.webkitGetUserMedia doesn't need to be custom https://bugs.webkit.org/show_bug.cgi?id=78464
Reviewed by Eric Seidel.
The code generator has gotten smarter since this function was added.
- GNUmakefile.list.am:
- UseV8.cmake:
- WebCore.gypi:
- bindings/js/JSNavigatorCustom.cpp: Removed.
- bindings/v8/custom/V8NavigatorCustom.cpp: Removed.
- page/Navigator.idl:
| # |
| 10:30 today | WebKit | Commit by abarth@webkit.org :: r107536 Source/WebCore/ (16 files in 6 dirs): Move ENABLE(GAMEPAD) logic out of Navigator.h/cpp https://bugs.webkit.org/show_bug.cgi?id=78457
Reviewed by Hajime Morita.
This patch moves GAMEPAD-specific logic out of Navigator by introducing the concept of a NavigatorSupplement, analogous to the recently introduced PageSupplement.
- Modules/gamepad/NavigatorGamepad.cpp: (WebCore::NavigatorGamepad::from): (WebCore): (WebCore::NavigatorGamepad::webkitGamepads): (WebCore::NavigatorGamepad::gamepads):
- Modules/gamepad/NavigatorGamepad.h: (NavigatorGamepad):
- WebCore.gypi:
- dom/DeviceMotionController.cpp: (WebCore::DeviceMotionController::supplementName):
- page/Navigator.cpp: (WebCore::Navigator::provideSupplement): (WebCore): (WebCore::Navigator::requireSupplement):
- page/Navigator.h: (Navigator):
- page/Page.h: (Page):
- page/PageSupplement.h: - This patch cleans up some nits in PageSupplement. (WebCore): (PageSupplement):
| # |
| 10:26 today | WebKit | Commit by rniwa@webkit.org :: r107535 /trunk/ (2 files in 2 dirs): Another perf-o-matic build fix.
- Websites/webkit-perf.appspot.com/report_process_handler.py: (ReportProcessHandler._create_build_if_possible):
| # |
| 10:14 today | WebKit | Commit by bashi@chromium.org :: r107534 LayoutTests/ (10 files in 5 dirs): Unreviewed test expectations update after r107516.
- platform/chromium-mac-leopard/fast/css/font-face-default-font-expected.png: Added.
- platform/chromium-mac-leopard/fast/css/font-face-multiple-faces-expected.png:
- platform/chromium-mac-snowleopard/fast/css/font-face-default-font-expected.png: Added.
- platform/chromium-mac-snowleopard/fast/css/font-face-default-font-expected.txt: Added.
- platform/chromium-mac-snowleopard/fast/css/font-face-multiple-faces-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/css/font-face-multiple-faces-expected.png.
- platform/chromium-mac/fast/css/font-face-default-font-expected.png: Removed.
- platform/chromium-win/fast/css/font-face-default-font-expected.png:
- platform/chromium-win/fast/css/font-face-default-font-expected.txt:
| # |
| 10:08 today | WebKit | Commit by bashi@chromium.org :: r107533 LayoutTests/ (19 files in 12 dirs): Remove fast/css/font-face-descriptor-multiple-values.html https://bugs.webkit.org/show_bug.cgi?id=78456
The test is no longer needed because WebKit now follow the current draft(*1) and doesn't accept multiple font-weight descriptors. (*1) http://dev.w3.org/csswg/css3-fonts/#descdef-font-weight
Reviewed by Hajime Morita.
- fast/css/font-face-descriptor-multiple-values.html: Removed.
- fast/css/resources/font-face-descriptor-multiple-values-parsing.js: Removed.
- platform/chromium-linux/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/chromium-mac-leopard/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/chromium-mac/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/chromium-mac/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt: Removed.
- platform/chromium-win/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/chromium-win/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
- platform/chromium-win/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt: Removed.
- platform/efl/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/efl/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
- platform/gtk/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/gtk/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
- platform/mac-leopard/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/mac/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/mac/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
- platform/qt/fast/css/font-face-descriptor-multiple-values-expected.png: Removed.
- platform/qt/fast/css/font-face-descriptor-multiple-values-expected.txt: Removed.
| # |
| 09:47 today | WebKit | Commit by rniwa@webkit.org :: r107532 /trunk/ (2 files in 2 dirs): Perf-o-matic build fix.
- Websites/webkit-perf.appspot.com/report_handler.py: (ReportHandler.post):
| # |
| 09:11 today | WebKit | Commit by rniwa@webkit.org :: r107531 /trunk/ (5 files in 2 dirs): REGRESSION: Perf-o-matic adds duplicated test results https://bugs.webkit.org/show_bug.cgi?id=78373
Reviewed by Hajime Morita.
Add TestResult inside a transaction. We use high replication databsae but this should prevent the duplication in the most of the time.
Also fixed random bugs in Controller and ReportHandler.
- Websites/webkit-perf.appspot.com/controller.py: (get_persistent_cache):
- Websites/webkit-perf.appspot.com/report_handler.py: (ReportHandler.post):
- Websites/webkit-perf.appspot.com/report_process_handler.py: (ReportProcessHandler.post): (ReportProcessHandler._add_test_if_needed): (ReportProcessHandler): (ReportProcessHandler._add_test_result_if_needed): (ReportProcessHandler._add_test_result_if_needed._float_or_none): (ReportProcessHandler._add_test_result_if_needed.execute):
| # |
| 09:02 today | WebKit | Commit by haraken@chromium.org :: r107530 Source/WebCore/ (17 files in 10 dirs): Add a [V8CustomToJSObject] IDL attribute https://bugs.webkit.org/show_bug.cgi?id=78450
Reviewed by Adam Barth.
This is the first step to remove hard-coding in HasCustomToV8Implementation() in CodeGeneratorV8.pm. This patch adds [V8CustomToJSObject] to interfaces which have custom toV8() but do not have custom toJS().
No tests. No change in behavior.
- bindings/scripts/CodeGeneratorV8.pm: Replaced hard-coding with [V8CustomToJSObject]. (HasCustomToV8Implementation):
- css/CSSStyleSheet.idl: Added [V8CustomToJSObject].
- dom/DOMStringMap.idl:
- dom/Element.idl:
- dom/NamedNodeMap.idl:
- html/DOMTokenList.idl:
- html/HTMLDocument.idl:
- html/HTMLElement.idl:
- html/canvas/CanvasPixelArray.idl:
- inspector/ScriptProfile.idl:
- inspector/ScriptProfileNode.idl:
- page/DOMWindow.idl:
- page/Location.idl:
- svg/SVGDocument.idl:
- svg/SVGElement.idl:
- workers/WorkerContext.idl:
| # |
| 08:53 today | WebKit | Commit by commit-queue@webkit.org :: r107529 /trunk/ (164 files in 18 dirs): | # |
| 08:27 today | WebKit | Commit by commit-queue@webkit.org :: r107528 /trunk/ (5 files in 4 dirs): | # |
| 08:27 today | WebKit | Commit by commit-queue@webkit.org :: r107527 /trunk/ (5 files in 4 dirs): KeywordLookupGenerator.py script fails in some cases https://bugs.webkit.org/show_bug.cgi?id=77886
Patch by Ashod Nakashian <ashodnakashian at yahoo dot com> on 2012-02-12 Reviewed by Benjamin Poulain.
Source/JavaScriptCore:
- parser/Keywords.table: Converted to LF-only. Tools:
- Scripts/webkitpy/style/checker.py: New rule for Keywords.table to not have CR.
- Scripts/webkitpy/style/checker_unittest.py: New UT for Keywords.table rule. (GlobalVariablesTest.test_path_rules_specifier):
| # |
| 08:25 today | WebKit | Commit by antti@apple.com :: r107526 Source/WebCore/ (8 files in 2 dirs): CSSPageRule should inherit from CSSRule instead of CSSStyleRule https://bugs.webkit.org/show_bug.cgi?id=78452
Reviewed by Anders Carlsson.
This matches CSSOM and eliminates the only subclass of CSSStyleRule, enabling further refactoring.
- css/CSSPageRule.cpp: (WebCore::CSSPageRule::CSSPageRule): (WebCore::CSSPageRule::~CSSPageRule): (WebCore): (WebCore::CSSPageRule::selectorText): (WebCore::CSSPageRule::setSelectorText): (WebCore::CSSPageRule::cssText):
- css/CSSPageRule.h: (CSSPageRule): (WebCore::CSSPageRule::style): (WebCore::CSSPageRule::selector): (WebCore::CSSPageRule::properties): (WebCore::CSSPageRule::adoptSelectorVector): (WebCore::CSSPageRule::setDeclaration):
- css/CSSRule.cpp: (WebCore::CSSRule::cssText):
- css/CSSStyleRule.cpp: (WebCore::CSSStyleRule::generateSelectorText):
- css/CSSStyleSelector.cpp: (WebCore::RuleSet::pageRules): (RuleSet): (WebCore::RuleSet::addPageRule): (WebCore::comparePageRules): (WebCore::CSSStyleSelector::matchPageRules): (WebCore::CSSStyleSelector::matchPageRulesForList):
- css/CSSStyleSelector.h: (CSSStyleSelector):
| # |
| 07:42 today | WebKit | Commit by commit-queue@webkit.org :: r107525 Source/ (16 files in 5 dirs): Introduce ShadowRootList. https://bugs.webkit.org/show_bug.cgi?id=78069
Patch by Shinya Kawanaka <shinyak at google dot com> on 2012-02-12 Reviewed by Hajime Morita.
Source/JavaScriptCore:
DoublyLinkedList should have tail() method to take the last element.
- wtf/DoublyLinkedList.h: (DoublyLinkedList): (WTF::::tail): (WTF): Source/WebCore: This is a step to implement multiple shadow subtrees. This patch introduces a shadow root list. ShadowRootList is a doubly linked list, and each shadow root now has a younger shadow root and older shadow root, which are a previous element and a next element respectively. Since a visual tree traversal, which will be introduced in coming patches, will need a older shadow root, we make a shadow root list a doubly linked list. However, ShadowRootList does not have more than one shadow root now. This will be changed in a series of coming patches. Element::shadowRoot(), setShadowRoot(), ensureShadowRoot(), and removeShadowRoot() are emulated using ShadowRootList for a while. These API will be replaced to ShadowRootList API later. No new tests, no change in behavior.
- CMakeLists.txt:
- GNUmakefile.list.am:
- Target.pri:
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- dom/DOMAllInOne.cpp:
- dom/Element.cpp: (WebCore::Element::hasShadowRoot): Retruns true if an element has a shadowRoot. (WebCore::Element::shadowRootList): Gets shadow root list if any. (WebCore::Element::shadowRoot): Gets the first shadow root from the shadow root list. (WebCore::Element::setShadowRoot): Sets the first shadow root to the shadow root list. (WebCore::Element::removeShadowRoot): Removes all the shadow roots in the shadow root list.
- dom/Element.h: (WebCore): (Element):
- dom/ElementRareData.h: (ElementRareData): (WebCore::ElementRareData::ElementRareData): Has shadow root lists instead of shadow root. (WebCore::ElementRareData::~ElementRareData):
- dom/ShadowRoot.cpp: (WebCore::ShadowRoot::ShadowRoot): (WebCore::ShadowRoot::~ShadowRoot):
- dom/ShadowRoot.h: (ShadowRoot): (WebCore::ShadowRoot::youngerShadowRoot): (WebCore::ShadowRoot::olderShadowRoot):
- dom/ShadowRootList.cpp: Added. (WebCore): (WebCore::ShadowRootList::ShadowRootList): (WebCore::ShadowRootList::~ShadowRootList): (WebCore::ShadowRootList::pushShadowRoot): Adds a shadow root into the list. Currently we limit the list can have only one shadow root. (WebCore::ShadowRootList::popShadowRoot): Removes and returns the youngest shadow root if any.
- dom/ShadowRootList.h: Added. (WebCore): (ShadowRootList): (WebCore::ShadowRootList::hasShadowRoot): (WebCore::ShadowRootList::youngestShadowRoot): (WebCore::ShadowRootList::oldestShadowRoot):
| # |
| 07:19 today | WebKit | Commit by commit-queue@webkit.org :: r107524 /trunk/ (11 files in 5 dirs): INPUT shouldn't create ShadowRoot dynamically. https://bugs.webkit.org/show_bug.cgi?id=77930
Patch by Shinya Kawanaka <shinyak at google dot com> on 2012-02-12 Reviewed by Dimitri Glazkov.
Source/WebCore:
When input type is changed, ShadowRoot was being re-created. This makes it difficult to support multiple shadow subtrees. This patch makes input re-use the existing shadow root instead of re-creating a shaow root. A shadow root should be created when an element is created.
Since media control elements are implemented using input elements, these elements should also create a shadow root in their construction phase.
Test: fast/dom/shadow/input-shadow-nochange.html Tests related to media controls should be covered by existing tests.
- html/ColorInputType.cpp: (WebCore::ColorInputType::createShadowSubtree):
- html/FileInputType.cpp: (WebCore::FileInputType::createShadowSubtree): (WebCore::FileInputType::multipleAttributeChanged):
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::createShadowSubtree):
- html/InputType.cpp: (WebCore::InputType::destroyShadowSubtree):
- html/RangeInputType.cpp: (WebCore::RangeInputType::createShadowSubtree):
- html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::createShadowSubtree):
- html/shadow/MediaControlElements.cpp: Creates a shadow tree in the construction phase. (WebCore::MediaControlPanelMuteButtonElement::create): (WebCore::MediaControlVolumeSliderMuteButtonElement::create): (WebCore::MediaControlPlayButtonElement::create): (WebCore::MediaControlSeekForwardButtonElement::create): (WebCore::MediaControlSeekBackButtonElement::create): (WebCore::MediaControlRewindButtonElement::create): (WebCore::MediaControlReturnToRealtimeButtonElement::create): (WebCore::MediaControlToggleClosedCaptionsButtonElement::create): (WebCore::MediaControlTimelineElement::create): (WebCore::MediaControlVolumeSliderElement::create): (WebCore::MediaControlFullscreenVolumeSliderElement::create): (WebCore::MediaControlFullscreenButtonElement::create): (WebCore::MediaControlFullscreenVolumeMinButtonElement::create): (WebCore::MediaControlFullscreenVolumeMaxButtonElement::create): LayoutTests: Ensures cheaging input type does not cause shadow root recreation.
- fast/dom/shadow/input-shadow-nochange.html: Added.
- fast/dom/shadow/input-shadow-nochange-expected.txt: Added.
| # |
| 07:02 today | WebKit | Commit by commit-queue@webkit.org :: r107523 /trunk/ (6 files in 4 dirs): SVGTRefElement shouldn't create a shadow root dynamically. https://bugs.webkit.org/show_bug.cgi?id=77938
Patch by Shinya Kawanaka <shinyak at google dot com> on 2012-02-12 Reviewed by Hajime Morita.
Source/WebCore:
SVGTRefElement creates a shadow root dynamically. This will cause a problem to support multiple shadow subtrees. So it should be created in a constructor phase.
Test: svg/custom/tref-shadowdom.html
- svg/SVGTRefElement.cpp: (WebCore::SVGTRefElement::create): (WebCore::SVGTRefElement::createShadowSubtree): (WebCore): (WebCore::SVGTRefElement::updateReferencedText):
- svg/SVGTRefElement.h: (SVGTRefElement): LayoutTests: Checks a shadow root exists of tref element in cases xlink:href is set and is not set.
- svg/custom/tref-shadowdom-expected.txt: Added.
- svg/custom/tref-shadowdom.html: Added.
| # |
| 06:42 today | WebKit | Commit by commit-queue@webkit.org :: r107522 Tools/ (2 files in 2 dirs): | # |