mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-30 05:42:37 +00:00 
			
		
		
		
	 a3d6c2f6af
			
		
	
	
		a3d6c2f6af
		
	
	
	
	
		
			
			Instead of sending *all* cookies over IPC and filtering by name, we now filter by name from the cookie jar and send just the first matching cookie.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			704 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			704 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include <AK/URL.h>
 | |
| #include <AK/Vector.h>
 | |
| #include <LibGfx/Point.h>
 | |
| #include <LibGfx/Rect.h>
 | |
| #include <LibGfx/ShareableBitmap.h>
 | |
| #include <LibGfx/Size.h>
 | |
| #include <LibWeb/Cookie/Cookie.h>
 | |
| #include <LibWeb/Cookie/ParsedCookie.h>
 | |
| #include <LibWeb/WebDriver/ExecuteScript.h>
 | |
| 
 | |
| // FIXME: This isn't used here, but the generated IPC fails to compile without this include.
 | |
| #include <LibWeb/WebDriver/Response.h>
 | |
| 
 | |
| endpoint WebDriverSessionClient {
 | |
|     quit() =|
 | |
| 
 | |
|     get_title() => (String title)
 | |
|     refresh() =|
 | |
|     back() =|
 | |
|     forward() =|
 | |
|     get_all_cookies() => (Vector<Web::Cookie::Cookie> cookies)
 | |
|     add_cookie(Web::Cookie::ParsedCookie cookie) =|
 | |
|     update_cookie(Web::Cookie::Cookie cookie) =|
 | |
| }
 |