mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:52:45 +00:00 
			
		
		
		
	LibWeb/Tests: Add test for a <script type=module> inside <head>
This commit is contained in:
		
							parent
							
								
									ff6d7cf3e4
								
							
						
					
					
						commit
						387ab57eb1
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								Tests/LibWeb/Text/expected/module-script-in-head.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Tests/LibWeb/Text/expected/module-script-in-head.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| passed | ||||
							
								
								
									
										10
									
								
								Tests/LibWeb/Text/input/module-script-in-head.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								Tests/LibWeb/Text/input/module-script-in-head.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| <!DOCTYPE html> | ||||
| <head> | ||||
|     <script type="module"> | ||||
|         const __outputElement = document.createElement("pre"); | ||||
|         __outputElement.setAttribute("id", "out"); | ||||
|         __outputElement.appendChild(document.createTextNode("passed\n")) | ||||
|         document.body.appendChild(__outputElement); | ||||
|         internals.signalTextTestIsDone(); | ||||
|     </script> | ||||
| </head> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 networkException
						networkException