diff --git a/spec.bs b/spec.bs index 5551524..3ed4b01 100644 --- a/spec.bs +++ b/spec.bs @@ -204,6 +204,10 @@ enableDebugMode(optional PADebugModeOptions options) method steps are: : [=debug details/key=] :: |debugKey| +1. Optionally, set |debugDetails| to a new [=debug details=]. + + Note: This allows the user agent to make debug mode unavailable globally or + just for certain callers. 1. [=map/Set=] |debugScopeMap|[|debugScope|] to |debugDetails|. Issue: Ensure errors are of an appropriate type, e.g. {{InvalidAccessError}} is @@ -435,6 +439,8 @@ To get a debug details given a [=debug scope=] |debugScope|: 1. Let |debugScopeMap| be the [=debug scope map=]. 1. [=Assert=]: |debugScopeMap|[|debugScope|] [=map/exists=]. + + Issue: This should return a default when the scope does not exist. 1. Return |debugScopeMap|[|debugScope|]. To mark a debug scope complete given a [=debug