mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:42:43 +00:00 
			
		
		
		
	LibJS: Remove the non-standard put helper and replace it's usages
This removes all usages of the non-standard put helper method and replaces all of it's usages with the specification required alternative or with define_direct_property where appropriate.
This commit is contained in:
		
							parent
							
								
									53f70e5208
								
							
						
					
					
						commit
						e3ef241108
					
				
					 15 changed files with 40 additions and 49 deletions
				
			
		|  | @ -25,13 +25,11 @@ public: | |||
|     virtual const char* class_name() const override { return m_variable_info.type_name.characters(); } | ||||
| 
 | ||||
|     bool internal_set(JS::PropertyName const&, JS::Value value, JS::Value receiver) override; | ||||
|     void finish_writing_properties() { m_is_writing_properties = false; } | ||||
| 
 | ||||
| private: | ||||
|     DebuggerGlobalJSObject& debugger_object() const; | ||||
| 
 | ||||
|     const Debug::DebugInfo::VariableInfo& m_variable_info; | ||||
|     bool m_is_writing_properties { true }; | ||||
| }; | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Idan Horowitz
						Idan Horowitz