diff --git a/deps/v8/src/mirror-debugger.js b/deps/v8/src/mirror-debugger.js index c6540e31d96f06..d2b97ec66f0800 100644 --- a/deps/v8/src/mirror-debugger.js +++ b/deps/v8/src/mirror-debugger.js @@ -1515,7 +1515,7 @@ PropertyMirror.prototype.name = function() { PropertyMirror.prototype.toText = function() { - if (IS_SYMBOL(this.name_)) return %SymbolDescriptiveString(this.name_); + if (IS_SYMBOL(this.name_)) return %SymbolDescription(this.name_); return this.name_; }; diff --git a/deps/v8/test/mjsunit/debug-backtrace-text.js b/deps/v8/test/mjsunit/debug-backtrace-text.js index cfc89e6c1d6762..8afc1f8d9b3a75 100644 --- a/deps/v8/test/mjsunit/debug-backtrace-text.js +++ b/deps/v8/test/mjsunit/debug-backtrace-text.js @@ -106,7 +106,7 @@ function listener(event, exec_state, event_data, data) { // 2: [anonymous] assertEquals("new Point(x=0, y=0)", exec_state.frame(0).invocationText()); - assertEquals("#[Symbol(Das Symbol)](x=0, y=0)", + assertEquals("#[Das Symbol](x=0, y=0)", exec_state.frame(1).invocationText()); assertEquals("[anonymous]()", exec_state.frame(2).invocationText()); listenerCalled = true;