Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/e01bbee4056786d08fbaf8f347fa17033a8f3e62
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/e01bbee4056786d08fbaf8f347fa17033a8f3e62
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/e01bbee4056786d08fbaf8f347fa17033a8f3e62

The branch, master has been updated
       via  e01bbee4056786d08fbaf8f347fa17033a8f3e62 (commit)
       via  1ae0ee21eef94f5bc82f64543384698bd0b7ebec (commit)
      from  43f8e77df7c36ceaa7b8851b779cf81661a686d3 (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.git/commit/?id=e01bbee4056786d08fbaf8f347fa17033a8f3e62
commit e01bbee4056786d08fbaf8f347fa17033a8f3e62
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    fix monkey testing setting of options to add necessary prefix

diff --git a/test/monkey_driver.py b/test/monkey_driver.py
index 57ad5e4..6b2451f 100755
--- a/test/monkey_driver.py
+++ b/test/monkey_driver.py
@@ -208,9 +208,9 @@ def run_test_step_action_launch(ctx, step):
     ctx['browser'] = DriverBrowser(monkey_cmd=[ctx["monkey"]], quiet=True, 
wrapper=ctx.get("wrapper"))
     assert_browser(ctx)
     ctx['windows'] = dict()
-    for arg in step.get('args', []):
-        print(get_indent(ctx) + "        " + arg)
-        ctx['browser'].pass_options(arg)
+    for option in step.get('options', []):
+        print(get_indent(ctx) + "        " + option)
+        ctx['browser'].pass_options(option)
 
 
 def run_test_step_action_window_new(ctx, step):
diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index 9494343..1851888 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -160,7 +160,7 @@ class Browser:
 
     def pass_options(self, *opts):
         if len(opts) > 0:
-            self.farmer.tell_monkey("OPTIONS " + (" ".join(opts)))
+            self.farmer.tell_monkey("OPTIONS " + (" ".join(['--' + opt for opt 
in opts])))
         
     def on_monkey_line(self, line):
         parts = line.split(" ")


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=1ae0ee21eef94f5bc82f64543384698bd0b7ebec
commit 1ae0ee21eef94f5bc82f64543384698bd0b7ebec
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    add isFinite to global context

diff --git a/content/handlers/javascript/duktape/Window.bnd 
b/content/handlers/javascript/duktape/Window.bnd
index 39c58c4..b2e8166 100644
--- a/content/handlers/javascript/duktape/Window.bnd
+++ b/content/handlers/javascript/duktape/Window.bnd
@@ -265,6 +265,7 @@ prototype Window()
        EXPOSE(encodeURIComponent);
        EXPOSE(NaN);
        EXPOSE(isNaN);
+       EXPOSE(isFinite);
 #undef EXPOSE
        /* Add s3kr1t method to close the compartment */
        duk_dup(ctx, 0);


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

Summary of changes:
 content/handlers/javascript/duktape/Window.bnd |    1 +
 test/monkey_driver.py                          |    6 +++---
 test/monkeyfarmer.py                           |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/content/handlers/javascript/duktape/Window.bnd 
b/content/handlers/javascript/duktape/Window.bnd
index 39c58c4..b2e8166 100644
--- a/content/handlers/javascript/duktape/Window.bnd
+++ b/content/handlers/javascript/duktape/Window.bnd
@@ -265,6 +265,7 @@ prototype Window()
        EXPOSE(encodeURIComponent);
        EXPOSE(NaN);
        EXPOSE(isNaN);
+       EXPOSE(isFinite);
 #undef EXPOSE
        /* Add s3kr1t method to close the compartment */
        duk_dup(ctx, 0);
diff --git a/test/monkey_driver.py b/test/monkey_driver.py
index 57ad5e4..6b2451f 100755
--- a/test/monkey_driver.py
+++ b/test/monkey_driver.py
@@ -208,9 +208,9 @@ def run_test_step_action_launch(ctx, step):
     ctx['browser'] = DriverBrowser(monkey_cmd=[ctx["monkey"]], quiet=True, 
wrapper=ctx.get("wrapper"))
     assert_browser(ctx)
     ctx['windows'] = dict()
-    for arg in step.get('args', []):
-        print(get_indent(ctx) + "        " + arg)
-        ctx['browser'].pass_options(arg)
+    for option in step.get('options', []):
+        print(get_indent(ctx) + "        " + option)
+        ctx['browser'].pass_options(option)
 
 
 def run_test_step_action_window_new(ctx, step):
diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index 9494343..1851888 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -160,7 +160,7 @@ class Browser:
 
     def pass_options(self, *opts):
         if len(opts) > 0:
-            self.farmer.tell_monkey("OPTIONS " + (" ".join(opts)))
+            self.farmer.tell_monkey("OPTIONS " + (" ".join(['--' + opt for opt 
in opts])))
         
     def on_monkey_line(self, line):
         parts = line.split(" ")


-- 
NetSurf Browser

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

Reply via email to