Skip to content
  • Philip Chimento's avatar
    js: Don't convert to UTF-8 just for debug logging · 3b9e93a4
    Philip Chimento authored
    In most resolve handlers we converted the passed-in jsid to UTF-8 early
    in the function so that we could emit a debug log message first thing.
    Instead, use the new gjs_debug_id() function to log the message without
    doing a UTF-8 conversion, so we can move the relatively expensive UTF-8
    conversion after all the early returns in the resolve handler.
    3b9e93a4