forked from mirrors/gecko-dev
		
	
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| window.onerror = function(e) {
 | |
|   document.getElementById("result").textContent = e;
 | |
| };
 | |
| 
 | |
| function f() {
 | |
|   "use asm";
 | |
|   function test() {
 | |
|     return 10;
 | |
|   }
 | |
|   return test;
 | |
| }
 | |
| 
 | |
| var dummy = [
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
|   "dummy text to exceed the minimal source length for bytecode cache",
 | |
| ];
 | 
