mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 18:47:15 +02:00
LibWeb: Add method for "is CORS-same-origin"
This commit is contained in:
committed by
Andreas Kling
parent
ae943965dc
commit
a4db7e9e23
Notes:
github-actions[bot]
2024-12-22 11:31:10 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/a4db7e9e234 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2998
@@ -116,6 +116,7 @@ public:
|
||||
|
||||
[[nodiscard]] GC::Ref<Response> unsafe_response();
|
||||
|
||||
[[nodiscard]] bool is_cors_same_origin() const;
|
||||
[[nodiscard]] bool is_cors_cross_origin() const;
|
||||
|
||||
[[nodiscard]] bool is_fresh() const;
|
||||
|
||||
Reference in New Issue
Block a user