mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-30 15:41:48 +00:00 
			
		
		
		
	dom: expose document.location
This commit is contained in:
		| @@ -91,7 +91,7 @@ pub fn run(arena: *std.heap.ArenaAllocator, comptime dir: []const u8, f: []const | ||||
|  | ||||
|     // setup global env vars. | ||||
|     var window = Window.create(null, null); | ||||
|     window.replaceDocument(html_doc); | ||||
|     try window.replaceDocument(html_doc); | ||||
|     window.setStorageShelf(&storageShelf); | ||||
|     try js_env.bindGlobal(&window); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pierre Tachoire
					Pierre Tachoire