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

Unified Diff: Source/core/frame/History.idl

Issue 1019453002: IDL: Add [Custom=CallEpilogue] to eliminate CG special cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix after rebase Created 5 years, 9 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
« no previous file with comments | « Source/core/frame/History.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/History.idl
diff --git a/Source/core/frame/History.idl b/Source/core/frame/History.idl
index ee9c0ef9efcbc3c1adb7dbc60a7d0cef571680cd..c485dc830e9a4b25bb1fbee629e8a146876e78ff 100644
--- a/Source/core/frame/History.idl
+++ b/Source/core/frame/History.idl
@@ -33,6 +33,7 @@
[CallWith=ExecutionContext] void forward();
[CallWith=ExecutionContext] void go([Default=Undefined] optional long distance);
- [Custom, RaisesException] void pushState(any data, DOMString title, optional DOMString url);
- [Custom, RaisesException] void replaceState(any data, DOMString title, optional DOMString url);
+ // FIXME: the title arguments below should simply be 'DOMString title'.
+ [Custom=CallEpilogue, RaisesException] void pushState(SerializedScriptValue data, [TreatUndefinedAs=NullString] DOMString? title, optional DOMString? url = null);
+ [Custom=CallEpilogue, RaisesException] void replaceState(SerializedScriptValue data, [TreatUndefinedAs=NullString] DOMString? title, optional DOMString? url = null);
};
« no previous file with comments | « Source/core/frame/History.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698