gnome-shell/tests/unit
Florian Müllner b02460fa63 tests: Fix check for global scope pollution
Since commit c570011 dropped the `with` statement, this bit of
the test has only checked for writes to a specific variable
in the file.

There is no direct replacement for `with` here, the best we can
do (I think) is comparing property names on the global objects
before and after the `eval()` call.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3132>
2024-01-26 13:12:40 +00:00
..
highlighter.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
injectionManager.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
insertSorted.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
jsParse.js tests: Fix check for global scope pollution 2024-01-26 13:12:40 +00:00
markup.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
params.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
signalTracker.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
url.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00
versionCompare.js tests/unit: Access shell sources from resource 2023-08-10 17:42:23 +00:00