Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openwpm/deploy_browsers/configure_firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def optimize_prefs(prefs: Dict[str, Any]) -> None:
prefs["browser.uitour.enabled"] = False
prefs["dom.flyweb.enabled"] = False

# Enabling callstack capture across async APIs e.g. setTimeout
prefs["javascript.option.asyncstack"] = True

# Disable health reports / telemetry / crash reports
prefs["datareporting.policy.dataSubmissionEnabled"] = False
prefs["datareporting.healthreport.uploadEnabled"] = False
Expand Down
13 changes: 13 additions & 0 deletions test/test_pages/Set_Timeout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- sample code for set timeout before printing to console -->
<html>
<head>
<title>SetTimeout Simple Page</title>
<body>
<script>
setTimeout(function(){
console.log("hello");
}, 3000);
</script>
</head>
</body>
</html>