Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/element-constructors-to-string-expected.txt

Issue 1497503002: Removes the custom toString callback for the various DOM constructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testharness.js Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Window/element-constructors-to-string-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/element-constructors-to-string-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Window/element-constructors-to-string-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e9742b0d64e0f4fd9591106c474de4cf147402d2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/element-constructors-to-string-expected.txt
@@ -0,0 +1,9 @@
+Test that HTML element constructors' toString is just Function.prototype.toString, and that changing <HTML ELEMENT>.toString.toString doesn't change the output of <HTML ELEMENT>.toString().
jochen (gone - plz use gerrit) 2015/12/03 12:09:10 i'm surprised you need the expectation? maybe if y
epertoso 2015/12/03 13:01:00 Indeed.
+
+This is a testharness.js-based test.
+PASS HTMLElement.toString should be Function.prototype.toString
+PASS HTMLElement.toString.toString should be Function.prototype.toString
+PASS After changing HTMLElement.toString.toString, HTMLElement.toString should still be Function.prototype.toString
+PASS After changing HTMLElement.toString.toString, HTMLDivElement.toString should still be Function.prototype.toString
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698