Skip to content

Commit

Permalink
#516: idle time to 10s; add more adblock hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
classilla committed Jul 27, 2018
1 parent 12cdb0c commit dc12741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions caps/nsScriptSecurityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,9 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
BLOK("secure-cdn.mplxtms.com") ||

BLOK("usadmm.dotomi.com") ||

BLOK("p.d.1emn.com") ||
BLOK("p.w.1emn.com") ||
0) {
#undef BLOK
// Yup.
Expand Down
2 changes: 1 addition & 1 deletion dom/base/nsGlobalWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#define MAX_IDLE_FUZZ_TIME_MS 90000

// Min idle notification time in seconds.
#define MIN_IDLE_NOTIFICATION_TIME_S 1
#define MIN_IDLE_NOTIFICATION_TIME_S 10

class nsIArray;
class nsIBaseWindow;
Expand Down

0 comments on commit dc12741

Please sign in to comment.