GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — console.time() should output warning if timer exists · Issue #20440 · nodejs/node

console.time() should output warning if timer exists #20440

New issue
Copy link
New issue
Copy link
Closed
Closed
console.time() should output warning if timer exists#20440
Copy link
Labels
confirmed-bugIssues and PRs for confirmed bugs.consoleIssues and PRs related to the console subsystem.

Description

@domfarolino
domfarolino
opened on May 1, 2018
Issue body actions
  • Version: v.10.0.0
  • Platform: 16.7.0 Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64 x86_64

The WHATWG Console Standard specifies console.time() as printing a warning to the screen if an associated timer exists. Currently in Node, no warning is printed and the associated existing timer is reset.

Activity

  1. vsemozhetbyt
    added
    consoleIssues and PRs related to the console subsystem.
    on May 1, 2018
  2. devsnek commented on May 1, 2018

    @devsnek
    devsnek
    on May 1, 2018
    Member
    More actions

    warning is optional but resetting the time is definitely not to spec

  3. devsnek
    added
    confirmed-bugIssues and PRs for confirmed bugs.
    on May 1, 2018
  4. domfarolino commented on May 1, 2018

    @domfarolino
    domfarolino
    on May 1, 2018
    ContributorAuthor
    More actions

    Whoops, sorry you're right. Yes the warning is optional (though every browser I've tested (except Edge since I don't have access to it) does it).

  5. devsnek
    closed this as completedin a598264on May 3, 2018
  6. sjarmak
    added a commit that references this issue on Jul 27, 2026

    console: console.time() should not reset a timer when it exists

    a598264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues and PRs for confirmed bugs.consoleIssues and PRs related to the console subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.