@@ -1906,6 +1906,36 @@ scripting</h3>
1906
1906
that render a page on a server
1907
1907
and send a nearly-static version of the page to the user.
1908
1908
1909
+ Issue: Should there be an explicit minimum threshold to meet
1910
+ before a UA is allowed to claim ''initial-only'' ?
1911
+ Having one would mean authors would know
1912
+ what they can depend on,
1913
+ and could tailor their scripts accordingly.
1914
+ On the other hand, pinpointing that threshold is difficult:
1915
+ if it is set too low,
1916
+ the scripting facilities that authors can depend on
1917
+ may be to constrained to be practical,
1918
+ even though actual UAs may potentially
1919
+ all support significantly more.
1920
+ But trying to set it higher may cause us to exclude
1921
+ UAs that do support scripting at loading time,
1922
+ but restrict it in some cases based on complex heuristics.
1923
+ For instance, conservative definitions likely include at least
1924
+ running all inline scripts and firing the DOMContentLoaded event.
1925
+ But it does not seem useful for authors to constrain themselves to this
1926
+ if most (or maybe all) ''initial-only'' UAs
1927
+ also load external scripts (including ''async'' and ''defer'' )
1928
+ and fire the load event.
1929
+ On the other hand,
1930
+ requiring external scripts to be loaded
1931
+ and the load event to be fired
1932
+ could exclude UAs like Opera mini,
1933
+ which typically do run them,
1934
+ but may decide not to based on timeouts and other heuristics.
1935
+
1936
+
1937
+
1938
+
1909
1939
<dt> <dfn>none</dfn>
1910
1940
<dd>
1911
1941
Indicates that the user agent will not run scripts for this document;
0 commit comments