Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • cse493x-24sp/cse493x-24sp-tests
  • wongyh/cse493x-24sp-tests
2 results
Show changes
Commits on Source (3)
......@@ -13,7 +13,7 @@ interaction.
Note that we aren't mocking `dukpy`. It should just run JavaScript normally!
Testing basic <script> support
Testing basic \<script> support
==============================
The browser should download JavaScript code mentioned in a `<script>` tag:
......
......@@ -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()
......