diff --git a/index.bs b/index.bs
index 6a6ea21..245e6ed 100644
--- a/index.bs
+++ b/index.bs
@@ -83,6 +83,9 @@ namespace console { // but see namespace object requirements below
undefined time(optional DOMString label = "default");
undefined timeLog(optional DOMString label = "default", any... data);
undefined timeEnd(optional DOMString label = "default");
+
+ // Contextualizing
+ console context(optional DOMString label = "");
};
@@ -291,6 +294,18 @@ for plans to make {{console/timeEnd()}} and {{console/timeLog()}} formally repor
console when a given |label| does not exist in the associated timer table.
+Contextualizing
+
+Each {{console}} namespace object has an associated context name, empty by default.
+
+context(|label|)
+
+1. Let |context| be a new {{console}} namespace object.
+1. Let |contextName| be the empty string.
+1. If |label| is not null, then set |contextName| to |label|.
+1. Set |context|'s context name to |contextName|.
+1. Return |context|.
+
Supporting abstract operations
Logger(|logLevel|, |args|)
@@ -513,6 +528,9 @@ enhancements:
src="images/severity-filter.png">
+
+ Extra UI allowing the user to filter messages by context name
+
Extra UI off to the side indicating the current state of the timer table,
group stack, or other internally maintained data.