Skip to content

Commit 1e19315

Browse files
committed
[MotionMark] The text "kkkj" is causing Firefox console warning: unreachable code after return statement
https://bugs.webkit.org/show_bug.cgi?id=196814 Reviewed by Wenson Hsieh. * MotionMark/resources/extensions.js: (subtract.subtract.sampleY): Websites/browserbench.org: * MotionMark1.1/resources/extensions.js: (subtract.subtract.sampleY): Canonical link: https://commits.webkit.org/211244@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 9b8f2b5 commit 1e19315

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MotionMark/resources/extensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ UnitBezier = Utilities.createClass(
371371

372372
sampleY: function(t)
373373
{
374-
return ((this._a.y * t + this._b.y) * t + this._c.y) * t;kkkj
374+
return ((this._a.y * t + this._b.y) * t + this._c.y) * t;
375375
},
376376

377377
sampleDerivativeX: function(t)

MotionMark1.1/resources/extensions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2015-2017 Apple Inc. All rights reserved.
2+
* Copyright (C) 2015-2019 Apple Inc. All rights reserved.
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions
@@ -400,7 +400,7 @@ UnitBezier = Utilities.createClass(
400400

401401
sampleY: function(t)
402402
{
403-
return ((this._a.y * t + this._b.y) * t + this._c.y) * t;kkkj
403+
return ((this._a.y * t + this._b.y) * t + this._c.y) * t;
404404
},
405405

406406
sampleDerivativeX: function(t)

0 commit comments

Comments
 (0)