Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till

This commit is contained in:
ziyunfei
2015-04-30 00:32:05 +09:00
parent 2bdb663c36
commit 649e7033e4
194 changed files with 536 additions and 536 deletions

View File

@@ -32,16 +32,16 @@ function ifTestingSupported() {
"There should be 4 functions on the stack for the draw call.");
ok($all(".call-item-stack-fn-name", callItem.target)[0].getAttribute("value")
.contains("C()"),
.includes("C()"),
"The first function on the stack has the correct name.");
ok($all(".call-item-stack-fn-name", callItem.target)[1].getAttribute("value")
.contains("B()"),
.includes("B()"),
"The second function on the stack has the correct name.");
ok($all(".call-item-stack-fn-name", callItem.target)[2].getAttribute("value")
.contains("A()"),
.includes("A()"),
"The third function on the stack has the correct name.");
ok($all(".call-item-stack-fn-name", callItem.target)[3].getAttribute("value")
.contains("drawRect()"),
.includes("drawRect()"),
"The fourth function on the stack has the correct name.");
is($all(".call-item-stack-fn-location", callItem.target)[0].getAttribute("value"),