This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
js
/
dom
/
maplike-expected.txt
4 lines
44 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
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
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +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