MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isAnonymousFrame

Function isAnonymousFrame

javascript/webdriver/stacktrace.js:561–563  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

559 // necessary since the user may have defined a custom stack formatter in
560 // V8 via Error.prepareStackTrace. See issue 7994.
561 var isAnonymousFrame = function(frame) {
562 return frame.toString() === ' at <anonymous>';
563 };
564 if (frames.length && goog.array.every(frames, isAnonymousFrame)) {
565 return error;
566 }

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected