File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -1996,6 +1996,37 @@ <h3>Proxy</h3>
1996
1996
</ tr >
1997
1997
</ table >
1998
1998
1999
+ < p > The < a > remote end</ a > steps to < dfn > deserialize as a proxy</ dfn >
2000
+ argument < var > parameter</ var > are:
2001
+
2002
+ < ol >
2003
+ < li > < p > If < var > parameter</ var > is not a JSON < a > Object</ a > return
2004
+ an < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
2005
+
2006
+ < li > < p > Let < var > proxy</ var > be a new, empty
2007
+ < a > proxy configuration object</ a > .
2008
+
2009
+ < li > < p > For each enumerable < a > own property</ a > in < var > parameter</ var >
2010
+ run the following substeps:
2011
+ < ol >
2012
+ < li > < p > Let < var > key</ var > be the name of the property.
2013
+
2014
+ < li > < p > Let < var > value</ var > be the result of < a > getting a
2015
+ property</ a > named < var > name</ var > from < var > parameter</ var > .
2016
+
2017
+ < li > < p > If there is no matching < code > key</ code > for < var > key</ var >
2018
+ in the < a > proxy configuration</ a > table return an < a > error</ a >
2019
+ with < a > error code</ a > < a > invalid argument</ a > .
2020
+
2021
+ < li > < p > If < var > value</ var > is not one of the
2022
+ < code > valid values</ code > for that < code > key</ code > , return
2023
+ an < a > error</ a > with < a > error code</ a > < a > invalid argument</ a > .
2024
+
2025
+ < li > < p > < a > Set a property</ a > < var > key</ var > to < var > value</ var >
2026
+ on < var > proxy</ var > .
2027
+ </ ol >
2028
+ </ ol >
2029
+
1999
2030
< p > A < dfn > proxy configuration object</ dfn > is a
2000
2031
JSON < a > Object</ a > where each of its < a > own properties</ a > matching
2001
2032
keys in the < a > proxy configuration</ a > meets the validity criteria for
You can’t perform that action at this time.
0 commit comments