Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								6688f89ad3 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of FileAPI::FileList fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								15917146d3 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of FileAPI::Blob fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								bc02686ae9 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::MediaQueryList fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								5d9bc378c3 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::MediaList fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								a49ea467ad 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSStyleSheet fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								4f4a908e5f 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSStyleRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								c950d1904a 
								
							 
						 
						
							
							
								
								LibWeb: Make factory methods of CSS::CSSStyleDeclaration fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								48872cd190 
								
							 
						 
						
							
							
								
								LibWeb: Make factory methods of CSS::CSSRuleList fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								5601f439f9 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSMediaRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								d53d8cacec 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSImportRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								ff8495de35 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of CSS::CSSFontFaceRule fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								471ad7ba01 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of HTML::MessagePort fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								7ec444047c 
								
							 
						 
						
							
							
								
								LibWeb: Make factory methods of HTML::MessageEvent fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								3d79cdf095 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of HTML::MessageChannel fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								52e9839d8b 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of Crypto::SubtleCrypto fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								58af8e2021 
								
							 
						 
						
							
							
								
								LibWeb: Make factory method of Crypto::Crypto fallible  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								fb3294863e 
								
							 
						 
						
							
							
								
								LibWeb: Return JS::NonnullGCPtr<StaticRange> instead of StaticRange*  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								6516329867 
								
							 
						 
						
							
							
								
								LibWeb: Propagate error in factory method of DOM::StaticRange  
							
							
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								411097002b 
								
							 
						 
						
							
							
								
								LibWeb: Add a method to ExceptionOr to drop error handling  
							
							... 
							
							
							
							This should solely be used to to ignore errors in infallible contexts. 
							
						 
						
							2023-02-18 00:52:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								e2691fcdf2 
								
							 
						 
						
							
							
								
								LibWeb: Always move (Nonnull)RefPtr parameters into StyleValues  
							
							... 
							
							
							
							This is done for consistency rather than any performance concerns. 
							
						 
						
							2023-02-17 16:22:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								ac3af6624b 
								
							 
						 
						
							
							
								
								LibWeb: Use default equality operators for StyleValues  
							
							... 
							
							
							
							This removes a load of manually implemented equality operators. This
is done with a little pattern where all properties of a StyleValue are
placed inside a Properties member struct, with a defaulted equality
operator. This is then used to do the actual StyleValue compare.
There is also a CTRP class to avoid manually implementing the virtual
operator==()s for all StyleValues. 
							
						 
						
							2023-02-17 16:22:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									MacDue 
								
							 
						 
						
							
							
							
							
								
							
							
								9337892ce0 
								
							 
						 
						
							
							
								
								LibWeb: Use default equality operators for StyleValue helper structs  
							
							... 
							
							
							
							Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org> 
							
						 
						
							2023-02-17 16:22:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									kleines Filmröllchen 
								
							 
						 
						
							
							
							
							
								
							
							
								d00a6ca11f 
								
							 
						 
						
							
							
								
								AK+LibWeb: Implement Variant equality operator  
							
							... 
							
							
							
							And make use of it for CSS StyleValues. 
							
						 
						
							2023-02-17 16:22:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								88814acbd3 
								
							 
						 
						
							
							
								
								LibJS+Everywhere: Convert JS::Error to String  
							
							... 
							
							
							
							This includes an Error::create overload to create an Error from a UTF-8
StringView. If creating a String from that view fails, the factory will
return an OOM InternalError instead. VM::throw_completion can also make
use of this overload via its perfect forwarding. 
							
						 
						
							2023-02-17 09:14:23 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								527edb55ad 
								
							 
						 
						
							
							
								
								LibWeb: Convert usages of Value::TDSWOSE to Value::TSWOSE  
							
							
							
						 
						
							2023-02-16 14:32:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								b245300ba1 
								
							 
						 
						
							
							
								
								LibJS+Everywhere: Deprecate Value::to_string_without_side_effects  
							
							
							
						 
						
							2023-02-16 14:32:22 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								85f3de6331 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								a0b1eddc56 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::MediaQuery to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								a381ce9519 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Supports to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								fc3540c4b1 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::UnicodeRange to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								316092d185 
								
							 
						 
						
							
							
								
								LibWeb: Use StringView in CSS::PreferredColorScheme  
							
							... 
							
							
							
							This doesn't need to hold the string data. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								dca19b764b 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Display to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								41c4cc95e4 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Rule to new Strings  
							
							... 
							
							
							
							`Rule::to_deprecated_string()` and
`DeclarationOrAtRule::to_deprecated_string()` are not used anywhere, so
we can just delete them. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								bee32b6cd2 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Declaration to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								a168cda4a7 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::ComponentValue to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								05c1b09621 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Function to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								86d23c63a4 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS::Parser::Block to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								e338ef4914 
								
							 
						 
						
							
							
								
								LibWeb: Port ComputedValues to new Strings  
							
							
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								9e735cc02e 
								
							 
						 
						
							
							
								
								LibWeb: Remove unused includes for DeprecatedString  
							
							... 
							
							
							
							Missed these before, oops. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								3685a8813a 
								
							 
						 
						
							
							
								
								LibWeb: Port CSS Tokenizer to new Strings  
							
							... 
							
							
							
							Specifically, this uses FlyString, because the data gets held long-term
as a FlyString anyway. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								a419039bb2 
								
							 
						 
						
							
							
								
								LibWeb: Implement ASCII case-insensitive matching  
							
							... 
							
							
							
							While DeprecatedString and StringView use ASCII case-insensitivity when
matching, String uses the Unicode rules, so in order to match the spec,
we need to *not* use `String::equals_ignoring_case()`.
This function needs to be used everywhere that the spec refers to
an "ASCII case-insensitive match". 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								abc01cc9fe 
								
							 
						 
						
							
							
								
								AK+Tests+LibWeb: Make URL::complete_url() take a StringView  
							
							... 
							
							
							
							All it does is pass this to `URLParser::parse()` which takes a
StringView, so we might as well take one here too. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								8af65108e4 
								
							 
						 
						
							
							
								
								LibWeb: Construct CSS Tokenizer and Parser with a StringView encoding  
							
							... 
							
							
							
							This doesn't need to be a full (Deprecated)String, so let's not force it
to be. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								d6075ef5b5 
								
							 
						 
						
							
							
								
								LibTextCodec+Everywhere: Make TextCodec::decoder_for() take a StringView  
							
							... 
							
							
							
							We don't need a full String/DeprecatedString inside this function, so we
might as well not force users to create one. 
							
						 
						
							2023-02-15 12:48:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								476ec563bc 
								
							 
						 
						
							
							
								
								LibWeb: Convert CSS Token::to_debug_string() to ::to_string() :^)  
							
							... 
							
							
							
							Using from_utf8_short_string() for all cases that are <= 3 bytes long.
Which is almost all of the static ones. 
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								2368e6c5f2 
								
							 
						 
						
							
							
								
								LibWeb: Convert CSS Token/ComponentValue::to_debug_string() to String  
							
							... 
							
							
							
							These are only used for debugging, so I've decided that logging the
ErrorOr<String> itself is fine instead of trying to handle that error
more gracefully in those cases. If you're getting OOM trying to debug
log things, you have bigger problems. 
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								7fc72d3838 
								
							 
						 
						
							
							
								
								LibWeb: Convert CSS Token value to new FlyString  
							
							
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Atkins 
								
							 
						 
						
							
							
							
							
								
							
							
								09f7682feb 
								
							 
						 
						
							
							
								
								LibWeb: Return StringViews from CSS Token bracket-string getters  
							
							... 
							
							
							
							These don't need to be full Strings, so let's be lightweight. 
							
						 
						
							2023-02-13 14:35:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								562594c416 
								
							 
						 
						
							
							
								
								LibWeb: Do not assume field element is always a HTMLInputElement  
							
							... 
							
							
							
							Cast to a HTMLElement instead and retrieve the value attribute from
there instead. 
							
						 
						
							2023-02-13 14:34:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kenneth Myhra 
								
							 
						 
						
							
							
							
							
								
							
							
								7d23af49c2 
								
							 
						 
						
							
							
								
								LibWeb: Avoid dereferencing null pointer  
							
							... 
							
							
							
							Null check was missing and we would crash when dereferencing the
pointer to access the type() member. 
							
						 
						
							2023-02-13 14:34:37 +00:00