1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00
serenity/Userland/Libraries/LibWeb/DOM
Shannon Booth 1812221a2d LibWeb: Add FlyString versions of NamedNodeMap::get_attribute_ns
This is the API for NamedNodeMap which we are wanting to eventually use
instead of taking a StringView. Currently we just end up deferring to
the StringView versions of these functions, but at some stage in the
future, this will allow us to have O(1) comparison when making attribute
lookups.

In the meantime, the advantage of this API is that it makes it much less
awkward to use than the StringView variant when you have an
Optional<FlyString> namespace to pass through.
2023-11-06 11:37:08 +01:00
..
AbortController.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
AbortController.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
AbortController.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
AbortSignal.cpp LibWeb: Use JS::HeapFunction for AbortSignal callback 2023-09-25 21:14:53 +02:00
AbortSignal.h LibWeb: Use JS::HeapFunction for AbortSignal callback 2023-09-25 21:14:53 +02:00
AbortSignal.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
AbstractRange.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
AbstractRange.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
AbstractRange.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
AccessibilityTreeNode.cpp LibWeb: Rename DOM::Node::id() to unique_id() 2023-11-02 17:09:34 +01:00
AccessibilityTreeNode.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Attr.cpp AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
Attr.h AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
Attr.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
CDATASection.cpp LibWeb: Port Text interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
CDATASection.h LibWeb: Port Node interface from DeprecatedString to String 2023-09-17 20:29:18 +02:00
CDATASection.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
CharacterData.cpp LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
CharacterData.h LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
CharacterData.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
ChildNode.h LibWeb: Remove DeprecatedString support from {Child,Parent}Node 2023-10-06 08:25:40 +02:00
ChildNode.idl LibWeb: Resolve circular IDL imports 2022-07-30 13:20:47 +02:00
Comment.cpp LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
Comment.h LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
Comment.idl LibWeb: Port Comment interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
CustomEvent.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
CustomEvent.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
CustomEvent.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Document.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Document.h LibWeb: Pass DOM namespace strings as FlyString in more places 2023-11-04 21:28:30 +01:00
Document.idl LibWeb: Port Document interface from DeprecatedString to String 2023-09-16 11:17:19 +02:00
DocumentFragment.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
DocumentFragment.h LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
DocumentFragment.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
DocumentLoadEventDelayer.cpp LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
DocumentLoadEventDelayer.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
DocumentLoading.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
DocumentLoading.h LibWeb: Add XMLHttpRequest Document response type 2023-09-14 22:58:42 +02:00
DocumentObserver.cpp LibWeb: Use JS::HeapFunction for DocumentObserver callbacks 2023-09-27 19:39:57 +02:00
DocumentObserver.h LibWeb: Use JS::HeapFunction for DocumentObserver callbacks 2023-09-27 19:39:57 +02:00
DocumentType.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
DocumentType.h LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
DocumentType.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
DOMEventListener.cpp LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects 2023-04-30 06:04:33 +02:00
DOMEventListener.h LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects 2023-04-30 06:04:33 +02:00
DOMImplementation.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
DOMImplementation.h LibWeb: Port DOMImplementation from DeprecatedString to String 2023-08-27 05:34:54 +02:00
DOMImplementation.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
DOMTokenList.cpp LibWeb: Add a non-DeprecatedString version of Element::get_attribute 2023-10-03 09:41:20 +02:00
DOMTokenList.h LibWeb: Port DOMTokenList from DeprecatedString to String 2023-08-27 05:34:54 +02:00
DOMTokenList.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Element.cpp LibWeb: Expose NamedNodeMap::append_attribute in Element 2023-11-05 11:16:16 +00:00
Element.h LibWeb: Expose NamedNodeMap::append_attribute in Element 2023-11-05 11:16:16 +00:00
Element.idl LibWeb: Port Element interface from DeprecatedString 2023-10-06 08:25:40 +02:00
ElementFactory.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
ElementFactory.h LibWeb: Use FlyString for create_element() namespace strings 2023-11-04 21:28:30 +01:00
Event.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Event.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Event.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
EventDispatcher.cpp LibWeb: Ensure DOM events on slottables are properly propagated 2023-09-13 13:45:47 +02:00
EventDispatcher.h LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
EventHandler.idl LibWeb: Implement WindowEventHandlers 2022-06-29 21:21:50 +01:00
EventTarget.cpp LibWeb: Do not pass JS::Handle into NativeFunction callback captures 2023-09-26 21:25:54 +02:00
EventTarget.h LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
EventTarget.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
HTMLCollection.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
HTMLCollection.h LibWeb: Port named_item_value from DeprecatedFlyString 2023-10-08 08:11:48 -04:00
HTMLCollection.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
HTMLFormControlsCollection.cpp LibWeb: Rename Element::attribute to Element::deprecated_attribute 2023-09-05 20:36:09 -04:00
HTMLFormControlsCollection.h LibWeb: Implement HTMLFormControlsCollection 2023-08-20 11:04:03 +02:00
HTMLFormControlsCollection.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
IDLEventListener.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
IDLEventListener.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
InnerHTML.idl LibWeb: Resolve circular IDL imports 2022-07-30 13:20:47 +02:00
LiveNodeList.cpp LibWeb: Implement LiveNodeList::first_matching 2023-08-26 13:51:18 +02:00
LiveNodeList.h LibWeb: Implement LiveNodeList::first_matching 2023-08-26 13:51:18 +02:00
MutationObserver.cpp LibWeb: Do not use JS::Handle for mutation observers 2023-09-27 16:33:21 +02:00
MutationObserver.h LibWeb: Port MutationObserver interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
MutationObserver.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
MutationRecord.cpp LibWeb: Port MutationRecord from DeprecatedString to String 2023-09-09 10:47:12 -06:00
MutationRecord.h LibWeb: Port MutationRecord from DeprecatedString to String 2023-09-09 10:47:12 -06:00
MutationRecord.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
MutationType.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
MutationType.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
NamedNodeMap.cpp LibWeb: Add FlyString versions of NamedNodeMap::get_attribute_ns 2023-11-06 11:37:08 +01:00
NamedNodeMap.h LibWeb: Add FlyString versions of NamedNodeMap::get_attribute_ns 2023-11-06 11:37:08 +01:00
NamedNodeMap.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Node.cpp LibWeb: Use FlyString for create_element() namespace strings 2023-11-04 21:28:30 +01:00
Node.h LibWeb: Rename DOM::Node::id() to unique_id() 2023-11-02 17:09:34 +01:00
Node.idl LibWeb: Port Node interface from DeprecatedString to String 2023-09-17 20:29:18 +02:00
NodeFilter.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
NodeFilter.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
NodeFilter.idl LibWeb: Expose NodeFilter on the Window object 2022-10-28 16:17:08 +01:00
NodeIterator.cpp LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
NodeIterator.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
NodeIterator.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
NodeList.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
NodeList.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
NodeList.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
NodeOperations.cpp LibWeb: Remove DeprecatedString support from {Child,Parent}Node 2023-10-06 08:25:40 +02:00
NodeOperations.h LibWeb: Remove DeprecatedString support from {Child,Parent}Node 2023-10-06 08:25:40 +02:00
NonDocumentTypeChildNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
NonElementParentNode.h LibWeb: Use Element::id() in getElementById() 2023-11-02 17:09:34 +01:00
ParentNode.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
ParentNode.h LibWeb: Remove DeprecatedString support from {Child,Parent}Node 2023-10-06 08:25:40 +02:00
ParentNode.idl LibWeb: Resolve circular IDL imports 2022-07-30 13:20:47 +02:00
Position.cpp LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
Position.h LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
ProcessingInstruction.cpp LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
ProcessingInstruction.h LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
ProcessingInstruction.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
QualifiedName.cpp LibWeb: Use FlyString for create_element() prefix strings 2023-11-04 21:28:30 +01:00
QualifiedName.h LibWeb: Use FlyString for create_element() prefix strings 2023-11-04 21:28:30 +01:00
RadioNodeList.cpp LibWeb: Add a non-DeprecatedString version of Element::get_attribute 2023-10-03 09:41:20 +02:00
RadioNodeList.h LibWeb: Implement value attribute of RadioNodeList 2023-08-26 13:51:18 +02:00
RadioNodeList.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Range.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Range.h LibWeb: Port Range interface from DeprecatedString to String 2023-08-29 10:05:02 +02:00
Range.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
ShadowRoot.cpp LibWeb: Port ShadowRoot interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
ShadowRoot.h LibWeb: Check node type first in fast_is<ShadowRoot>() 2023-11-02 17:09:34 +01:00
ShadowRoot.idl LibWeb: Implement element slot-related attributes and settings 2023-09-13 13:45:47 +02:00
Slot.cpp LibWeb: Introduce the slot concept for HTML slot elements 2023-09-13 13:45:47 +02:00
Slot.h LibWeb: Introduce the slot concept for HTML slot elements 2023-09-13 13:45:47 +02:00
Slottable.cpp LibWeb: Skip assigning slottables for non-shadow roots 2023-11-03 20:50:34 +01:00
Slottable.h LibWeb: Implement manual slottable assignment 2023-09-13 13:45:47 +02:00
Slottable.idl LibWeb: Introduce the slottable concept for DOM elements and text nodes 2023-09-13 13:45:47 +02:00
StaticNodeList.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
StaticNodeList.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
StaticRange.cpp LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
StaticRange.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
StaticRange.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
StyleElementUtils.cpp AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
StyleElementUtils.h AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
Text.cpp LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
Text.h LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
Text.idl LibWeb: Introduce the slottable concept for DOM elements and text nodes 2023-09-13 13:45:47 +02:00
TreeWalker.cpp LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
TreeWalker.h LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
TreeWalker.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
XMLDocument.cpp LibWeb: Make XHR.response an actual XMLDocument for XML documents 2023-10-07 10:19:18 +02:00
XMLDocument.h LibWeb: Make XHR.response an actual XMLDocument for XML documents 2023-10-07 10:19:18 +02:00
XMLDocument.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00