Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationRequest.h

Issue 2432723003: [Presentation API] PresentationRequest should throw SecurityError for mixed contents (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/presentation/PresentationRequest.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationRequest.h b/third_party/WebKit/Source/modules/presentation/PresentationRequest.h
index 70cd618b38c7cb291353e6c0a77bfb31ca8ba5ec..e877f32e4b379188d7ea1116d21f397f666ee2e7 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.h
@@ -54,6 +54,8 @@ class PresentationRequest final : public EventTargetWithInlineData,
private:
PresentationRequest(ExecutionContext*, const KURL&);
+ ScriptPromise rejectWithMixedContentException(ScriptState*);
+ ScriptPromise rejectWithSandBoxException(ScriptState*);
KURL m_url;
};

Powered by Google App Engine
This is Rietveld 408576698