Skip to content
Snippets Groups Projects
Commit cd63aa01 authored by Gilbert L Bernstein's avatar Gilbert L Bernstein
Browse files

Update chapter9-exercise-ids-tests.md to make more insensitive to dukpy version

parent b3a1a3e8
Branches main
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ Replace the id with something that has a different id.
Traceback (most recent call last):
...
_dukpy.JSRuntimeError: ReferenceError: identifier 'one' undefined
at [anon] (duk_js_var.c:1239) internal
...
at eval (eval:1) preventsyield
>>> js.run("replacement;")
{'handle': 2}
......@@ -110,19 +110,19 @@ Empty the document of ids.
Traceback (most recent call last):
...
_dukpy.JSRuntimeError: ReferenceError: identifier 'alice' undefined
at [anon] (duk_js_var.c:1239) internal
...
at eval (eval:1) preventsyield
>>> js.run("one;")
Traceback (most recent call last):
...
_dukpy.JSRuntimeError: ReferenceError: identifier 'one' undefined
at [anon] (duk_js_var.c:1239) internal
...
at eval (eval:1) preventsyield
>>> js.run("replacement;")
Traceback (most recent call last):
...
_dukpy.JSRuntimeError: ReferenceError: identifier 'replacement' undefined
at [anon] (duk_js_var.c:1239) internal
...
at eval (eval:1) preventsyield
>>> browser.print_tree(this_browser.active_tab.document)
DocumentLayout()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment