aboutsummaryrefslogtreecommitdiff
path: root/eval_test.js
diff options
context:
space:
mode:
authorNateN1222 <nathannichols454@gmail.com>2017-08-27 13:43:00 -0500
committerNateN1222 <nathannichols454@gmail.com>2017-08-27 13:43:00 -0500
commit3a8ce7418c57b866907f7022979a47efe836963b (patch)
tree22380614be76cb86c37abeb36c639cf35da48a20 /eval_test.js
parent74bd34de3822a49de5fcde5588d121f736cfec63 (diff)
Started implementing a way to change the content of script requests
Diffstat (limited to 'eval_test.js')
-rw-r--r--eval_test.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/eval_test.js b/eval_test.js
index 6a7b8d2..dd00891 100644
--- a/eval_test.js
+++ b/eval_test.js
@@ -146,7 +146,6 @@ var licenses = {
// Objects which could be used to do nontrivial things
// Bracket suffix notation could still be exploited to get some of these objects
var reserved_objects = [
- "window",
"fetch",
"XMLHttpRequest",
"chrome", // only on chrome
@@ -155,7 +154,9 @@ var reserved_objects = [
];
// Objects that can only be used with dot notation
-var reserved_
+var dot_only = [
+ "window"
+]
function get_final_page(html_string, callback){