Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf-test.git/shortlog/5d6ae00155ab3af3b05f9c6a6c687861a5dc4293
...commit 
http://git.netsurf-browser.org/netsurf-test.git/commit/5d6ae00155ab3af3b05f9c6a6c687861a5dc4293
...tree 
http://git.netsurf-browser.org/netsurf-test.git/tree/5d6ae00155ab3af3b05f9c6a6c687861a5dc4293

The branch, master has been updated
       via  5d6ae00155ab3af3b05f9c6a6c687861a5dc4293 (commit)
      from  0896840ce13ca93bbd4b54810c89ef747a113db6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=5d6ae00155ab3af3b05f9c6a6c687861a5dc4293
commit 5d6ae00155ab3af3b05f9c6a6c687861a5dc4293
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    setTimeout() args are the other way around
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/cgi-bin/and-then-js-async-cb-adds-timeout.js 
b/cgi-bin/and-then-js-async-cb-adds-timeout.js
index e232561..9b78c88 100644
--- a/cgi-bin/and-then-js-async-cb-adds-timeout.js
+++ b/cgi-bin/and-then-js-async-cb-adds-timeout.js
@@ -3,9 +3,9 @@
  */
 
 /* After one second */
-setTimeout(1000, function() {
+setTimeout(function() {
     /* Add a <script> tag */
     var script = document.createElement("SCRIPT");
     script.src = "https://test.netsurf-browser.org/html/hello-world.js";;
     document.body.appendChild(script);
-});
+}, 1000);


-----------------------------------------------------------------------

Summary of changes:
 cgi-bin/and-then-js-async-cb-adds-timeout.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cgi-bin/and-then-js-async-cb-adds-timeout.js 
b/cgi-bin/and-then-js-async-cb-adds-timeout.js
index e232561..9b78c88 100644
--- a/cgi-bin/and-then-js-async-cb-adds-timeout.js
+++ b/cgi-bin/and-then-js-async-cb-adds-timeout.js
@@ -3,9 +3,9 @@
  */
 
 /* After one second */
-setTimeout(1000, function() {
+setTimeout(function() {
     /* Add a <script> tag */
     var script = document.createElement("SCRIPT");
     script.src = "https://test.netsurf-browser.org/html/hello-world.js";;
     document.body.appendChild(script);
-});
+}, 1000);


-- 
NetSurf test cases

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to