haikuwebkit/LayoutTests/js/dom/maplike-expected.txt

4 lines
44 B
Plaintext
Raw Permalink Normal View History

maplike should define a set method https://bugs.webkit.org/show_bug.cgi?id=204877 Reviewed by Chris Dumez. Source/WebCore: maplike implementation was defining an add method instead of a set method. Update implementation to define and use a set method. Add an InternalsMapLike to allow testing. Test: js/dom/maplike.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/highlight/HighlightMap.cpp: (WebCore::HighlightMap::addFromMapLike): * Modules/highlight/HighlightMap.h: * Modules/highlight/HighlightMap.idl: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMMapLike.h: (WebCore::DOMMapLike::set): (WebCore::forwardSetToMapLike): * bindings/scripts/IDLParser.pm: (parseMapLikeProperties): * bindings/scripts/test/JS/JSMapLike.cpp: (WebCore::jsMapLikePrototypeFunctionSetBody): (WebCore::jsMapLikePrototypeFunctionSet): (WebCore::jsMapLikePrototypeFunctionAddBody): Deleted. (WebCore::jsMapLikePrototypeFunctionAdd): Deleted. * testing/Internals.cpp: (WebCore::Internals::createInternalsMapLike): * testing/Internals.h: * testing/Internals.idl: * testing/InternalsMapLike.cpp: Added. * testing/InternalsMapLike.h: Added. * testing/InternalsMapLike.idl: Added. LayoutTests: * highlight/highlight-interfaces-expected.txt: * highlight/highlight-interfaces.html: * js/dom/maplike-expected.txt: Added. * js/dom/maplike.html: Added. Canonical link: https://commits.webkit.org/218109@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-05 17:44:06 +00:00
PASS Basic add/remove/clear functionality
maplike should define a set method https://bugs.webkit.org/show_bug.cgi?id=204877 Reviewed by Chris Dumez. Source/WebCore: maplike implementation was defining an add method instead of a set method. Update implementation to define and use a set method. Add an InternalsMapLike to allow testing. Test: js/dom/maplike.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Modules/highlight/HighlightMap.cpp: (WebCore::HighlightMap::addFromMapLike): * Modules/highlight/HighlightMap.h: * Modules/highlight/HighlightMap.idl: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMMapLike.h: (WebCore::DOMMapLike::set): (WebCore::forwardSetToMapLike): * bindings/scripts/IDLParser.pm: (parseMapLikeProperties): * bindings/scripts/test/JS/JSMapLike.cpp: (WebCore::jsMapLikePrototypeFunctionSetBody): (WebCore::jsMapLikePrototypeFunctionSet): (WebCore::jsMapLikePrototypeFunctionAddBody): Deleted. (WebCore::jsMapLikePrototypeFunctionAdd): Deleted. * testing/Internals.cpp: (WebCore::Internals::createInternalsMapLike): * testing/Internals.h: * testing/Internals.idl: * testing/InternalsMapLike.cpp: Added. * testing/InternalsMapLike.h: Added. * testing/InternalsMapLike.idl: Added. LayoutTests: * highlight/highlight-interfaces-expected.txt: * highlight/highlight-interfaces.html: * js/dom/maplike-expected.txt: Added. * js/dom/maplike.html: Added. Canonical link: https://commits.webkit.org/218109@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-12-05 17:44:06 +00:00