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

Timeline



Feb 12, 2017:

10:49 PM Changeset in webkit [212226] by BJ Burg
  • 2 edits in trunk/Source/WebInspectorUI

Web Inspector: Assertion failed: !this._items.has(item) (at Collection.js:50)
https://bugs.webkit.org/show_bug.cgi?id=168212

Reviewed by Joseph Pecoraro.

When turning on DebugUI, WebKit-internal scripts were being added to the
Collection that is the represented object for the Extra Scripts folder.
This was not balanced out by removing the scripts when DebugUI is turned
off, so switching DebugUI on and off several times hit a multiple-add assertion.

  • UserInterface/Views/ResourceSidebarPanel.js:

(WebInspector.ResourceSidebarPanel.prototype._scriptWasRemoved):
Remove the script from its Collection if applicable.

10:47 PM Changeset in webkit [212225] by Michael Catanzaro
  • 2 edits in trunk/Source/WebKit2

[GTK] Improve documentation of webkit_context_menu_set_user_data()
https://bugs.webkit.org/show_bug.cgi?id=168214

Reviewed by Carlos Garcia Campos.

  • UIProcess/API/gtk/WebKitContextMenu.cpp:
10:41 PM Changeset in webkit [212224] by Michael Catanzaro
  • 3 edits in trunk/Tools

[GTK] Several failing WebViewEditor API tests
https://bugs.webkit.org/show_bug.cgi?id=161608

Reviewed by Carlos Garcia Campos.

Selection.collapse() requires arguments; passing no arguments means the JS that selects the
text range here never gets evaluated. Perhaps there was a DOM API change? Changing it to use
Selection.removeAllRanges(), which seems like a better function anyway, fixes all the tests
except the first one, which is still broken due to unrelated bug #151654.

  • Scripts/run-gtk-tests:

(TestRunner):

  • TestWebKitAPI/Tests/WebKit2Gtk/TestWebViewEditor.cpp:
10:39 PM Changeset in webkit [212223] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.

  • platform/spi/mac/TUCallSPI.h: Reverted to r212210.
10:34 PM Changeset in webkit [212222] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.

  • platform/spi/mac/TUCallSPI.h:
10:21 PM Changeset in webkit [212221] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.

  • platform/spi/mac/TUCallSPI.h:
10:13 PM Changeset in webkit [212220] by mitz@apple.com
  • 6 edits in trunk/Source

Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.

Source/WebCore:

  • platform/spi/mac/NSMenuSPI.h: Replaced declaration of deprecated method with its current equivalent.

Source/WebKit/mac:

  • WebView/WebHTMLView.mm:

(createShareMenuItem): Use non-deprecated method.

Source/WebKit2:

  • UIProcess/mac/WebContextMenuProxyMac.mm:

(WebKit::WebContextMenuProxyMac::createShareMenuItem): Use non-deprecated method.

10:04 PM Changeset in webkit [212219] by mitz@apple.com
  • 2 edits in trunk/Source/WebCore

Tried to fix USE(APPLE_INTERNAL_SDK) builds after r212211.

  • platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h:
8:21 PM Changeset in webkit [212218] by rniwa@webkit.org
  • 5 edits
    6 adds in trunk

parserRemoveChild should unload subframes
https://bugs.webkit.org/show_bug.cgi?id=168151

Reviewed by Darin Adler.

Source/WebCore:

Fix the bug that the adoption agency algorithm does not unload subframes as it disconnects nodes.

Also moved calls to nodeWillBeRemoved inside NoEventDispatchAssertion to expand on r211965.

Tests: fast/parser/adoption-agency-clear-focus-range.html

fast/parser/adoption-agency-unload-iframe-1.html
fast/parser/adoption-agency-unload-iframe-2.html

  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::takeAllChildrenFrom): Rewritten using idioms used in removeChildren and parserAppendChild.

Disconnect all subframes first since this can synchronously dispatch an unload event. Then update DOM ranges,
the focused element, and other states in the document.

Second, use the regular removeBetween, notifyChildNodeRemoved, childrenChanged sequence of calls to disconnect nodes
instead of a single call to removeDetachedChildren to properly disconnect child nodes since those nodes may have
already come live due to execution of synchronous scripts prior to the adoption agency algorithm has run, or in
response to the unload event we just dispatched.

Third, append these nodes using parserAppendChild to avoid dispatching mutation events.

(WebCore::willRemoveChild): Removed the call to nodeWillBeRemoved. It's now called within NoEventDispatchAssertion
in each call site of willRemoveChild and willRemoveChildren.
(WebCore::willRemoveChildren): Ditto.
(WebCore::ContainerNode::removeChild): Call nodeWillBeRemoved inside NoEventDispatchAssertion.
(WebCore::ContainerNode::replaceAllChildren): Call nodeWillBeRemoved inside NoEventDispatchAssertion.
(WebCore::ContainerNode::parserRemoveChild): Disconnect subframes and update document's states.

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::executeTakeAllChildrenAndReparentTask): Add a release assert that new parent does not already have a parent.

LayoutTests:

Add two W3C-style testharness tests for unloading iframes inside the adoption agency algorithm.

Also added a test to make sure ContainerNode::takeAllChildrenFrom adjusts the focused element and DOM ranges.

  • fast/css/stylesheet-candidate-nodes-crash-expected.txt: Rebaselined. The difference comes from the fact

iframe now is unloaded in parserRemoveChild as expected and then reloaded in parserAppendChild inside
insertErrorMessageBlock as opposed to after the parser had completed as if the iframe had never been detached.

  • fast/parser/adoption-agency-clear-focus-range-expected.txt: Added.
  • fast/parser/adoption-agency-clear-focus-range.html: Added.
  • fast/parser/adoption-agency-unload-iframe-1-expected.txt: Added.
  • fast/parser/adoption-agency-unload-iframe-1.html: Added.
  • fast/parser/adoption-agency-unload-iframe-2-expected.txt: Added.
  • fast/parser/adoption-agency-unload-iframe-2.html: Added.
6:42 PM Changeset in webkit [212217] by bshafiei@apple.com
  • 5 edits in tags/Safari-603.1.26.0.1/Source

Versioning.

6:40 PM Changeset in webkit [212216] by bshafiei@apple.com
  • 1 copy in tags/Safari-603.1.26.0.1

New tag.

6:32 PM Changeset in webkit [212215] by bshafiei@apple.com
  • 2 edits in branches/safari-603-branch/Source/JavaScriptCore

Merge r211609. rdar://problem/30479663

6:01 PM Changeset in webkit [212214] by rniwa@webkit.org
  • 3 edits
    2 adds in trunk

REGRESSION (r179497): Crash inside setAttributeNode
https://bugs.webkit.org/show_bug.cgi?id=168161
<rdar://problem/30451581>

Reviewed by Andreas Kling.

Source/WebCore:

The bug was caused by setAttributeNode calling setAttributeInternal with the same element data as the one used
to call removeAttributeInternal despite of the fact removeAttributeInternal could have invoked arbitrary scripts
and mutated element's m_elementData.

Fixed the bug by calling with setAttributeInternal with the result of new invocation of ensureUniqueElementData().

Test: fast/dom/Attr/make-unique-element-data-while-replacing-attr.html

  • dom/Element.cpp:

(WebCore::Element::setAttributeNode):

LayoutTests:

Added a regression test.

  • fast/dom/Attr/make-unique-element-data-while-replacing-attr-expected.txt: Added.
  • fast/dom/Attr/make-unique-element-data-while-replacing-attr.html: Added.
5:59 PM Changeset in webkit [212213] by rniwa@webkit.org
  • 3 edits in trunk/Source/WebCore

Rebaseline bindings tests after r212207.

  • bindings/scripts/test/JS/JSTestObj.cpp:
  • bindings/scripts/test/JS/JSTestOverloadedConstructorsWithSequence.cpp:
5:56 PM Changeset in webkit [212212] by rniwa@webkit.org
  • 2 edits in trunk/Source/JavaScriptCore

C loop build fix attempt after r212207.

  • runtime/Lookup.h:
2:01 PM Changeset in webkit [212211] by mitz@apple.com
  • 39 edits in trunk/Source

[Cocoa] Some -respondsToSelector: checks are unnecessary
https://bugs.webkit.org/show_bug.cgi?id=168183

Reviewed by Tim Horton.

Source/WebCore:

  • English.lproj/Localizable.strings: Removed a string that’s no longer needed after the change to WebKit2/Platform/mac/MenuUtilities.mm.
  • editing/mac/DictionaryLookup.mm:

(WebCore::showPopupOrCreateAnimationController): Removed check whether

LULookupDefinitionModule responds to +showDefinitionForTerm:relativeToRect:ofView:options:.

  • platform/cocoa/NetworkExtensionContentFilter.mm:

(WebCore::NetworkExtensionContentFilter::initialize): Changed to use

-[NEFilterSource setSourceAppIdentifier:], without checking, instead of
-setSourceAppBundleID:, which does not exist.

  • platform/cocoa/ScrollController.mm:

(systemUptime): Deleted.
(WebCore::ScrollController::snapRubberBand): Use -[NSProcessInfo systemUptime] directly.

  • platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm:

(WebCore::MediaPlaybackTargetPickerMac::showPlaybackTargetPicker): Remove unnecessary check.

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer): Ditto.
(WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenMode): Ditto.
(WebCore::MediaPlayerPrivateAVFoundationObjC::didPassCORSAccessCheck): Replaced

-respondsToSelector: check with -isKindOfClass: check corresponding to the above cast.

(WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep): Removed unnecessary

check.

  • platform/graphics/avfoundation/objc/VideoFullscreenLayerManager.mm:

(WebCore::VideoFullscreenLayerManager::setVideoFullscreenLayer): Removed unnecessary checks.

  • platform/graphics/mac/WebGLLayer.mm:

(-[WebGLLayer initWithGraphicsContext3D:]): Ditto.

  • platform/mac/PlatformEventFactoryMac.mm:

(WebCore::typeForEvent): Removed check whether NSMenu responds to +menuTypeForEvent: and

all code to handle that case that it doesn’t.

  • platform/mac/WebVideoFullscreenController.mm:

(-[WebVideoFullscreenController applicationDidResignActive:]): Removed check whether

NSWindow responds to -isOnActiveSpace.

(-[WebVideoFullscreenController updateMenuAndDockForFullscreen]): Removed check whether

NSApplication responds to -setPresentationOptions:

  • platform/mac/WebVideoFullscreenInterfaceMac.mm:

(-[WebVideoFullscreenInterfaceMacObjC updateIsPlaying:newPlaybackRate:]): Removed

unnecessary -respondsToSelector: check.

(-[WebVideoFullscreenInterfaceMacObjC setVideoDimensions:]): Ditto.
(-[WebVideoFullscreenInterfaceMacObjC setUpPIPForVideoView:withFrame:inWindow:]): Ditto.

  • platform/spi/cf/CFNetworkSPI.h: Moved declarations of -[NSURLCache _initWithMemoryCapacity:diskCapacity:relativePath:] and -[NSURLCache _CFURLCache] to the !USE(APPLE_INTERNAL_SDK) section.
  • platform/spi/cocoa/NEFilterSourceSPI.h: Added declaration of NEFilterSource’ sourceAppIdentifier property to the !USE(APPLE_INTERNAL_SDK) section and deleted unconditional declaration of sourceAppBundleID property, which doesn’t exist.
  • platform/spi/cocoa/QuartzCoreSPI.h: Removed redundant declarations.
  • platform/spi/ios/DataDetectorsUISPI.h: Moved declarations of DDDetectionController methods from WebKit2/UIProcess/ios/{WKActionSheetAssistant,WKContentViewInteraction}.mm to here. Removed an unused declaration.
  • platform/spi/mac/LookupSPI.h: Moved redundant declarations into the !USE(APPLE_INTERNAL_SDK) section.
  • platform/spi/mac/NSMenuSPI.h: Changed to import NSMenu_Private.h when using the Apple internal SDK. Cleaned up the declarations for the other case.
  • platform/spi/mac/TUCallSPI.h: Changed to import TUCall_Strings.h when use the Apple internal SDK.

Source/WebKit/mac:

  • WebView/WebFullScreenController.mm:

(-[WebFullScreenController applicationDidResignActive:]): Removed check whether NSWindow

responds to -isOnActiveSpace.

(-[WebFullScreenController exitFullScreen]): Ditto.
(-[WebFullScreenController _updateMenuAndDockForFullScreen]): Removed check whether

NSApplication responds to -setPresentationOptions.

  • WebView/WebHTMLView.mm:

(createShareMenuItem): Removed unnecessary -respondsToSelector: check.
(-[WebHTMLView otherMouseDown:]): Ditto.

  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController _clearImmediateActionState]): Ditto.
(-[WebImmediateActionController _animationControllerForDataDetectedText]): Ditto.

  • WebView/WebView.mm:

(-[WebView _didStartProvisionalLoadForFrame:]): Removed redundant nil check.
(+[WebView _setCacheModel:]): Removed unnecessary -respondsToSelector: check.

Source/WebKit2:

  • Platform/mac/LayerHostingContext.mm:

(WebKit::LayerHostingContext::setColorMatchUntaggedContent): Removed unnecessary

-respondsToSelector: check.

(WebKit::LayerHostingContext::colorMatchUntaggedContent): Ditto.

  • Platform/mac/MenuUtilities.mm:

(WebKit::menuItemTitleForTelephoneNumberGroup): Ditto.

  • Platform/spi/ios/UIKitSPI.h: Moved declaration of -[UIScrollView _isInterruptingDeceleration] from WKWebView.mm to the !USE(APPLE_INTERNAL_SDK) section here.
  • Shared/mac/ChildProcessMac.mm:

(WebKit::ChildProcess::setSharedHTTPCookieStorage): Removed unnecessary -respondsToSelector:

check.

  • Shared/mac/WebEventFactory.mm:

(WebKit::typeForEvent): Ditto.

  • UIProcess/API/Cocoa/WKWebView.mm:

(-[WKWebView _updateVisibleContentRectAfterScrollInView:]): Ditto.

  • UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:

(WebKit::WebPaymentCoordinatorProxy::platformOpenPaymentSetup): Ditto.

  • UIProcess/Cocoa/WebViewImpl.mm:

(WebKit::WebViewImpl::dismissContentRelativeChildWindowsFromViewOnly): Ditto.

  • UIProcess/WKImagePreviewViewController.mm:

(-[WKImagePreviewViewController previewActions]): Removed check whether _WKElementAction

responds to -runActionWithElementInfo:.

  • UIProcess/ios/WKActionSheetAssistant.mm:

(-[WKActionSheetAssistant showDataDetectorsSheet]): Ditto.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _lookup:]): Ditto.
(-[WKContentView _share:]): Ditto.
(-[WKContentView _addShortcut:]): Ditto.
(-[WKContentView _promptForReplace:]): Ditto.
(-[WKContentView _transliterateChinese:]): Ditto.
(-[WKContentView _didHandleKeyEvent:eventWasHandled:]): Removed call to

-[UIKeyboardImpl didHandleWebKeyEvent], which is a no-op.

(-[WKContentView _interpretKeyEvent:isCharEvent:]): Removed unnecessary -respondsToSelector:

check.

(-[WKContentView _dataForPreviewItemController:atPosition:type:]): Ditto.

  • UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm:

(WebKit::TiledCoreAnimationDrawingAreaProxy::createFence): Ditto.

  • UIProcess/mac/WKImmediateActionController.mm:

(-[WKImmediateActionController _animationControllerForDataDetectedText]): Ditto.

  • UIProcess/mac/WebContextMenuProxyMac.mm:

(WebKit::WebContextMenuProxyMac::createShareMenuItem): Ditto.

1:19 PM Changeset in webkit [212210] by Michael Catanzaro
  • 3 edits in trunk/Source/WebKit2

[GTK] Unreviewed, minor documentation improvements

  • UIProcess/API/gtk/WebKitWebView.cpp:

(webkit_web_view_class_init):

  • WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:

(webkit_web_page_class_init):

11:53 AM Changeset in webkit [212209] by Michael Catanzaro
  • 2 edits in trunk/Tools

Unreviewed, skip flaky WebKitPrintOperation/custom-widget test

  • Scripts/run-gtk-tests:

(TestRunner):

11:28 AM Changeset in webkit [212208] by Michael Catanzaro
  • 2 edits in trunk/Tools

Unreviewed, skip flaky form-controls-associated-signal test

  • Scripts/run-gtk-tests:

(TestRunner):

10:29 AM Changeset in webkit [212207] by weinig@apple.com
  • 24 edits
    1 delete in trunk/Source

Remove the remaining functions out of JSDOMBinding
https://bugs.webkit.org/show_bug.cgi?id=168179

Reviewed by Darin Adler.

Move utility functions into more appropriate locations.
Source/JavaScriptCore:

  • Move hasIteratorMethod to IteratorOperations.
  • Move nonCachingStaticFunctionGetter to Lookup
  • runtime/IteratorOperations.cpp:

(JSC::hasIteratorMethod):

  • runtime/IteratorOperations.h:
  • runtime/Lookup.h:

(JSC::nonCachingStaticFunctionGetter):

Source/WebCore:

  • Move hasIteratorMethod to runtime/IteratorOperations.h
  • Move nonCachingStaticFunctionGetter to runtime/Lookup.h
  • Move addImpureProperty to CommonVM

Remove toJS overload that took a Vector<T>. Replace it's usage
with toJS<IDLSequence<T>> usage. To make this work, added two
new types, IDLIDBKeyData and IDLIDBValue.

  • Modules/indexeddb/IDBCursor.cpp:

(WebCore::IDBCursor::setGetResult):

  • Modules/indexeddb/IDBRequest.cpp:

(WebCore::IDBRequest::setResult):
(WebCore::IDBRequest::setResultToStructuredClone):
Adopt JSDOMConvert infrastructure for conversions using new types.

  • bindings/IDLTypes.h:
  • bindings/js/JSDOMConvertIndexedDB.h:

(WebCore::JSConverter<IDLIDBKeyData>::convert):
(WebCore::JSConverter<IDLIDBValue>::convert):
Add new types for IDBKeyData and IDBValue.

  • bindings/js/CommonVM.cpp:

(WebCore::addImpureProperty):

  • bindings/js/CommonVM.h:

Move addImpureProperty here from JSDOMBinding.

  • bindings/js/IDBBindingUtilities.cpp:

(WebCore::idbKeyDataToScriptValue): Deleted.

  • bindings/js/IDBBindingUtilities.h:

Remove unused idbKeyDataToScriptValue, and group like functions
together.

  • bindings/js/JSDOMBinding.cpp: Removed.
  • bindings/js/JSDOMBinding.h:

(WebCore::nonCachingStaticFunctionGetter): Deleted.
(WebCore::toJS): Deleted.
Move/remove functions.

  • bindings/js/JSDOMConvertUnion.h:

Update for move of hasIteratorMethod to runtime/IteratorOperations.h

  • bindings/js/JSDOMWindowCustom.cpp:
  • bindings/js/JSHTMLDocumentCustom.cpp:
  • bindings/js/JSLocationCustom.cpp:

Update for move of nonCachingStaticFunctionGetter to runtime/Lookup.h

  • bindings/js/JSSubtleCryptoCustom.cpp:

Remove unneeded include of runtime/IteratorOperations.h

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateOverloadedFunctionOrConstructor):
Include runtime/IteratorOperations when needing to distinguish a sequence.

  • html/HTMLDocument.cpp:

Replace include of JSDOMBinding.h with CommonVM.h for addImpureProperty.

9:05 AM Changeset in webkit [212206] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[SOUP] Downloads fail when the given destination is not a URI
https://bugs.webkit.org/show_bug.cgi?id=168187

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2017-02-12
Reviewed by Michael Catanzaro.

It always expects a uri, and fails if a local path is given.

Fixes: http/tests/download/anchor-download-no-extension.html

http/tests/download/area-download.html
http/tests/security/anchor-download-allow-data.html
http/tests/security/anchor-download-allow-sameorigin.html

  • NetworkProcess/soup/NetworkDataTaskSoup.cpp:

(WebKit::NetworkDataTaskSoup::download): Use g_file_new_for_path() if the pending destination is a path instead
of a URI.

8:48 AM Changeset in webkit [212205] by Carlos Garcia Campos
  • 11 edits
    1 add in trunk

[GTK] Handle caps lock indicator in event modifiers
https://bugs.webkit.org/show_bug.cgi?id=168186

Reviewed by Michael Catanzaro.

Source/WebCore:

Add helper function to check if caps lock is present in the given modifiers. We need this because in GDK
GDK_LOCK_MASK might be either CapsLock or ShiftLock in X11. We use this new method in all platform event
implementations to add the appropriate modifiers.

Fixes: fast/events/special-key-events-in-input-text.html

  • platform/PlatformKeyboardEvent.h:
  • platform/gtk/PlatformKeyboardEventGtk.cpp:

(WebCore::modifiersForGdkKeyEvent):
(WebCore::PlatformKeyboardEvent::modifiersContainCapsLock):

  • platform/gtk/PlatformMouseEventGtk.cpp:

(WebCore::PlatformMouseEvent::PlatformMouseEvent):

  • platform/gtk/PlatformWheelEventGtk.cpp:

(WebCore::PlatformWheelEvent::PlatformWheelEvent):

Source/WebKit2:

Use PlatformKeyboardEvent::modifiersContainCapsLock() to check if modifiers contain the caps lock and add
Modifiers::CapsLockKey in that case.

  • Shared/gtk/WebEventFactory.cpp:

(WebKit::modifiersForEvent):

  • UIProcess/API/gtk/WebKitPrivate.cpp:

(wkEventModifiersToGdkModifiers):
(toGdkModifiers):

Tools:

  • WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:

(WTR::webkitModifiersToGDKModifiers): Handle kWKEventModifiersCapsLockKey.

LayoutTests:

Add platform specific results for fast/events/special-key-events-in-input-text.html. This patch fixes the caps
lock key case, but we still have different results in the PrintScreen case.

  • platform/gtk/fast/events/special-key-events-in-input-text-expected.txt: Added.
4:04 AM Changeset in webkit [212204] by Carlos Garcia Campos
  • 2 edits
    6 adds in trunk/LayoutTests

Unreviewed GTK+ gardening. Rebaseline some test and update expectations.

  • platform/gtk/TestExpectations:
  • platform/gtk/fast/events/focus-label-legend-elements-with-tab-expected.txt: Added.
  • platform/gtk/fast/events/touch/document-create-touch-expected.txt: Added.
  • platform/gtk/fast/repaint/block-inputrange-repaint-expected.txt: Added.
  • platform/gtk/http/tests/dom/document-attributes-null-handling-expected.txt: Added.
2:21 AM Changeset in webkit [212203] by aestes@apple.com
  • 2 edits in trunk/Source/WebKit2

[iOS] PDF page number indicator can show "0 of n" on short pages
https://bugs.webkit.org/show_bug.cgi?id=168185

Reviewed by Tim Horton.

When viewing a PDF with a last page that is shorter than the frame height, it's possible
(thanks to rubber-banding) to scroll down until the page no longer intersects the rect we
use to determine the center page. When this happens, the page number indicator displays
"0 of n".

Fix this by handling cases where the first page starts below the center page rect or the
last page ends above it.

  • UIProcess/ios/WKPDFView.mm:

(-[WKPDFView _revalidateViews]):

Feb 11, 2017:

9:17 PM Changeset in webkit [212202] by commit-queue@webkit.org
  • 196 edits
    22 copies
    12 moves
    292 adds
    15 deletes in trunk/LayoutTests

Refresh WPT tests up to 06c6c52e05e05483d3c844168a417ee27a554eb7
https://bugs.webkit.org/show_bug.cgi?id=168175

Patch by Youenn Fablet <youennf@gmail.com> on 2017-02-11
Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

  • resources/TestRepositories:
  • resources/import-expectations.json:
  • resources/resource-files.json:
  • web-platform-tests/IndexedDB/OWNERS:
  • web-platform-tests/IndexedDB/bindings-inject-key-expected.txt: Added.
  • web-platform-tests/IndexedDB/bindings-inject-key.html: Added.
  • web-platform-tests/IndexedDB/clone-before-keypath-eval-expected.txt: Added.
  • web-platform-tests/IndexedDB/clone-before-keypath-eval.html: Added.
  • web-platform-tests/IndexedDB/delete-request-queue-expected.txt: Added.
  • web-platform-tests/IndexedDB/delete-request-queue.html: Added.
  • web-platform-tests/IndexedDB/error-attributes-expected.txt: Added.
  • web-platform-tests/IndexedDB/error-attributes.html: Added.
  • web-platform-tests/IndexedDB/idb-binary-key-detached-expected.txt: Added.
  • web-platform-tests/IndexedDB/idb-binary-key-detached.htm: Added.
  • web-platform-tests/IndexedDB/idb-binary-key-roundtrip-expected.txt: Added.
  • web-platform-tests/IndexedDB/idb-binary-key-roundtrip.htm: Added.
  • web-platform-tests/IndexedDB/idbcursor-advance-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbcursor-advance-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbcursor-continue-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbcursor-continue-exception-order.htm: Added.
  • web-platform-tests/IndexedDB/idbcursor-continuePrimaryKey-exceptions-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbcursor-continuePrimaryKey-exceptions.htm: Added.
  • web-platform-tests/IndexedDB/idbcursor-continuePrimaryKey-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbcursor-continuePrimaryKey.htm: Added.
  • web-platform-tests/IndexedDB/idbcursor-delete-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbcursor-delete-exception-order.htm: Added.
  • web-platform-tests/IndexedDB/idbcursor-update-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbcursor-update-exception-order.htm: Added.
  • web-platform-tests/IndexedDB/idbdatabase-createObjectStore-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbdatabase-createObjectStore-exception-order.htm: Added.
  • web-platform-tests/IndexedDB/idbdatabase-deleteObjectStore-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbdatabase-deleteObjectStore-exception-order.htm: Added.
  • web-platform-tests/IndexedDB/idbdatabase-transaction-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbdatabase-transaction-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbindex-getAll-enforcerange-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbindex-getAll-enforcerange.html: Added.
  • web-platform-tests/IndexedDB/idbindex-getAllKeys-enforcerange-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbindex-getAllKeys-enforcerange.html: Added.
  • web-platform-tests/IndexedDB/idbindex-query-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbindex-query-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbkeyrange-includes-expected.txt:
  • web-platform-tests/IndexedDB/idbkeyrange-includes.htm:
  • web-platform-tests/IndexedDB/idbobjectstore-add-put-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-add-put-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-clear-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-clear-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-delete-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-delete-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-deleteIndex-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-deleteIndex-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-getAll-enforcerange-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-getAll-enforcerange.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-getAllKeys-enforcerange-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-getAllKeys-enforcerange.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-query-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore-query-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbobjectstore_getKey-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbobjectstore_getKey.html: Added.
  • web-platform-tests/IndexedDB/idbrequest-onupgradeneeded-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbrequest-onupgradeneeded.htm: Added.
  • web-platform-tests/IndexedDB/idbtransaction-objectStore-exception-order-expected.txt: Added.
  • web-platform-tests/IndexedDB/idbtransaction-objectStore-exception-order.html: Added.
  • web-platform-tests/IndexedDB/idbversionchangeevent.htm:
  • web-platform-tests/IndexedDB/key-conversion-exceptions-expected.txt: Added.
  • web-platform-tests/IndexedDB/key-conversion-exceptions.htm: Added.
  • web-platform-tests/IndexedDB/keypath-exceptions-expected.txt: Added.
  • web-platform-tests/IndexedDB/keypath-exceptions.htm: Added.
  • web-platform-tests/IndexedDB/keypath-special-identifiers-expected.txt: Added.
  • web-platform-tests/IndexedDB/keypath-special-identifiers.htm: Added.
  • web-platform-tests/IndexedDB/open-request-queue-expected.txt: Added.
  • web-platform-tests/IndexedDB/open-request-queue.html: Added.
  • web-platform-tests/IndexedDB/support.js:

(auto_fail):
(createdb_for_multiple_tests):
(assert_key_equals):
(indexeddb_test):

  • web-platform-tests/IndexedDB/w3c-import.log:
  • web-platform-tests/README.md:
  • web-platform-tests/XMLHttpRequest/abort-during-done.htm:
  • web-platform-tests/XMLHttpRequest/historical-expected.txt: Added.
  • web-platform-tests/XMLHttpRequest/historical.html: Added.
  • web-platform-tests/XMLHttpRequest/resources/corsenabled.py:

(main):

  • web-platform-tests/XMLHttpRequest/response-method-expected.txt:
  • web-platform-tests/XMLHttpRequest/responsexml-document-properties-expected.txt:
  • web-platform-tests/XMLHttpRequest/send-entity-body-document-expected.txt:
  • web-platform-tests/XMLHttpRequest/send-redirect-post-upload-expected.txt:
  • web-platform-tests/XMLHttpRequest/send-redirect-to-cors.htm:
  • web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value-expected.txt:
  • web-platform-tests/XMLHttpRequest/setrequestheader-bogus-value.htm:
  • web-platform-tests/XMLHttpRequest/w3c-import.log:
  • web-platform-tests/check_stability.py:

(do_delayed_imports):
(setup_logging):
(setup_action_filter.as):
(setup_action_filter.LogActionFilter):
(setup_action_filter.LogActionFilter.init):
(setup_action_filter.LogActionFilter.call):
(TravisFold):
(TravisFold.init):
(TravisFold.enter):
(TravisFold.exit):
(FilteredIO):
(FilteredIO.init):
(FilteredIO.getattr):
(FilteredIO.disable):
(FilteredIO.write):
(replace_streams):
(replace_streams.on_write):
(Browser):
(Browser.install):
(Browser.install_webdriver):
(Browser.version):
(Browser.wptrunner_args):
(Firefox):
(Firefox.install):
(Firefox._latest_geckodriver_version):
(Firefox.install_webdriver):
(Firefox.version):
(Firefox.wptrunner_args):
(Chrome):
(Chrome.install):
(Chrome.install_webdriver):
(Chrome.version):
(Chrome.wptrunner_args):
(get):
(call):
(get_git_cmd):
(seekable):
(untar):
(unzip):
(pwd):
(fetch_wpt_master):
(get_sha1):
(build_manifest):
(install_wptrunner):
(get_files_changed):
(get_affected_testfiles):
(wptrunner_args):
(setup_log_handler.as):
(setup_log_handler.LogHandler):
(is_inconsistent):
(err_string):
(process_results):
(format_comment_title):
(markdown_adjust):
(table):
(write_inconsistent):
(write_results):
(get_parser):
(main):

  • web-platform-tests/ci_built_diff.sh:
  • web-platform-tests/ci_stability.sh:
  • web-platform-tests/common/OWNERS:
  • web-platform-tests/custom-elements/reactions/DOMTokenList-expected.txt:
  • web-platform-tests/custom-elements/reactions/DOMTokenList.html:
  • web-platform-tests/dom/events/EventListener-invoke-legacy-expected.txt: Added.
  • web-platform-tests/dom/events/EventListener-invoke-legacy.html: Added.
  • web-platform-tests/dom/events/w3c-import.log:
  • web-platform-tests/dom/lists/DOMTokenList-iteration-expected.txt:
  • web-platform-tests/dom/lists/DOMTokenList-iteration.html:
  • web-platform-tests/dom/nodes/DOMImplementation-createDocument-expected.txt:
  • web-platform-tests/dom/nodes/DOMImplementation-createDocument.html:
  • web-platform-tests/dom/nodes/Document-createElementNS-expected.txt:
  • web-platform-tests/dom/nodes/Document-createElementNS.html:
  • web-platform-tests/dom/nodes/Document-createElementNS.js:
  • web-platform-tests/dom/nodes/Node-isSameNode-expected.txt:
  • web-platform-tests/dom/nodes/Node-isSameNode.html:
  • web-platform-tests/dom/nodes/NodeList-Iterable-expected.txt:
  • web-platform-tests/dom/nodes/NodeList-Iterable.html:
  • web-platform-tests/dom/ranges/Range-selectNode-expected.txt:
  • web-platform-tests/dom/ranges/Range-selectNode.html:
  • web-platform-tests/encrypted-media/content/video_512x288_h264-360k_multikey_key1_dashinit.mp4: Added.
  • web-platform-tests/fetch/api/cors/cors-preflight.js:

(corsPreflight):

  • web-platform-tests/fetch/api/headers/header-values-expected.txt: Added.
  • web-platform-tests/fetch/api/headers/header-values-normalize-expected.txt: Added.
  • web-platform-tests/fetch/api/headers/header-values-normalize.html: Added.
  • web-platform-tests/fetch/api/headers/header-values.html: Added.
  • web-platform-tests/fetch/api/headers/w3c-import.log:
  • web-platform-tests/fetch/api/policies/referrer-origin-expected.txt:
  • web-platform-tests/fetch/api/policies/referrer-origin-worker-expected.txt:
  • web-platform-tests/fetch/api/policies/referrer-origin.js:

(promise_test):

  • web-platform-tests/fetch/api/request/request-cache-default-conditional-expected.txt:
  • web-platform-tests/fetch/api/request/request-cache-default-conditional.html:
  • web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt:
  • web-platform-tests/fetch/api/request/request-disturbed-expected.txt:
  • web-platform-tests/fetch/api/request/request-disturbed.html:
  • web-platform-tests/fetch/api/request/request-error-expected.txt:
  • web-platform-tests/fetch/api/request/request-error.html:
  • web-platform-tests/fetch/api/request/request-idl-expected.txt:
  • web-platform-tests/fetch/api/request/request-idl.html:
  • web-platform-tests/fetch/api/request/request-init-001.sub-expected.txt:
  • web-platform-tests/fetch/api/request/request-init-001.sub.html:
  • web-platform-tests/fetch/api/resources/preflight.py:

(main):

  • web-platform-tests/fetch/api/response/response-idl-expected.txt:
  • web-platform-tests/fetch/api/response/response-idl.html:
  • web-platform-tests/fonts/OWNERS: Added.
  • web-platform-tests/fonts/w3c-import.log:
  • web-platform-tests/hr-time/idlharness-expected.txt:
  • web-platform-tests/hr-time/idlharness.html:
  • web-platform-tests/hr-time/w3c-import.log:
  • web-platform-tests/hr-time/window-worker-time-origin-expected.txt: Added.
  • web-platform-tests/hr-time/window-worker-time-origin.html: Added.
  • web-platform-tests/html/OWNERS:
  • web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name-0.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html:
  • web-platform-tests/html/browsers/browsing-the-web/history-traversal/same-url-expected.txt: Added.
  • web-platform-tests/html/browsers/browsing-the-web/history-traversal/same-url.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/history-traversal/w3c-import.log:
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-form-submit-1.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-form-submit-2.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-form-submit-expected.txt: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-form-submit.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment-1.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment-2.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment-expected.txt: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin-fragment.html: Added.
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_same_origin-expected.txt:
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/navigation_unload_same_origin.html:
  • web-platform-tests/html/browsers/browsing-the-web/navigating-across-documents/w3c-import.log:
  • web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-image-expected.txt:
  • web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-image.html:
  • web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-video.html:
  • web-platform-tests/html/browsers/browsing-the-web/scroll-to-fragid/w3c-import.log:
  • web-platform-tests/html/browsers/browsing-the-web/unloading-documents/prompt/w3c-import.log:
  • web-platform-tests/html/browsers/browsing-the-web/unloading-documents/unload/w3c-import.log:
  • web-platform-tests/html/browsers/browsing-the-web/unloading-documents/w3c-import.log:
  • web-platform-tests/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-expected.txt:
  • web-platform-tests/html/browsers/offline/browser-state/navigator_online_online-expected.txt:
  • web-platform-tests/html/browsers/origin/cross-origin-objects/frame.html:
  • web-platform-tests/html/browsers/windows/browsing-context-names/w3c-import.log:
  • web-platform-tests/html/browsers/windows/nested-browsing-contexts/frameElement.sub-expected.txt:
  • web-platform-tests/html/browsers/windows/nested-browsing-contexts/w3c-import.log:
  • web-platform-tests/html/browsers/windows/targeting-cross-origin-nested-browsing-contexts.sub-expected.txt:
  • web-platform-tests/html/dom/dynamic-markup-insertion/document-write/empty.html: Added.
  • web-platform-tests/html/dom/dynamic-markup-insertion/document-write/w3c-import.log:
  • web-platform-tests/html/dom/dynamic-markup-insertion/document-write/write-active-document-expected.txt: Added.
  • web-platform-tests/html/dom/dynamic-markup-insertion/document-write/write-active-document.html: Added.
  • web-platform-tests/html/dom/dynamic-markup-insertion/opening-the-input-stream/010-expected.txt:
  • web-platform-tests/html/dom/elements-forms.js:
  • web-platform-tests/html/dom/elements-misc.js:
  • web-platform-tests/html/dom/interfaces-expected.txt:
  • web-platform-tests/html/dom/interfaces.html:
  • web-platform-tests/html/dom/reflection-misc-expected.txt:
  • web-platform-tests/html/semantics/embedded-content/image-maps/contains.json:
  • web-platform-tests/html/semantics/embedded-content/the-area-element/area-download-click-expected.txt: Added.
  • web-platform-tests/html/semantics/embedded-content/the-area-element/area-download-click.html: Added.
  • web-platform-tests/html/semantics/embedded-content/the-area-element/w3c-import.log:
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html:
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob.jpeg-expected.txt:
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob.jpeg.html:
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob.png-expected.txt:
  • web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob.png.html:
  • web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-synchronously-discard-expected.txt: Added.
  • web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-synchronously-discard.html: Added.
  • web-platform-tests/html/semantics/embedded-content/the-iframe-element/w3c-import.log:
  • web-platform-tests/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change-expected.txt:
  • web-platform-tests/html/semantics/embedded-content/the-img-element/not-rendered-dimension-getter-expected.txt: Added.
  • web-platform-tests/html/semantics/embedded-content/the-img-element/not-rendered-dimension-getter.html: Added.
  • web-platform-tests/html/semantics/embedded-content/the-img-element/w3c-import.log:
  • web-platform-tests/html/semantics/forms/constraints/form-validation-validity-valid.html:
  • web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
  • web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate.html:
  • web-platform-tests/html/semantics/forms/form-control-infrastructure/form-expected.txt:
  • web-platform-tests/html/semantics/forms/form-control-infrastructure/form.html:
  • web-platform-tests/html/semantics/forms/form-submission-0/form-data-set-usv-expected.txt: Added.
  • web-platform-tests/html/semantics/forms/form-submission-0/form-data-set-usv-form.html: Added.
  • web-platform-tests/html/semantics/forms/form-submission-0/form-data-set-usv.html: Added.
  • web-platform-tests/html/semantics/forms/form-submission-0/form-echo.py: Added.

(main):

  • web-platform-tests/html/semantics/forms/form-submission-0/url-encoded-expected.txt:
  • web-platform-tests/html/semantics/forms/form-submission-0/w3c-import.log:
  • web-platform-tests/html/semantics/forms/resetting-a-form/reset-form-event-realm-expected.txt: Added.
  • web-platform-tests/html/semantics/forms/resetting-a-form/reset-form-event-realm-support.html: Added.
  • web-platform-tests/html/semantics/forms/resetting-a-form/reset-form-event-realm.html: Added.
  • web-platform-tests/html/semantics/forms/resetting-a-form/w3c-import.log:
  • web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-textarea-expected.txt:
  • web-platform-tests/html/semantics/forms/textfieldselection/selection-not-application-textarea.html:
  • web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt:
  • web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html:
  • web-platform-tests/html/semantics/forms/the-button-element/button-menu-historical-expected.txt: Added.
  • web-platform-tests/html/semantics/forms/the-button-element/button-menu-historical.html: Added.
  • web-platform-tests/html/semantics/forms/the-button-element/w3c-import.log:
  • web-platform-tests/html/semantics/forms/the-fieldset-element/disabled-001.html:
  • web-platform-tests/html/semantics/forms/the-input-element/date-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/date.html:
  • web-platform-tests/html/semantics/forms/the-input-element/datetime-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/datetime.html:
  • web-platform-tests/html/semantics/forms/the-input-element/number-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/number.html:
  • web-platform-tests/html/semantics/forms/the-input-element/range-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/range.html:
  • web-platform-tests/html/semantics/forms/the-input-element/selection-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/selection.html:
  • web-platform-tests/html/semantics/forms/the-input-element/time-2-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/time-2.html:
  • web-platform-tests/html/semantics/forms/the-input-element/time-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/time.html:
  • web-platform-tests/html/semantics/forms/the-input-element/week-expected.txt:
  • web-platform-tests/html/semantics/forms/the-input-element/week.html:
  • web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu-expected.html: Added.
  • web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-menu.html: Added.
  • web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes-expected.html: Added.
  • web-platform-tests/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-skip-no-boxes.html: Added.
  • web-platform-tests/html/semantics/grouping-content/the-li-element/w3c-import.log:
  • web-platform-tests/html/semantics/links/linktypes/alternate-import.css: Added.

(body):

  • web-platform-tests/html/semantics/links/linktypes/alternate.css:

(@import url("alternate-import.css");):

  • web-platform-tests/html/semantics/links/linktypes/w3c-import.log:
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-reflect-expected.txt: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-reflect.html: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-async-classic-script-expected.txt: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-async-classic-script.html: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-external-module-script-expected.txt: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-external-module-script.html: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-inline-classic-scripts-expected.txt: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-inline-classic-scripts.html: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-inline-module-script-expected.txt: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-inline-module-script.html: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-synchronously-loaded-classic-scripts-expected.txt: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/nomodule-set-on-synchronously-loaded-classic-scripts.html: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/resources/cocoa-module.js: Added.

(export.default.Cocoa.prototype.taste):
(export.default.Cocoa):

  • web-platform-tests/html/semantics/scripting-1/the-script-element/resources/exports-cocoa.js: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/resources/set-script-executed.js: Added.
  • web-platform-tests/html/semantics/scripting-1/the-script-element/resources/w3c-import.log:
  • web-platform-tests/html/semantics/scripting-1/the-script-element/w3c-import.log:
  • web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods-expected.txt:
  • web-platform-tests/html/semantics/tabular-data/the-table-element/caption-methods.html:
  • web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click-expected.txt: Added.
  • web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html: Added.
  • web-platform-tests/html/semantics/text-level-semantics/the-a-element/w3c-import.log:
  • web-platform-tests/html/syntax/OWNERS: Added.
  • web-platform-tests/html/syntax/w3c-import.log:
  • web-platform-tests/html/webappapis/scripting/events/body-exposed-window-event-handlers-expected.txt: Added.
  • web-platform-tests/html/webappapis/scripting/events/body-exposed-window-event-handlers.html: Added.
  • web-platform-tests/html/webappapis/scripting/events/eventhandler-cancellation-expected.txt: Added.
  • web-platform-tests/html/webappapis/scripting/events/eventhandler-cancellation.html: Added.
  • web-platform-tests/html/webappapis/scripting/events/w3c-import.log:
  • web-platform-tests/images/OWNERS:
  • web-platform-tests/lint.whitelist:
  • web-platform-tests/media-source/mediasource-duration-expected.txt:
  • web-platform-tests/resource-timing/resource-timing-expected.txt:
  • web-platform-tests/shadow-dom/HTMLSlotElement-interface-expected.txt:
  • web-platform-tests/shadow-dom/HTMLSlotElement-interface.html:
  • web-platform-tests/shadow-dom/event-inside-slotted-node-expected.txt:
  • web-platform-tests/shadow-dom/event-inside-slotted-node.html:
  • web-platform-tests/shadow-dom/event-with-related-target-expected.txt:
  • web-platform-tests/shadow-dom/event-with-related-target.html:
  • web-platform-tests/streams/OWNERS:
  • web-platform-tests/streams/README.md: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy-expected.txt:
  • web-platform-tests/streams/byte-length-queuing-strategy.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy.dedicatedworker.html: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy.html: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy.https-expected.txt: Removed.
  • web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https.html.
  • web-platform-tests/streams/byte-length-queuing-strategy.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/byte-length-queuing-strategy.sharedworker.html: Added.
  • web-platform-tests/streams/count-queuing-strategy-expected.txt:
  • web-platform-tests/streams/count-queuing-strategy.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/count-queuing-strategy.dedicatedworker.html: Added.
  • web-platform-tests/streams/count-queuing-strategy.html: Added.
  • web-platform-tests/streams/count-queuing-strategy.https-expected.txt: Removed.
  • web-platform-tests/streams/count-queuing-strategy.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/count-queuing-strategy.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.https.html.
  • web-platform-tests/streams/count-queuing-strategy.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/count-queuing-strategy.sharedworker.html: Added.
  • web-platform-tests/streams/generate-test-wrappers.js: Added.

(const.arg.of.process.argv.slice):
(generateWrapper):

  • web-platform-tests/streams/piping/close-propagation-backward-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-backward.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-backward.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/close-propagation-backward.html: Added.
  • web-platform-tests/streams/piping/close-propagation-backward.js: Added.

(promise_test):
(promise_test.t.const.rs.recordingReadableStream.cancel):
(promise_test.t.string_appeared_here.then):
(string_appeared_here.promise_test):
(Symbol):
(promise_test.t.then):

  • web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-backward.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.https.html.
  • web-platform-tests/streams/piping/close-propagation-backward.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-backward.sharedworker.html: Added.
  • web-platform-tests/streams/piping/close-propagation-forward-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-forward.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-forward.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/close-propagation-forward.html: Added.
  • web-platform-tests/streams/piping/close-propagation-forward.js: Added.

(promise_test):
(promise_test.t.const.rs.recordingReadableStream.start):
(promise_test.t.const.ws.recordingWritableStream.close):
(promise_test.t.string_appeared_here.then):
(string_appeared_here.promise_test):
(Symbol):
(promise_test.t.return.pipePromise.then):
(promise_test.t.setTimeout):

  • web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-forward.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.https.html.
  • web-platform-tests/streams/piping/close-propagation-forward.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/close-propagation-forward.sharedworker.html: Added.
  • web-platform-tests/streams/piping/error-propagation-backward-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-backward.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-backward.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/error-propagation-backward.html: Added.
  • web-platform-tests/streams/piping/error-propagation-backward.js: Added.

(promise_test.t.const.ws.recordingWritableStream.start):
(promise_test.t.string_appeared_here.then):
(promise_test.t.const.ws.recordingWritableStream.write):
(promise_test.t.const.rs.recordingReadableStream.cancel):
(string_appeared_here.promise_test.t.const.ws.recordingWritableStream.write):
(string_appeared_here.promise_test.t.string_appeared_here.then):
(Symbol):
(promise_test.t.const.rs.recordingReadableStream.start):
(promise_test.t.return.pipePromise.then):
(promise_test):
(promise_test.t.then):
(promise_test.t.return.writeCalledPromise.then):

  • web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-backward.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.https.html.
  • web-platform-tests/streams/piping/error-propagation-backward.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-backward.sharedworker.html: Added.
  • web-platform-tests/streams/piping/error-propagation-forward-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-forward.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-forward.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/error-propagation-forward.html: Added.
  • web-platform-tests/streams/piping/error-propagation-forward.js: Added.

(promise_test.t.const.rs.recordingReadableStream.start):
(promise_test.t.string_appeared_here.then):
(promise_test.t.const.ws.recordingWritableStream.abort):
(string_appeared_here.promise_test.t.const.rs.recordingReadableStream.start):
(string_appeared_here.promise_test.t.string_appeared_here.then):
(Symbol):
(promise_test.t.return.pipePromise.then):
(promise_test.t.setTimeout):
(promise_test.t.const.ws.recordingWritableStream.write):
(promise_test.t.rs.pipeTo.ws.then):
(promise_test.t.return.writeCalledPromise.then):
(promise_test.t.then):

  • web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-forward.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https.html.
  • web-platform-tests/streams/piping/error-propagation-forward.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/error-propagation-forward.sharedworker.html: Added.
  • web-platform-tests/streams/piping/flow-control-expected.txt: Added.
  • web-platform-tests/streams/piping/flow-control.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/flow-control.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/flow-control.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.https.html.
  • web-platform-tests/streams/piping/flow-control.js: Added.

(promise_test.t.const.rs.recordingReadableStream.start):
(promise_test.t.return.flushAsyncEvents.then):
(promise_test.t.string_appeared_here.then):
(promise_test):
(promise_test.const.rs.recordingReadableStream.):

  • web-platform-tests/streams/piping/flow-control.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/flow-control.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/piping/flow-control.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/flow-control.sharedworker.html: Added.
  • web-platform-tests/streams/piping/general-expected.txt: Added.
  • web-platform-tests/streams/piping/general.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/general.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/general.html: Added.
  • web-platform-tests/streams/piping/general.js: Added.

(test):
(promise_test):
(promise_test.t.rs.pipeTo.ws.then):
(false.promise_test.t.const.rs.new.ReadableStream.pull):
(false.promise_test.t.return.rs.pipeTo.new.WritableStream):
(false.promise_test.t.const.ws.new.WritableStream.write):

  • web-platform-tests/streams/piping/general.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/general.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/piping/general.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/general.sharedworker.html: Added.
  • web-platform-tests/streams/piping/multiple-propagation-expected.txt: Added.
  • web-platform-tests/streams/piping/multiple-propagation.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/multiple-propagation.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/multiple-propagation.html: Added.
  • web-platform-tests/streams/piping/multiple-propagation.js: Added.

(promise_test.t.const.rs.recordingReadableStream.start):
(promise_test.t.const.ws.recordingWritableStream.start):
(promise_test.t.string_appeared_here.then):
(promise_test):

  • web-platform-tests/streams/piping/multiple-propagation.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/multiple-propagation.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/piping/multiple-propagation.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/multiple-propagation.sharedworker.html: Added.
  • web-platform-tests/streams/piping/pipe-through-expected.txt: Added.
  • web-platform-tests/streams/piping/pipe-through.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/pipe-through.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/pipe-through.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.https.html.
  • web-platform-tests/streams/piping/pipe-through.js: Added.

(duckTypedPassThroughTransform):
(promise_test):
(promise_test.t.const.transform.writable.new.WritableStream.start):
(test):

  • web-platform-tests/streams/piping/pipe-through.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/pipe-through.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/piping/pipe-through.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/pipe-through.sharedworker.html: Added.
  • web-platform-tests/streams/piping/transform-streams-expected.txt: Added.
  • web-platform-tests/streams/piping/transform-streams.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/transform-streams.dedicatedworker.html: Added.
  • web-platform-tests/streams/piping/transform-streams.html: Added.
  • web-platform-tests/streams/piping/transform-streams.js: Added.

(promise_test):

  • web-platform-tests/streams/piping/transform-streams.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/piping/transform-streams.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/piping/transform-streams.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/piping/transform-streams.sharedworker.html: Added.
  • web-platform-tests/streams/piping/w3c-import.log: Added.
  • web-platform-tests/streams/readable-byte-streams/general-expected.txt: Added.
  • web-platform-tests/streams/readable-byte-streams/general.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-byte-streams/general.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-byte-streams/general.html: Added.
  • web-platform-tests/streams/readable-byte-streams/general.js: Added.

(test):
(promise_test):
(promise_test.t.const.stream.new.ReadableStream.start):
(promise_test.t.return.reader.closed.then):
(promise_test.t.string_appeared_here.then):
(extractViewInfo):
(promise_test.t.const.stream.new.ReadableStream.cancel):
(promise_test.t.pump):
(promise_test.t.const.stream.new.ReadableStream.pull):

  • web-platform-tests/streams/readable-byte-streams/general.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-byte-streams/general.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-byte-streams/general.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-byte-streams/general.sharedworker.html: Added.
  • web-platform-tests/streams/readable-byte-streams/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/w3c-import.log.
  • web-platform-tests/streams/readable-streams/bad-strategies-expected.txt:
  • web-platform-tests/streams/readable-streams/bad-strategies.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/bad-strategies.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/bad-strategies.html: Added.
  • web-platform-tests/streams/readable-streams/bad-strategies.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/bad-strategies.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/bad-strategies.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/bad-strategies.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources-expected.txt:
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.html: Added.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.js:

(promise_test.t.const.rs.new.ReadableStream.pull):
(promise_test.t.return.Promise.resolve.then):

  • web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/count-queuing-strategy.https.html.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/bad-underlying-sources.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/brand-checks-expected.txt:
  • web-platform-tests/streams/readable-streams/brand-checks.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/brand-checks.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/brand-checks.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/brand-checks.https.html.
  • web-platform-tests/streams/readable-streams/brand-checks.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/brand-checks.serviceworker.https.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/readable-stream-reader.https.html.
  • web-platform-tests/streams/readable-streams/brand-checks.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/brand-checks.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/cancel-expected.txt:
  • web-platform-tests/streams/readable-streams/cancel.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/cancel.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/cancel.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/cancel.https.html.
  • web-platform-tests/streams/readable-streams/cancel.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/cancel.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/cancel.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/cancel.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/cancel.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration-expected.txt:
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.html: Added.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.https.html: Removed.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/count-queuing-strategy-integration.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/garbage-collection-expected.txt:
  • web-platform-tests/streams/readable-streams/garbage-collection.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/garbage-collection.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/garbage-collection.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.https.html.
  • web-platform-tests/streams/readable-streams/garbage-collection.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/garbage-collection.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/garbage-collection.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/garbage-collection.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/general-expected.txt:
  • web-platform-tests/streams/readable-streams/general.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/general.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/general.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.https.html.
  • web-platform-tests/streams/readable-streams/general.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/general.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/general.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/general.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/general.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/pipe-through-expected.txt:
  • web-platform-tests/streams/readable-streams/pipe-through.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/pipe-through.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/pipe-through.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/pipe-through.https.html.
  • web-platform-tests/streams/readable-streams/pipe-through.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/pipe-through.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/pipe-through.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/pipe-through.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/readable-stream-reader-expected.txt:
  • web-platform-tests/streams/readable-streams/readable-stream-reader.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.html: Added.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-underlying-sources.https.html.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/readable-stream-reader.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/tee-expected.txt:
  • web-platform-tests/streams/readable-streams/tee.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/tee.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/tee.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/tee.https.html.
  • web-platform-tests/streams/readable-streams/tee.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/tee.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/tee.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/tee.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/tee.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/templated-expected.txt:
  • web-platform-tests/streams/readable-streams/templated.dedicatedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/templated.dedicatedworker.html: Added.
  • web-platform-tests/streams/readable-streams/templated.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/templated.https.html.
  • web-platform-tests/streams/readable-streams/templated.https-expected.txt: Removed.
  • web-platform-tests/streams/readable-streams/templated.serviceworker.https-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/templated.serviceworker.https.html: Copied from LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/bad-strategies.https.html.
  • web-platform-tests/streams/readable-streams/templated.sharedworker-expected.txt: Added.
  • web-platform-tests/streams/readable-streams/templated.sharedworker.html: Added.
  • web-platform-tests/streams/readable-streams/w3c-import.log:
  • web-platform-tests/streams/resources/recording-streams.js: Added.

(self.recordingReadableStream):
(self.recordingWritableStream):

  • web-platform-tests/streams/resources/rs-test-templates.js:

(self.templatedRSEmpty):
(self.templatedRSClosed):
(self.templatedRSErrored):
(self.templatedRSErroredSyncOnly):
(self.templatedRSEmptyReader):
(self.templatedRSClosedReader):
(self.templatedRSErroredReader):
(self.templatedRSTwoChunksOpenReader):
(self.templatedRSTwoChunksClosedReader):

  • web-platform-tests/streams/resources/test-initializer.js: Removed.
  • web-platform-tests/streams/resources/test-utils.js:

(self.methodRejects):

  • web-platform-tests/streams/resources/w3c-import.log:
  • web-platform-tests/streams/w3c-import.log:
  • web-platform-tests/test_keys_wdspec.html: Added.
  • web-platform-tests/url/a-element-expected.txt:
  • web-platform-tests/url/a-element-origin-xhtml.xhtml:
  • web-platform-tests/url/a-element-origin.html:
  • web-platform-tests/url/a-element-xhtml-expected.txt:
  • web-platform-tests/url/a-element-xhtml.xhtml:
  • web-platform-tests/url/a-element.html:
  • web-platform-tests/url/interfaces-expected.txt:
  • web-platform-tests/url/setters_tests.json:
  • web-platform-tests/url/url-constructor-expected.txt:
  • web-platform-tests/url/url-setters-expected.txt:
  • web-platform-tests/url/url-tojson-expected.txt:
  • web-platform-tests/url/urltestdata.json:
  • web-platform-tests/url/w3c-import.log:
  • web-platform-tests/user-timing/resources/webperftestharness.js:

(has_required_interfaces):

  • web-platform-tests/user-timing/test_user_timing_clear_marks.html:
  • web-platform-tests/user-timing/test_user_timing_clear_measures.html:
  • web-platform-tests/user-timing/test_user_timing_mark.html:
  • web-platform-tests/user-timing/test_user_timing_mark_exceptions.html:
  • web-platform-tests/user-timing/test_user_timing_measure.html:
  • web-platform-tests/user-timing/test_user_timing_measure_exceptions.html:
  • web-platform-tests/user-timing/test_user_timing_measure_navigation_timing-expected.txt:
  • web-platform-tests/user-timing/test_user_timing_measure_navigation_timing.html:
  • web-platform-tests/w3c-import.log:
  • web-platform-tests/webrtc/datachannel-emptystring-expected.txt:
  • web-platform-tests/webrtc/no-media-call-expected.txt:
  • web-platform-tests/webrtc/promises-call-expected.txt:

LayoutTests:

8:59 PM Changeset in webkit [212201] by weinig@apple.com
  • 11 edits
    1 delete in trunk

Remove custom bindings for XSLTProcessor.idl
https://bugs.webkit.org/show_bug.cgi?id=168174

Reviewed by Andreas Kling.

Source/WebCore:

  • CMakeLists.txt:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSBindingsAllInOne.cpp:
  • bindings/js/JSXSLTProcessorCustom.cpp: Removed.

Remove file.

  • bindings/js/JSDOMBinding.cpp:

(WebCore::jsStringOrUndefined): Deleted.

  • bindings/js/JSDOMBinding.h:

Remove now unused jsStringOrUndefined.

  • xml/XSLTProcessor.cpp:

(WebCore::XSLTProcessor::setParameter):
(WebCore::XSLTProcessor::getParameter):
(WebCore::XSLTProcessor::removeParameter):

  • xml/XSLTProcessor.idl:

Replace custom bindings bindings with early returns. One subtle difference
between the custom bindings and this, is that getParameter will return
jsNull() rather than jsUndefined() for null String returns. This matches
all other bindings.

LayoutTests:

  • fast/xsl/xslt-processor-expected.txt:
  • fast/xsl/xslt-processor.html:

Update test / results for subtle new no-result behavior.

8:14 PM Changeset in webkit [212200] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[GStreamer][MSE][EME] Fix decryptor assignment
https://bugs.webkit.org/show_bug.cgi?id=168122

Patch by Olivier Blin <Olivier Blin> on 2017-02-11
Reviewed by Michael Catanzaro.

The new decryptor is a floating reference so we should not use the
adopt GRefPtr constructor, but use the regular assignment operator
that will sink the object (clear the floating flag).

This fixes assertions in debug build.

See previous pipeline fix in r210851 and WPE commit
06020b18831e1c0eead34e2c1a5a4b7d026c227d.

  • platform/graphics/gstreamer/mse/AppendPipeline.cpp:

(WebCore::AppendPipeline::parseDemuxerSrcPadCaps):
Do not use adoptGRef(), it prevented the object from being sunk.

8:11 PM Changeset in webkit [212199] by akling@apple.com
  • 2 edits in trunk/LayoutTests

LayoutTest fast/scrolling/page-cache-back-overflow-scroll-restore.html is a flaky failure
<https://webkit.org/b/168084>

Reviewed by Michael Catanzaro.

Wait for a scroll event before triggering a navigation. This removes the flakiness.
Also use element.scrollTop to scroll the overflow:scroll element instead of eventSender.

  • fast/scrolling/page-cache-back-overflow-scroll-restore.html:
8:10 PM Changeset in webkit [212198] by achristensen@apple.com
  • 2 edits in trunk/Source/WebKit2

Fix crashes after [NSURLSession invalidateAndCancel]
https://bugs.webkit.org/show_bug.cgi?id=168181
<rdar://problem/29813868>

Reviewed by Brady Eidson.

When we call NetworkSessionCocoa::invalidateAndCancel, we intend for the session to immediately
become invalid and stop doing things. [NSURLSession invalidateAndCancel] asynchronously cancels
everything and then calls the delegate's didBecomeInvalidWithError, so before this change there
is a time when we have torn down the session with SessionTracker::destroySession but we can still
get a delegate callback which assumes the session and its NetworkStorageSession exists. If we
get any delegate callbacks after a NetworkSession has been invalidated, we will want to ignore them.

  • NetworkProcess/cocoa/NetworkSessionCocoa.mm:

(-[WKNetworkSessionDelegate sessionInvalidated]):
(-[WKNetworkSessionDelegate URLSession:didBecomeInvalidWithError:]):
(-[WKNetworkSessionDelegate URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:]):
(-[WKNetworkSessionDelegate URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:]):
(-[WKNetworkSessionDelegate URLSession:task:_schemeUpgraded:completionHandler:]):
(-[WKNetworkSessionDelegate URLSession:task:didReceiveChallenge:completionHandler:]):
(-[WKNetworkSessionDelegate URLSession:task:didCompleteWithError:]):
(-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
(-[WKNetworkSessionDelegate URLSession:dataTask:didReceiveData:]):
(-[WKNetworkSessionDelegate URLSession:downloadTask:didFinishDownloadingToURL:]):
(-[WKNetworkSessionDelegate URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:]):
(-[WKNetworkSessionDelegate URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:]):
(-[WKNetworkSessionDelegate URLSession:dataTask:didBecomeDownloadTask:]):
The pointer to the NetworkSessionCocoa can now be null. We need to check it.
(WebKit::NetworkSessionCocoa::invalidateAndCancel):
Synchronously remove the connection between the delegates and the NetworkSessionCocoa.

7:18 PM Changeset in webkit [212197] by Simon Fraser
  • 3 edits in trunk/Source/WebCore

Avoid a redundant scroll to 0,0 when navigating back to a url with no fragment
https://bugs.webkit.org/show_bug.cgi?id=168177

Reviewed by Sam Weinig.

FrameView::scrollToFragment() is called from FrameLoader::scrollToFragmentWithParentBoundary()
when navigating within the page. If the URL had no fragment identifier, this code would
call into FrameView::scrollToAnchor() with an empty name, where maintainScrollPositionAtAnchor()
used the document as the anchor, thus scrolling to 0,0. Later, history().restoreScrollPositionAndViewState()
the restores the scroll position from history.

This scroll to 0,0 happened to be not visible to the page because of scroll event
coalescing, but it makes implementation of history.scrollRestoration harder, so avoid it
by just returning early from FrameView::scrollToFragment() if there is no fragment,
making sure to clear the document's CSSTarget.

  • dom/Document.cpp:

(WebCore::Document::setCSSTarget):

  • page/FrameView.cpp:

(WebCore::FrameView::scrollToFragment):
(WebCore::FrameView::scrollToAnchor):

2:12 PM Changeset in webkit [212196] by Yusuke Suzuki
  • 7 edits
    1 add in trunk

[JSC] Implement (Shared)ArrayBuffer.prototype.byteLength
https://bugs.webkit.org/show_bug.cgi?id=166476

Reviewed by Saam Barati.

JSTests:

  • ChakraCore/test/typedarray/arraybufferType.baseline-jsc:
  • stress/array-buffer-byte-length.js: Added.

(shouldBe):
(shouldThrow):
(Symbol):

  • stress/reflect-set.js:

Source/JavaScriptCore:

byteLength becomes getter and is set in ArrayBuffer.prototype
and SharedArrayBuffer.prototype. This patch implements the
above getter in native function. We do not have any optimization
path for that for now since ArrayBuffer.prototype.byteLength is
not considered a hot function: while TypedArrays have [] accesses,
ArrayBuffer does not have that. Thus byteLength getter is not so
meaningful for a hot paths like iterations.

  • runtime/JSArrayBuffer.cpp:

(JSC::JSArrayBuffer::getOwnPropertySlot): Deleted.
(JSC::JSArrayBuffer::put): Deleted.
(JSC::JSArrayBuffer::defineOwnProperty): Deleted.
(JSC::JSArrayBuffer::deleteProperty): Deleted.
(JSC::JSArrayBuffer::getOwnNonIndexPropertyNames): Deleted.

  • runtime/JSArrayBuffer.h:

(JSC::JSArrayBuffer::impl): Deleted.

  • runtime/JSArrayBufferPrototype.cpp:

(JSC::arrayBufferProtoGetterFuncByteLength):
(JSC::sharedArrayBufferProtoGetterFuncByteLength):
(JSC::JSArrayBufferPrototype::finishCreation):

2:12 PM Changeset in webkit [212195] by Simon Fraser
  • 2 edits in trunk/Tools

MiniBrowser WK1 fails to update URL for within-page navigations
https://bugs.webkit.org/show_bug.cgi?id=168173

Reviewed by Tim Horton.

Implement -webView:didChangeLocationWithinPageForFrame: so that clicking on named
anchors updates the URL field.

  • MiniBrowser/mac/WK1BrowserWindowController.m:

(-[WK1BrowserWindowController webView:didChangeLocationWithinPageForFrame:]):

9:07 AM Changeset in webkit [212194] by Carlos Garcia Campos
  • 2 edits in trunk/LayoutTests

Unreviewed GTK+ gardening. Mark resource load stats tests as crashing.

  • platform/gtk/TestExpectations:
7:14 AM Changeset in webkit [212193] by Chris Dumez
  • 12 edits
    4 adds
    1 delete in trunk

Implement URL's toJSON()
https://bugs.webkit.org/show_bug.cgi?id=167979

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Re-sync URL tests from upstream to gain test coverage for
URL's toJSON().

  • web-platform-tests/url/interfaces-expected.txt:
  • web-platform-tests/url/interfaces.html:
  • web-platform-tests/url/url-tojson-expected.txt: Added.
  • web-platform-tests/url/url-tojson.html: Added.
  • web-platform-tests/url/w3c-import.log:

Source/WebCore:

Implement URL's toJSON() as per:

This is already supported by Firefox.

Also, drop URLUtils.idl as it is no longer in the specification.
Merge its content to DOMURL.idl as per the URL specification.

Finally, mark href attribute as stringifier and drop the toString()
operation to match the specification. This fixes a bug where our
toString property was not enumerable but should have been.

Tests: fast/url/url-tojson.html

imported/w3c/web-platform-tests/url/url-tojson.html

  • CMakeLists.txt:
  • DerivedSources.make:
  • WebCore.xcodeproj/project.pbxproj:
  • html/DOMURL.idl:
  • html/URLUtils.h:

(WebCore::URLUtils<T>::toJSON):

  • html/URLUtils.idl: Removed.

LayoutTests:

Extend test coverage.

  • fast/url/url-tojson-expected.txt: Added.
  • fast/url/url-tojson.html: Added.
6:29 AM Changeset in webkit [212192] by Carlos Garcia Campos
  • 5 edits in trunk/Source/WebCore

[GTK][EFL] Implement MIMETypeRegistry::getPreferredExtensionForMIMEType
https://bugs.webkit.org/show_bug.cgi?id=168163

Reviewed by Michael Catanzaro.

It's missing causing several HTML anchor download tests to fail because the suggested filename missed the
extension. This patch moves MIMETypeRegistry::appendFileExtensionIfNecessary() from the cocoa specific file to the
common file because it's not actually platform specific. MIMETypeRegistry::getPreferredExtensionForMIMEType() is
what platforms should implement.

Fixes: fast/dom/HTMLAnchorElement/anchor-download-user-triggered-synthetic-click.html

fast/dom/HTMLAnchorElement/anchor-download.html
fast/dom/HTMLAnchorElement/anchor-file-blob-download-no-extension.html
fast/dom/HTMLAnchorElement/anchor-nodownload-set.html

  • platform/MIMETypeRegistry.cpp:

(WebCore::MIMETypeRegistry::appendFileExtensionIfNecessary):

  • platform/cocoa/MIMETypeRegistryCocoa.mm:

(WebCore::MIMETypeRegistry::appendFileExtensionIfNecessary): Deleted.

  • platform/efl/MIMETypeRegistryEfl.cpp:

(WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):

  • platform/gtk/MIMETypeRegistryGtk.cpp:

(WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):

6:03 AM Changeset in webkit [212191] by Carlos Garcia Campos
  • 2 edits in trunk/LayoutTests

Unreviewed GTK+ gardening. Update several tests expected to timeout that are failing now.

  • platform/gtk/TestExpectations:
5:46 AM Changeset in webkit [212190] by Carlos Garcia Campos
  • 2 edits in trunk/LayoutTests

Unreviewed GTK+ gardening. Updated expectations of several WebCryptoAPI tests that are failing.

  • platform/gtk/TestExpectations:
4:17 AM Changeset in webkit [212189] by Carlos Garcia Campos
  • 2 edits in trunk/LayoutTests

Unreviewed GTK+ gardening. Mark tests using drag and drop as crashing in Wayland.

  • platform/gtk-wayland/TestExpectations:
4:02 AM Changeset in webkit [212188] by Carlos Garcia Campos
  • 26 edits
    10 adds in trunk/LayoutTests

Unreviewed GTK+ gardening. Rebaseline several tests.

  • platform/gtk/fast/css/font_property_normal-expected.png:
  • platform/gtk/fast/css/font_property_normal-expected.txt:
  • platform/gtk/fast/dynamic/text-combine-expected.png:
  • platform/gtk/fast/dynamic/text-combine-expected.txt:
  • platform/gtk/fast/forms/select-empty-option-height-expected.png:
  • platform/gtk/fast/forms/select-empty-option-height-expected.txt:
  • platform/gtk/fast/forms/select-writing-direction-natural-expected.png:
  • platform/gtk/fast/forms/select-writing-direction-natural-expected.txt:
  • platform/gtk/fast/forms/validation-message-appearance-expected.png:
  • platform/gtk/fast/forms/validation-message-appearance-expected.txt:
  • platform/gtk/fast/images/icon-decoding-expected.png:
  • platform/gtk/fast/images/icon-decoding-expected.txt: Added.
  • platform/gtk/fast/inline/continuation-outlines-with-layers-expected.png:
  • platform/gtk/fast/inline/continuation-outlines-with-layers-expected.txt:
  • platform/gtk/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.txt:
  • platform/gtk/fast/layers/video-layer-expected.png:
  • platform/gtk/fast/layers/video-layer-expected.txt:
  • platform/gtk/fast/repaint/4776765-expected.txt: Added.
  • platform/gtk/fast/repaint/focus-ring-repaint-expected.txt: Added.
  • platform/gtk/fast/repaint/zoomed-fixed-background-expected.txt: Added.
  • platform/gtk/fast/scrolling/page-cache-back-overflow-scroll-restore-expected.txt: Added.
  • platform/gtk/http/tests/plugins/plugin-javascript-access-expected.txt:
  • platform/gtk/http/tests/security/contentSecurityPolicy/sandbox-empty-in-http-header-inherited-by-subframe-expected.txt: Added.
  • platform/gtk/inspector/css/get-system-fonts-expected.txt:
  • platform/gtk/plugins/plugin-javascript-access-expected.txt:
  • platform/gtk/svg/W3C-SVG-1.1/text-align-06-b-expected.png:
  • platform/gtk/svg/W3C-SVG-1.1/text-align-06-b-expected.txt: Added.
  • platform/gtk/svg/batik/text/verticalText-expected.png:
  • platform/gtk/svg/batik/text/verticalText-expected.txt: Added.
  • platform/gtk/svg/batik/text/verticalTextOnPath-expected.png:
  • platform/gtk/svg/batik/text/verticalTextOnPath-expected.txt: Added.
  • platform/gtk/svg/text/text-align-06-b-expected.png:
  • platform/gtk/svg/text/text-align-06-b-expected.txt: Added.
  • platform/gtk/tables/mozilla/bugs/bug4427-expected.png:
  • platform/gtk/tables/mozilla/bugs/bug4427-expected.txt:
4:00 AM Changeset in webkit [212187] by Carlos Garcia Campos
  • 1 edit
    4 deletes in trunk/LayoutTests

Unreviewed GTK+ gardening. Remove more platform specific results.

  • platform/gtk/fast/media/w3c/test_media_queries-expected.txt: Removed.
  • platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt: Removed.
  • platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt: Removed.
  • platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt: Removed.
3:05 AM Changeset in webkit [212186] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebCore

Unreviewed. Update imageTitle translatable string.

To match mac port. Fixes fast/images/imageDocument-title.html.

  • platform/gtk/LocalizedStringsGtk.cpp:

(WebCore::imageTitle):

2:38 AM Changeset in webkit [212185] by Carlos Garcia Campos
  • 2 edits
    1 add
    1 delete in trunk/LayoutTests

Unreviewed GTK+ gardening. Update platform specific results for fast/css-generated-content/malformed-url.html and fast/events/mouse-cursor-image-set.html

Remove platform specific results of fast/css-generated-content/malformed-url.html and add platform specific
results for fast/events/mouse-cursor-image-set.html, because this test fails only for the missing scale due to
MOUSE_CURSOR_SCALE not implemented in GTK+ port.

  • platform/gtk/TestExpectations:
  • platform/gtk/fast/css-generated-content/malformed-url-expected.txt: Removed.
  • platform/gtk/fast/events/mouse-cursor-image-set-expected.txt: Added.
Note: See TracTimeline for information about the timeline view.