Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/request-animation-frame.js |
| diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/request-animation-frame.js b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/request-animation-frame.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..497b9e00744b9b1fc9f54a7bdf6afdfbf7de376a |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/resources/request-animation-frame.js |
| @@ -0,0 +1,5 @@ |
| +self.onmessage = function(e) { |
|
jbroman
2016/04/20 19:24:51
Is it necessary to wait for a message? If not, it
flackr
2016/04/25 14:06:27
No, not necessary, removed.
|
| + requestAnimationFrame(function() { |
| + self.postMessage('success'); |
| + }); |
| +} |