Skip to content

Commit 46e1750

Browse files
panvaMs2ger
authored andcommitted
use get_title() in ShellTestEnvironment.prototype.next_default_test_name
1 parent c6b7fa7 commit 46e1750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/testharness.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
ShellTestEnvironment.prototype.next_default_test_name = function() {
495495
var suffix = this.name_counter > 0 ? " " + this.name_counter : "";
496496
this.name_counter++;
497-
return "Untitled" + suffix;
497+
return get_title() + suffix;
498498
};
499499

500500
ShellTestEnvironment.prototype.on_new_harness_properties = function() {};

0 commit comments

Comments
 (0)