Skip to content
Permalink
Browse files

Add format-specifier-applied-to-Symbol console tests

Follows whatwg/console#123. See whatwg/console#113 and #9488 for follow-up work.
  • Loading branch information...
domfarolino authored and domenic committed Feb 13, 2018
1 parent 30c53fa commit 54c8d719084e1200481df813f6e01d385ea3b07e
Showing with 21 additions and 0 deletions.
  1. +21 −0 console/console-format-specifier-symbol-manual.html
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Console Format Specifiers on Symbols</title>
<meta name="author" title="Dominic Farolino" href="mailto:domfarolino@gmail.com">
<meta name="assert" content="Console format specifiers on Symbols">
<link rel="help" href="https://console.spec.whatwg.org/#formatter">
</head>
<body>
<p>Open the console inside the developer tools. It should contain five lines, each of which are:</p>
<p><code>Symbol(description)</code></p>

<script>
console.log("%s", Symbol.for("description"));
console.dirxml("%s", Symbol.for("description"));
console.trace("%s", Symbol.for("description"));
console.group("%s", Symbol.for("description"));
console.groupCollapsed("%s", Symbol.for("description"));
</script>
</body>
</html>

0 comments on commit 54c8d71

Please sign in to comment.
You can’t perform that action at this time.