Side by Side 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.
1 Test that HTML element constructors' toString is just Function.prototype.toStrin
g, 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
i'm surprised you need the expectation? maybe if you leave out the <p> it'll be
happy without the expectation?
On 2015/12/03 at 12:09:10, jochen wrote:
> i'm surprised you need the expectation? maybe if you leave out the <p> it'll
be happy without the expectation?
Indeed.
2
3 This is a testharness.js-based test.
4 PASS HTMLElement.toString should be Function.prototype.toString
5 PASS HTMLElement.toString.toString should be Function.prototype.toString
6 PASS After changing HTMLElement.toString.toString, HTMLElement.toString should s
till be Function.prototype.toString
7 PASS After changing HTMLElement.toString.toString, HTMLDivElement.toString shoul
d still be Function.prototype.toString
Issue 1497503002: Removes the custom toString callback for the various DOM constructors.
(Closed)
Created 5 years ago by epertoso
Modified 5 years ago
Reviewers: jochen (gone - plz use gerrit), adamk, haraken, jsbell, Toon Verwaest
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 10