Timeline
Oct 25, 2015:
- 11:40 PM Changeset in webkit [191554] by
-
- 18 edits in releases/WebKitGTK/webkit-2.10/Source/WebKit2
Merge r191340 - [GTK] Graphics corruption when entering/leaving AC mode quickly
https://bugs.webkit.org/show_bug.cgi?id=150323
Reviewed by Mario Sanchez Prada.
The UI process is notified when entering accelerated compositing
mode after the layers have been flushed and rendered to avoid
flickering. However, this is producing flickering in the GTK+
port, because we use an offscreen redirected window that is
resized to a minimium size to save memory when not in AC mode. The
web process always uses the current size of the redirected window,
so when entering AC mode, contents are rendered into the 1x1
window, then the UI process is notified, the redirected window is
resized to its actual size, and we force a resize to ask the web
process to render again, now at the correct size. Rendering at 1x1
and then resizing the window is what produces the flickering when
entering AC mode, but it's also inefficient, since we need to
render again after the redirected window is resized. So, this
patch adds a WillEnterAcceleratedCompositing message that is sent
to the UI process when the layer tree host is created but before
the contents have been composited and rendered. This is
implemented by the GTK+ port to prepare for entering AC mode, by
resizing the redirected window. When we actually enter AC mode,
the contents have already been rendered in the web process at the
correct size, so we can just use the redirected window surface
instead of the drawing area one, and paint in the web view without
any flickering. We no longer need the forceResize either.
When leaving accelerated compositing mode, we now clear the redirected
window resources after a short delay. This ensures that we have
already rendered the update sent in the ExitAcceleratedCompositingMode
message, but also that entering/leaving AC mode quickly doesn't
produce any redirected window resize.
- UIProcess/API/gtk/PageClientImpl.cpp:
(WebKit::PageClientImpl::willEnterAcceleratedCompositingMode):
- UIProcess/API/gtk/PageClientImpl.h:
- UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseClearRedirectedWindowSoon):
(webkitWebViewBaseWillEnterAcceleratedCompositingMode):
(webkitWebViewBaseEnterAcceleratedCompositingMode):
(webkitWebViewBaseExitAcceleratedCompositingMode):
- UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
- UIProcess/CoordinatedGraphics/WebView.h:
- UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::willEnterAcceleratedCompositingMode):
- UIProcess/DrawingAreaProxy.messages.in:
- UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::willEnterAcceleratedCompositingMode):
- UIProcess/DrawingAreaProxyImpl.h:
(WebKit::DrawingAreaProxyImpl::forceResize): Deleted.
- UIProcess/PageClient.h:
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::willEnterAcceleratedCompositingMode):
- UIProcess/WebPageProxy.h:
- UIProcess/ios/PageClientImplIOS.h:
- UIProcess/ios/PageClientImplIOS.mm:
(WebKit::PageClientImpl::willEnterAcceleratedCompositingMode):
- UIProcess/mac/PageClientImpl.h:
- UIProcess/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::willEnterAcceleratedCompositingMode):
- WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::enterAcceleratedCompositingMode):
- 11:29 PM Changeset in webkit [191553] by
-
- 18 edits in trunk/Source/WebCore
Use modern for-loops in WebCore/editing.
https://bugs.webkit.org/show_bug.cgi?id=150354
Reviewed by Darin Adler.
No new tests because there is no behavior change.
- editing/AlternativeTextController.cpp:
(WebCore::AlternativeTextController::applyAlternativeTextToRange):
(WebCore::AlternativeTextController::applyAutocorrectionBeforeTypingIfAppropriate):
(WebCore::AlternativeTextController::rootViewRectForRange):
(WebCore::AlternativeTextController::markCorrection):
- editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
(WebCore::dummySpanAncestorForNode):
(WebCore::ApplyStyleCommand::cleanupUnstyledAppleStyleSpans):
(WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
(WebCore::ApplyStyleCommand::applyInlineStyleToNodeRange):
(WebCore::ApplyStyleCommand::removeImplicitlyStyledElement):
(WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):
(WebCore::ApplyStyleCommand::joinChildTextNodes):
- editing/CompositeEditCommand.cpp:
(WebCore::EditCommandComposition::reapply):
(WebCore::EditCommandComposition::getNodesInCommand):
(WebCore::CompositeEditCommand::removeChildrenInRange):
(WebCore::CompositeEditCommand::removeNode):
(WebCore::copyMarkers):
(WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
(WebCore::CompositeEditCommand::deleteInsignificantText):
- editing/DictationCommand.cpp:
(WebCore::DictationMarkerSupplier::addMarkersToTextNode):
(WebCore::DictationCommand::collectDictationAlternativesInRange):
- editing/EditingStyle.cpp:
(WebCore::isEditingProperty):
(WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes):
(WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent):
(WebCore::EditingStyle::mergeInlineAndImplicitStyleOfElement):
(WebCore::styleFromMatchedRulesForElement):
(WebCore::diffTextDecorations):
- editing/Editor.cpp:
(WebCore::Editor::setComposition):
(WebCore::Editor::markAndReplaceFor):
- editing/EditorCommand.cpp:
(WebCore::createCommandMap):
- editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::totalLength):
- editing/MergeIdenticalElementsCommand.cpp:
(WebCore::MergeIdenticalElementsCommand::doApply):
(WebCore::MergeIdenticalElementsCommand::doUnapply):
- editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplacementFragment::removeUnrenderedNodes):
(WebCore::ReplacementFragment::removeInterchangeNodes):
(WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline):
(WebCore::removeHeadContents):
- editing/SpellChecker.cpp:
(WebCore::SpellChecker::~SpellChecker):
(WebCore::SpellChecker::client):
(WebCore::SpellChecker::enqueueRequest):
- editing/SplitElementCommand.cpp:
(WebCore::SplitElementCommand::executeApply):
(WebCore::SplitElementCommand::doApply):
(WebCore::SplitElementCommand::doUnapply):
- editing/TextCheckingHelper.cpp:
(WebCore::TextCheckingHelper::findFirstMisspellingOrBadGrammar):
(WebCore::TextCheckingHelper::guessesForMisspelledOrUngrammaticalRange):
- editing/WrapContentsInDummySpanCommand.cpp:
(WebCore::WrapContentsInDummySpanCommand::executeApply):
(WebCore::WrapContentsInDummySpanCommand::doUnapply):
- editing/ios/EditorIOS.mm:
(WebCore::Editor::createFragmentAndAddResources):
- editing/mac/EditorMac.mm:
(WebCore::Editor::WebContentReader::readFilenames):
(WebCore::Editor::createFragmentAndAddResources):
- editing/markup.cpp:
(WebCore::completeURLs):
- 11:23 PM Changeset in webkit [191552] by
-
- 2 edits in trunk/LayoutTests
[EFL] Unreviewed gardening. some test expectations for media should be Failure.
https://bugs.webkit.org/show_bug.cgi?id=150495
Unreviewed, EFL gardening.
Some test expectations for media should be Failure.
Patch by Sun-woo Nam <sunny.nam@samsung.com> on 2015-10-25
- platform/efl/TestExpectations:
- 9:57 PM Changeset in webkit [191551] by
-
- 17 edits6 adds in trunk
Support bezier paths in clip-path property
https://bugs.webkit.org/show_bug.cgi?id=149996
Reviewed by Darin Adler.
Source/WebCore:
Support path() in the -webkit-clip-path property, as specified in
https://drafts.csswg.org/css-shapes-2/#supported-basic-shapes
Added BasicShapePath and CSSBasicShapePath, which both represent the path
as a SVGPathByteStream and wind rule.
Make BasicShape::canBlend() a virtual function, and implement it on each subclass.
Make various BasicShape subclass function overrides private, other than windRule()
wich is called on derived classes in a few places.
Add SVGPathBlender::canBlendPaths() which returns true if the given paths can be
interpolated. Uses the same logic as blendAnimatedPath(), without doing any interpolation.
RenderElement::createsGroup() is fixed to have clip-path trigger a group,
which fixes rendering of clip-path with a descendant compositing layer.
Tests: compositing/masks/clip-path-composited-descendent.html
css3/masking/clip-path-with-path.html
transitions/clip-path-path-transitions.html
- css/BasicShapeFunctions.cpp:
(WebCore::valueForBasicShape):
(WebCore::basicShapeForValue):
- css/CSSBasicShapes.cpp:
(WebCore::CSSBasicShapePath::CSSBasicShapePath):
(WebCore::CSSBasicShapePath::pathData):
(WebCore::buildPathString):
(WebCore::CSSBasicShapePath::cssText):
(WebCore::CSSBasicShapePath::equals):
- css/CSSBasicShapes.h:
- css/CSSParser.cpp:
(WebCore::CSSParser::parseBasicShapePath):
(WebCore::CSSParser::parseBasicShape):
- css/CSSParser.h:
- rendering/RenderElement.h:
(WebCore::RenderElement::createsGroup):
- rendering/style/BasicShapes.cpp:
(WebCore::BasicShapeCircle::canBlend):
(WebCore::BasicShapeEllipse::canBlend):
(WebCore::BasicShapePolygon::canBlend):
(WebCore::BasicShapePath::BasicShapePath):
(WebCore::BasicShapePath::path):
(WebCore::BasicShapePath::operator==):
(WebCore::BasicShapePath::canBlend):
(WebCore::BasicShapePath::blend):
(WebCore::BasicShapeInset::canBlend):
(WebCore::BasicShape::canBlend): Deleted.
- rendering/style/BasicShapes.h:
- svg/SVGPathBlender.cpp:
(WebCore::SVGPathBlender::addAnimatedPath):
(WebCore::SVGPathBlender::blendAnimatedPath):
(WebCore::SVGPathBlender::canBlendPaths):
(WebCore::SVGPathBlender::SVGPathBlender):
(WebCore::SVGPathBlender::blendMoveToSegment):
(WebCore::SVGPathBlender::blendLineToSegment):
(WebCore::SVGPathBlender::blendLineToHorizontalSegment):
(WebCore::SVGPathBlender::blendLineToVerticalSegment):
(WebCore::SVGPathBlender::blendCurveToCubicSegment):
(WebCore::SVGPathBlender::blendCurveToCubicSmoothSegment):
(WebCore::SVGPathBlender::blendCurveToQuadraticSegment):
(WebCore::SVGPathBlender::blendCurveToQuadraticSmoothSegment):
(WebCore::SVGPathBlender::blendArcToSegment):
- svg/SVGPathBlender.h:
- svg/SVGPathByteStream.h:
(WebCore::SVGPathByteStream::operator==):
- svg/SVGPathUtilities.cpp:
(WebCore::canBlendSVGPathByteStreams):
- svg/SVGPathUtilities.h:
LayoutTests:
Tests for compositing with clip-path and a composited descendant,
a ref test which tests clip-paths with evenodd, comparing to SVG rendering,
and a transition test to test path blendability.
- compositing/masks/clip-path-composited-descendent-expected.txt: Added.
- compositing/masks/clip-path-composited-descendent.html: Added.
- css3/masking/clip-path-with-path-expected.html: Added.
- css3/masking/clip-path-with-path.html: Added.
- transitions/clip-path-path-transitions-expected.txt: Added.
- transitions/clip-path-path-transitions.html: Added.
- transitions/resources/transition-test-helpers.js: Add some basic parsing
support for paths.
(extractPathValues):
(parseClipPath):
- transitions/svg-transitions-expected.txt:
- 12:06 PM Changeset in webkit [191550] by
-
- 2 edits in trunk/Tools
API tests fail on El Capitan after r191543
https://bugs.webkit.org/show_bug.cgi?id=150547
Reviewed by Dan Bernstein.
- Scripts/run-api-tests: (listAllTests): Add appropriate arch arguments in one more place.
- 8:10 AM Changeset in webkit [191549] by
-
- 2 edits in trunk/Source/WebCore
[TexMap] Fix a misused flag for GstGL
https://bugs.webkit.org/show_bug.cgi?id=150545
Reviewed by Žan Doberšek.
- platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp:
(WebCore::MediaPlayerPrivateGStreamerBase::paintToTextureMapper):
We should pass TextureMapperGL::Flags to the TextureMapperGL::drawTexture instead of
BitmapTexture::Flags.
- 2:17 AM Changeset in webkit [191548] by
-
- 2 edits in trunk/Source/WebKit2
Unreviewed. Fix GTK+ build after r191543.
- UIProcess/API/gtk/WebKitWebView.cpp:
(webkit_web_view_run_javascript):
(resourcesStreamReadCallback):
- 12:42 AM Changeset in webkit [191547] by
-
- 3 edits in trunk/Source/WebCore
Use ImplementedAs for MediaDevices.getUserMediaFromJS
https://bugs.webkit.org/show_bug.cgi?id=150439
Reviewed by Darin Adler.
No change in behavior.
- Modules/mediastream/MediaDevices.h: Removing getUserMediaFromJS C++ function.
- Modules/mediastream/MediaDevices.idl: Marking getUserMediaFromJS as ImplementedAS=getUserMedia
- 12:39 AM Changeset in webkit [191546] by
-
- 6 edits7 copies406 adds in trunk/LayoutTests
Import W3C XMLHttpRequest tests
https://bugs.webkit.org/show_bug.cgi?id=142163
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
- resources/ImportExpectations: skipping import of some XHR tests that are failing or timing out.
- web-platform-tests/XMLHttpRequest/FormData-append-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/FormData-append.html: Added.
- web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.html: Added.
- web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.js: Added.
(test_withCredentials.):
(test_withCredentials):
- web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.js: Added.
- web-platform-tests/XMLHttpRequest/abort-after-receive-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-after-receive.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-after-send-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-after-send.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-after-timeout-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-after-timeout.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-during-done-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-during-done.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-during-open-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-during-open.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-during-unsent-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-during-unsent.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-during-upload-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-during-upload.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-event-abort-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-event-abort.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-event-listeners-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-event-listeners.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-event-loadend-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-event-loadend.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-event-order-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-event-order.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-upload-event-abort-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-upload-event-abort.htm: Added.
- web-platform-tests/XMLHttpRequest/abort-upload-event-loadend-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/abort-upload-event-loadend.htm: Added.
- web-platform-tests/XMLHttpRequest/anonymous-mode-unsupported-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/anonymous-mode-unsupported.htm: Added.
- web-platform-tests/XMLHttpRequest/data-uri-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/data-uri.htm: Added.
- web-platform-tests/XMLHttpRequest/event-abort-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-abort.htm: Added.
- web-platform-tests/XMLHttpRequest/event-error-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-error.html: Added.
- web-platform-tests/XMLHttpRequest/event-load-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-load.htm: Added.
- web-platform-tests/XMLHttpRequest/event-loadend-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-loadend.htm: Added.
- web-platform-tests/XMLHttpRequest/event-loadstart-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-loadstart.htm: Added.
- web-platform-tests/XMLHttpRequest/event-progress-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-progress.htm: Added.
- web-platform-tests/XMLHttpRequest/event-readystatechange-loaded-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-readystatechange-loaded.htm: Added.
- web-platform-tests/XMLHttpRequest/event-timeout-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-timeout.htm: Added.
- web-platform-tests/XMLHttpRequest/event-upload-progress-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/event-upload-progress.htm: Added.
- web-platform-tests/XMLHttpRequest/folder.txt: Added.
- web-platform-tests/XMLHttpRequest/formdata-blob-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/formdata-blob.htm: Added.
- web-platform-tests/XMLHttpRequest/formdata-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/formdata.htm: Added.
- web-platform-tests/XMLHttpRequest/getallresponseheaders-cookies-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getallresponseheaders-cookies.htm: Added.
- web-platform-tests/XMLHttpRequest/getallresponseheaders-status-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getallresponseheaders-status.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-case-insensitive-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-case-insensitive.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-chunked-trailer-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-chunked-trailer.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-cookies-and-more-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-cookies-and-more.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-error-state-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-error-state.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-server-date-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-server-date.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-special-characters-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-special-characters.htm: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-unsent-opened-state-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/getresponseheader-unsent-opened-state.htm: Added.
- web-platform-tests/XMLHttpRequest/interfaces-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/interfaces.html: Added.
- web-platform-tests/XMLHttpRequest/open-after-abort-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-after-abort.htm: Added.
- web-platform-tests/XMLHttpRequest/open-after-setrequestheader-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-after-setrequestheader.htm: Added.
- web-platform-tests/XMLHttpRequest/open-during-abort-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-during-abort.htm: Added.
- web-platform-tests/XMLHttpRequest/open-method-bogus-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-method-bogus.htm: Added.
- web-platform-tests/XMLHttpRequest/open-method-case-insensitive-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-method-case-insensitive.htm: Added.
- web-platform-tests/XMLHttpRequest/open-method-case-sensitive-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-method-case-sensitive.htm: Added.
- web-platform-tests/XMLHttpRequest/open-method-insecure-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-method-insecure.htm: Added.
- web-platform-tests/XMLHttpRequest/open-method-responsetype-set-sync-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-method-responsetype-set-sync.htm: Added.
- web-platform-tests/XMLHttpRequest/open-open-send-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-open-send.htm: Added.
- web-platform-tests/XMLHttpRequest/open-open-sync-send-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-open-sync-send.htm: Added.
- web-platform-tests/XMLHttpRequest/open-referer-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-referer.htm: Added.
- web-platform-tests/XMLHttpRequest/open-send-open-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-send-open.htm: Added.
- web-platform-tests/XMLHttpRequest/open-sync-open-send-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-sync-open-send.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-about-blank-window-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-about-blank-window.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-base-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-base-inserted-after-open-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-base-inserted-after-open.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-base-inserted-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-base-inserted.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-base.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-bogus-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-bogus.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-encoding-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-encoding.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-fragment-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-fragment.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-javascript-window-2-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-javascript-window-2.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-javascript-window-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-javascript-window.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-2-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-2.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-3-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-3.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-4-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-4.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-5-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-5.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-multi-window.htm: Added.
- web-platform-tests/XMLHttpRequest/open-url-worker-simple-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-url-worker-simple.htm: Added.
- web-platform-tests/XMLHttpRequest/open-user-password-non-same-origin-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/open-user-password-non-same-origin.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-done-state-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-done-state.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-headers-received-state-force-shiftjis-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-headers-received-state-force-shiftjis.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-invalid-mime-type-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-invalid-mime-type.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-loading-state-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-loading-state.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-open-state-force-utf-8-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-open-state-force-utf-8.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-open-state-force-xml-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-open-state-force-xml.htm: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-unsent-state-force-shiftjis-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/overridemimetype-unsent-state-force-shiftjis.htm: Added.
- web-platform-tests/XMLHttpRequest/progress-events-response-data-gzip-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/progress-events-response-data-gzip.htm: Added.
- web-platform-tests/XMLHttpRequest/readme.txt: Added.
- web-platform-tests/XMLHttpRequest/resources/accept-language.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/accept.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth1/auth.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth1/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/auth2/auth.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth2/corsenabled.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth2/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/auth3/auth.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth3/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/auth4/auth.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth4/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/auth5/auth.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth5/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/auth6/auth.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/auth6/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/authentication.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/chunked.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/conditional.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/content.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/corsenabled.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/delay.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/echo-method.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/folder.txt: Added.
- web-platform-tests/XMLHttpRequest/resources/form.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/gzip.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/headers.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/image.gif: Added.
- web-platform-tests/XMLHttpRequest/resources/img.jpg: Added.
- web-platform-tests/XMLHttpRequest/resources/infinite-redirects.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/init.htm: Added.
- web-platform-tests/XMLHttpRequest/resources/inspect-headers.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/invalid-utf8-html.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/nocors/folder.txt: Added.
- web-platform-tests/XMLHttpRequest/resources/nocors/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/w3c-import.log.
- web-platform-tests/XMLHttpRequest/resources/redirect.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/requri.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/shift-jis-html.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/status.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/trickle.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/upload.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/utf16.txt: Added.
- web-platform-tests/XMLHttpRequest/resources/w3c-import.log: Added.
- web-platform-tests/XMLHttpRequest/resources/well-formed.xml: Added.
- web-platform-tests/XMLHttpRequest/resources/win-1252-xml.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/resources/workerxhr-origin-referrer.js: Added.
(xhr.new.XMLHttpRequest.xhr.onreadystatechange):
(true.xhr.send.xhr2.new.XMLHttpRequest.xhr2.onreadystatechange):
(true.xhr2.send.xhr3.new.XMLHttpRequest.xhr3.onreadystatechange):
- web-platform-tests/XMLHttpRequest/resources/workerxhr-simple.js: Added.
(xhr.new.XMLHttpRequest.xhr.onreadystatechange):
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-aborted.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-abortedonmain.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-overrides.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-overridesexpires.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-runner.js: Added.
(testResultCallbackHandler):
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-synconmain.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-synconworker.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-twice.js: Added.
- web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout.js: Added.
(catch):
(message):
(is):
(ok):
(RequestTracker):
(RequestTracker.prototype.handleEvent):
(RequestTracker.prototype.startXHR):
(RequestTracker.prototype.getMessage):
(AbortedRequest):
(AbortedRequest.prototype.handleEvent):
(AbortedRequest.prototype.abortReq):
(AbortedRequest.prototype.startXHR):
(AbortedRequest.prototype.noEventsFired):
(AbortedRequest.prototype.getMessage):
(SyncRequestSettingTimeoutAfterOpen.startXHR):
(SyncRequestSettingTimeoutBeforeOpen.startXHR):
(TestCounter.testComplete):
(TestCounter.next):
(runTestRequests):
- web-platform-tests/XMLHttpRequest/resources/zlib.py: Added.
(main):
- web-platform-tests/XMLHttpRequest/response-data-arraybuffer-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-data-arraybuffer.htm: Added.
- web-platform-tests/XMLHttpRequest/response-data-blob-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-data-blob.htm: Added.
- web-platform-tests/XMLHttpRequest/response-data-deflate-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-data-deflate.htm: Added.
- web-platform-tests/XMLHttpRequest/response-data-gzip-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-data-gzip.htm: Added.
- web-platform-tests/XMLHttpRequest/response-data-progress-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-data-progress.htm: Added.
- web-platform-tests/XMLHttpRequest/response-invalid-responsetype-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-invalid-responsetype.htm: Added.
- web-platform-tests/XMLHttpRequest/response-json-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-json.htm: Added.
- web-platform-tests/XMLHttpRequest/response-method-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/response-method.htm: Added.
- web-platform-tests/XMLHttpRequest/responseText-status-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responseText-status.html: Added.
- web-platform-tests/XMLHttpRequest/responsetext-decoding-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsetext-decoding.htm: Added.
- web-platform-tests/XMLHttpRequest/responsetype-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsetype.html: Added.
- web-platform-tests/XMLHttpRequest/responsexml-basic-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsexml-basic.htm: Added.
- web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsexml-document-properties.htm: Added.
- web-platform-tests/XMLHttpRequest/responsexml-media-type-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsexml-media-type.htm: Added.
- web-platform-tests/XMLHttpRequest/responsexml-non-document-types-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsexml-non-document-types.htm: Added.
- web-platform-tests/XMLHttpRequest/responsexml-non-well-formed-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/responsexml-non-well-formed.htm: Added.
- web-platform-tests/XMLHttpRequest/security-consideration.sub-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/security-consideration.sub.html: Added.
- web-platform-tests/XMLHttpRequest/send-accept-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-accept-language-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-accept-language.htm: Added.
- web-platform-tests/XMLHttpRequest/send-accept.htm: Added.
- web-platform-tests/XMLHttpRequest/send-authentication-cors-basic-setrequestheader-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-authentication-cors-basic-setrequestheader.htm: Added.
- web-platform-tests/XMLHttpRequest/send-conditional-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-conditional.htm: Added.
- web-platform-tests/XMLHttpRequest/send-content-type-charset-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-content-type-charset.htm: Added.
- web-platform-tests/XMLHttpRequest/send-content-type-string-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-content-type-string.htm: Added.
- web-platform-tests/XMLHttpRequest/send-data-arraybuffer-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-data-arraybuffer.htm: Added.
- web-platform-tests/XMLHttpRequest/send-data-blob-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-data-blob.htm: Added.
- web-platform-tests/XMLHttpRequest/send-data-es-object-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-data-es-object.htm: Added.
- web-platform-tests/XMLHttpRequest/send-data-formdata-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-data-formdata.htm: Added.
- web-platform-tests/XMLHttpRequest/send-data-unexpected-tostring-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-data-unexpected-tostring.htm: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-document-bogus-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-document-bogus.htm: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-document.htm: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-empty-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-empty.htm: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-get-head-async.htm: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-get-head-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-get-head.htm: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-none-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-entity-body-none.htm: Added.
- web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-network-error-sync-events.sub.htm: Added.
- web-platform-tests/XMLHttpRequest/send-no-response-event-loadend-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-no-response-event-loadend.htm: Added.
- web-platform-tests/XMLHttpRequest/send-no-response-event-loadstart-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-no-response-event-loadstart.htm: Added.
- web-platform-tests/XMLHttpRequest/send-no-response-event-order-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-no-response-event-order.htm: Added.
- web-platform-tests/XMLHttpRequest/send-non-same-origin.sub-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-non-same-origin.sub.htm: Added.
- web-platform-tests/XMLHttpRequest/send-receive-utf16-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-receive-utf16.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-bogus-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-bogus-sync-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-bogus-sync.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-bogus.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-infinite-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-infinite-sync-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-infinite-sync.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-infinite.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-no-location-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-no-location.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-to-cors-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-to-cors.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-to-non-cors-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-redirect-to-non-cors.htm: Added.
- web-platform-tests/XMLHttpRequest/send-redirect.htm: Added.
- web-platform-tests/XMLHttpRequest/send-response-event-order-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-response-event-order.htm: Added.
- web-platform-tests/XMLHttpRequest/send-response-upload-event-loadend-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-response-upload-event-loadend.htm: Added.
- web-platform-tests/XMLHttpRequest/send-response-upload-event-loadstart-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-response-upload-event-loadstart.htm: Added.
- web-platform-tests/XMLHttpRequest/send-response-upload-event-progress-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-response-upload-event-progress.htm: Added.
- web-platform-tests/XMLHttpRequest/send-send-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-send.htm: Added.
- web-platform-tests/XMLHttpRequest/send-sync-blocks-async-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-sync-blocks-async.htm: Added.
- web-platform-tests/XMLHttpRequest/send-sync-no-response-event-load-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-sync-no-response-event-load.htm: Added.
- web-platform-tests/XMLHttpRequest/send-sync-no-response-event-loadend-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-sync-no-response-event-loadend.htm: Added.
- web-platform-tests/XMLHttpRequest/send-sync-no-response-event-order-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-sync-no-response-event-order.htm: Added.
- web-platform-tests/XMLHttpRequest/send-sync-response-event-order-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-sync-response-event-order.htm: Added.
- web-platform-tests/XMLHttpRequest/send-sync-timeout-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-sync-timeout.htm: Added.
- web-platform-tests/XMLHttpRequest/send-timeout-events-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-timeout-events.htm: Added.
- web-platform-tests/XMLHttpRequest/send-usp-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/send-usp.html: Added.
- web-platform-tests/XMLHttpRequest/send-usp.js: Added.
(encode):
(do_test.):
- web-platform-tests/XMLHttpRequest/send-usp.worker.js: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-after-send-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-after-send.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-allow-empty-value-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-allow-empty-value.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-allow-whitespace-in-value-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-allow-whitespace-in-value.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-before-open-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-before-open.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-bogus-name.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-case-insensitive-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-case-insensitive.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-content-type-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-content-type.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-header-allowed-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-header-allowed.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-header-forbidden-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-header-forbidden.htm: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-open-setrequestheader-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/setrequestheader-open-setrequestheader.htm: Added.
- web-platform-tests/XMLHttpRequest/status-async-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/status-async.htm: Added.
- web-platform-tests/XMLHttpRequest/status-basic-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/status-basic.htm: Added.
- web-platform-tests/XMLHttpRequest/status-error-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/status-error.htm: Added.
- web-platform-tests/XMLHttpRequest/timeout-cors-async-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/timeout-cors-async.htm: Added.
- web-platform-tests/XMLHttpRequest/timeout-sync-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/timeout-sync.htm: Added.
- web-platform-tests/XMLHttpRequest/w3c-import.log: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-basic-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-basic.htm: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-eventtarget-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-eventtarget.htm: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-network-error-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-network-error-sync-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-network-error-sync.htm: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-network-error.htm: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-aborted.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overrides-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overrides.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-simple-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-simple.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-synconmain-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-synconmain.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-twice-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-twice.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-aborted-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-simple-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-synconworker-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-synconworker.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-twice-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-unsent-expected.txt: Added.
- web-platform-tests/XMLHttpRequest/xmlhttprequest-unsent.htm: Added.
- web-platform-tests/w3c-import.log:
LayoutTests:
- TestExpectations: Marking xhr timeout tests as slow.
- platform/gtk/TestExpectations: Marking some XHR tests as failing.timing out.
Oct 24, 2015:
- 10:59 PM Changeset in webkit [191545] by
-
- 11 edits5 adds in trunk
Add a way to add user style sheets to WKUserContentController
https://bugs.webkit.org/show_bug.cgi?id=150531
<rdar://problem/23191691>
Reviewed by Darin Adler.
- Shared/API/APIObject.h:
- Shared/Cocoa/APIObject.mm:
(API::Object::newObject):
Boilerplate for a new API::UserStyleSheet.
- UIProcess/API/APIUserStyleSheet.cpp: Added.
(API::generateIdentifier):
(API::UserStyleSheet::generateUniqueURL):
- UIProcess/API/APIUserStyleSheet.h: Added.
Added API::UserStyleSheet, borrowing URL generation code from API::UserScript.
- UIProcess/API/Cocoa/WKUserContentController.mm:
(-[WKUserContentController _addUserStyleSheet:]):
(-[WKUserContentController _removeAllUserStyleSheets]):
Forward add and remove-all to WebUserContentControllerProxy.
- UIProcess/API/Cocoa/WKUserContentControllerPrivate.h:
- UIProcess/API/Cocoa/_WKUserStyleSheet.h: Added.
- UIProcess/API/Cocoa/_WKUserStyleSheet.mm: Added.
(toWTFStrings):
(-[_WKUserStyleSheet initWithSource:whitelistedURLPatterns:blacklistedURLPatterns:forMainFrameOnly:]):
(-[_WKUserStyleSheet source]):
(-[_WKUserStyleSheet isForMainFrameOnly]):
(-[_WKUserStyleSheet copyWithZone:]):
(-[_WKUserStyleSheet _apiObject]):
- UIProcess/API/Cocoa/_WKUserStyleSheetInternal.h: Added.
(API::wrapper):
- WebKit2.xcodeproj/project.pbxproj:
Add the new modern API object (as SPI for now).
- TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:
(TEST):
- 10:41 PM Changeset in webkit [191544] by
-
- 3 edits in trunk/Source/WebCore
Remove setApplyDeviceScaleFactorInCompositor
https://bugs.webkit.org/show_bug.cgi?id=150538
Reviewed by Tim Horton.
It was used to support the device scale factor for chromium port and blackberry
port. But it was removed quite a while ago.
- page/Settings.in:
applyDeviceScaleFactorInCompositor: Deleted
- platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
(WebCore::CompositingCoordinator::CompositingCoordinator): Remove uses
of applyDeviceScaleFactorInCompositor.
- 10:37 PM Changeset in webkit [191543] by
-
- 20 edits in trunk
Expose more information about the exception in WKErrorJavaScriptExceptionOccurred errors
https://bugs.webkit.org/show_bug.cgi?id=150525
Reviewed by Darin Adler.
Adjusted API test to cover this: WKWebView.EvaluateJavaScriptErrorCases.
- bindings/js/JSDOMBinding.cpp:
(WebCore::reportException):
- bindings/js/JSDOMBinding.h:
Fill in the given struct with computed exception data if it was given.
- bindings/js/ScriptController.cpp:
(WebCore::ScriptController::evaluateInWorld):
(WebCore::ScriptController::evaluate):
(WebCore::ScriptController::executeScript):
- bindings/js/ScriptController.h:
Plumb aforementioned struct through ScriptController.
- Scripts/webkit/messages.py:
(headers_for_type):
- Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<ExceptionDetails>::encode):
(IPC::ArgumentCoder<ExceptionDetails>::decode):
- Shared/WebCoreArgumentCoders.h:
Learn how to en/decode ExceptionDetails.
- UIProcess/API/C/WKPage.cpp:
(WKPageRunJavaScriptInMainFrame):
- UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::runJavaScriptInMainFrame):
(WebKit::WebPageProxy::scriptValueCallback):
- UIProcess/WebPageProxy.h:
- UIProcess/WebPageProxy.messages.in:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::runJavaScriptInMainFrame):
Plumb ExceptionDetails back through runJavaScriptInMainFrame, across the
process boundary.
- UIProcess/API/Cocoa/WKError.mm:
(localizedDescriptionForErrorCode):
- UIProcess/API/Cocoa/WKErrorInternal.h:
- UIProcess/API/Cocoa/WKErrorPrivate.h:
Expose localizedDescriptionForErrorCode so that WKWebView can do special
things with its error.
Add new private userInfo keys for exception info.
- UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView evaluateJavaScript:completionHandler:]):
Fill in the NSError userInfo with the exception info.
- TestWebKitAPI/Tests/WebKit2Cocoa/WKWebViewEvaluateJavaScript.mm:
(TEST):
Test the various new keys.
- 8:20 PM Changeset in webkit [191542] by
-
- 2 edits in trunk/LayoutTests
Add a test expectation for imported/blink/transitions/unprefixed-perspective.html
https://bugs.webkit.org/show_bug.cgi?id=150541
- 7:23 PM Changeset in webkit [191541] by
-
- 5 edits in trunk/Source/WebCore
[TexMap] Clean up BitmapTexture and BitmapTextureGL.
https://bugs.webkit.org/show_bug.cgi?id=143298
Reviewed by Žan Doberšek.
No new tests, this is just a refactor.
- platform/graphics/texmap/BitmapTexture.h:
(WebCore::BitmapTexture::canReuseWith): Deleted.
Reuseability of a BitmapTexture is only decided by its size.
We can use size() instead of this method.
- platform/graphics/texmap/BitmapTextureGL.h:
(WebCore::driverSupportsExternalTextureBGRA): Deleted.
We do not have to check a suitable texture format in every
update/reset. It is enough to store the formats in construction time
and reuse them.
- 6:33 PM Changeset in webkit [191540] by
-
- 3 edits2 adds in trunk
REGRESSION (r187121): Delayed instantaneous animations not honouring ' forwards' fill-mode
https://bugs.webkit.org/show_bug.cgi?id=150326
Reviewed by Darin Adler.
Source/WebCore:
With a zero-duration, delayed fill-forwards animation, we'd end up trying
to interpolate between the last and first keyframes, and picking the first
because AnimationBase::progress() had a special case for zero duration. Removing
this check fixes the bug.
Test: animations/fill-mode-forwards-zero-duration.html
- page/animation/AnimationBase.cpp:
(WebCore::AnimationBase::progress):
LayoutTests:
Test with a zero-duration, delayed fill-forwards animation.
- animations/fill-mode-forwards-zero-duration-expected.txt: Added.
- animations/fill-mode-forwards-zero-duration.html: Added.
- 5:51 PM Changeset in webkit [191539] by
-
- 2 edits in trunk/Source/WebInspectorUI
Unreviewed, rolling out r191419.
https://bugs.webkit.org/show_bug.cgi?id=150537
Reverted changeset:
"Web Inspector: Autocompletion previews in the CSS sidebar do not apply"
https://bugs.webkit.org/show_bug.cgi?id=147720
http://trac.webkit.org/changeset/191419
- 4:36 PM Changeset in webkit [191538] by
-
- 3 edits in trunk/Tools
check-webkit-style complains about missing operator whitespace inside character literal
https://bugs.webkit.org/show_bug.cgi?id=150396
Reviewed by Darin Adler.
- Scripts/webkitpy/style/checkers/cpp.py: Improve matching of C++ character literal.
- Scripts/webkitpy/style/checkers/cpp_unittest.py:
(WebKitStyleTest.test_spacing): Add a test to verify that the spacing for the character literal 'OS/2' is not tested.
- 2:39 PM Changeset in webkit [191537] by
-
- 5 edits in trunk/Source/JavaScriptCore
Teach create_hash_table to omit builtins macros when generating tables for native-only objects
https://bugs.webkit.org/show_bug.cgi?id=150491
Reviewed by Yusuke Suzuki.
In order to support separate compilation for generated builtins files, we need to be able to
include specific builtins headers from generated .lut.h files. However, the create_hash_table
script isn't smart enough to figure out when a generated file might actually contain a builtin.
Without further help, we'd have to include an all-in-one header, mostly defeating the point of
generating separate .h and .cpp files for every builtin.
This patch segregates the pure native and partially builtin sources in the build system, and
gives hints to create_hash_table so that it doesn't even generate checks for builtins if the
input file has no builtin method implementations. Also do some modernization and code cleanup.
- CMakeLists.txt:
Generate each group with different flags to create_hash_table. Change the macro to take
flags through the variable LUT_GENERATOR_FLAGS. Set this as necessary before calling macro.
Add an additional hint to CMake that the .cpp source file depends on the generated file.
- DerivedSources.make:
Generate each group with different flags to create_hash_table. Clean up the 'all' target
so that static dependencies are listed first. Use static patterns to decide which .lut.h
files require which flags. Reduce fragile usages of implicit variables.
- JavaScriptCore.xcodeproj/project.pbxproj:
Add some missing .lut.h files to the Derived Sources group. Sort the project.
- create_hash_table:
Parse options in a sane way using GetOpt::Long. Remove ability to specify a custom namespace
since this isn't actually used anywhere. Normalize placement of newlines in quoted strings.
Only generate builtins macros and includes if the source file is known to have some builtins.
- 1:04 PM Changeset in webkit [191536] by
-
- 2 edits in trunk/Source/WebKit2
[EFL] Fix a wrong enum variable use
https://bugs.webkit.org/show_bug.cgi?id=150522
Reviewed by Csaba Osztrogonác.
- UIProcess/API/efl/EwkView.cpp:
(EwkView::requestPopupMenu):
Use kWKPopupItemTextDirectionLTR instead of EWK_TEXT_DIRECTION_LEFT_TO_RIGHT.
- 8:57 AM Changeset in webkit [191535] by
-
- 3 edits in trunk/Source/WebKit2
[Cocoa] _WKFormInputSession should provide access to the focused element info
https://bugs.webkit.org/show_bug.cgi?id=150512
Reviewed by Tim Horton.
- UIProcess/API/Cocoa/_WKFormInputSession.h: Added focusedElementInfo property to the protocol.
- UIProcess/ios/WKContentViewInteraction.mm:
(-[WKFormInputSession initWithContentView:focusedElementInfo:userObject:]): Added the
focusedElementInfo argument, used to initialize a new ivar.
(-[WKFormInputSession focusedElementInfo]): Added this getter for the new
_WKFormInputSession property.
(-[WKContentView _startAssistingNode:userIsInteracting:blurPreviousNode:userObject:]):
Create the WKFocusedElementInfo unconditionally and pass it to the new WKFormInputSession
initializer.
- 8:54 AM Changeset in webkit [191534] by
-
- 3 edits in trunk/Source/WebKit2
[iOS] Allow clients to specify a custom input view to be used for a form input session
https://bugs.webkit.org/show_bug.cgi?id=150395
Reviewed by Tim Horton.
- UIProcess/API/Cocoa/_WKFormInputSession.h: Added customInputView property to the protocol.
- UIProcess/ios/WKContentViewInteraction.mm:
(-[WKFormInputSession customInputView]): Added this getter.
(-[WKFormInputSession setCustomInputView:]): Added this setter, which reloads the input
views when the custom input view changes.
(-[WKContentView inputView]): Changed to return the custom view from the input session if
there is one.