mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	LibJS+LibWeb+WebContent: Port JS::PropertyKey to UTF-16
This has quite a lot of fall out. But the majority of it is just type or UDL substitution, where the changes just fall through to other function calls. By changing property key storage to UTF-16, the main affected areas are: * NativeFunction names must now be UTF-16 * Bytecode identifiers must now be UTF-16 * Module/binding names must now be UTF-16
This commit is contained in:
		
							parent
							
								
									cd276235d7
								
							
						
					
					
						commit
						0efa98a57a
					
				
				
				Notes:
				
					github-actions[bot]
				
				2025-08-05 11:08:30 +00:00 
				
			
			Author: https://github.com/trflynn89
Commit: 0efa98a57a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5698
			
					 131 changed files with 766 additions and 726 deletions
				
			
		|  | @ -228,7 +228,7 @@ JS::ThrowCompletionOr<ResolvedOverload> resolve_overload(JS::VM& vm, IDL::Effect | |||
|         //    then remove from S all other entries.
 | ||||
|         else if (value.is_object() && value.as_object().is_typed_array() | ||||
|             && has_overload_with_argument_type_or_subtype_matching(overloads, i, [&](IDL::Type const& type) { | ||||
|                    if (type.is_plain() && (type.name() == static_cast<JS::TypedArrayBase const&>(value.as_object()).element_name().bytes_as_string_view() || type.name() == "BufferSource" || type.name() == "ArrayBufferView")) | ||||
|                    if (type.is_plain() && (type.name() == static_cast<JS::TypedArrayBase const&>(value.as_object()).element_name() || type.name() == "BufferSource" || type.name() == "ArrayBufferView")) | ||||
|                        return true; | ||||
|                    if (type.is_object()) | ||||
|                        return true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn