Commit 613ea2f
Mike Perry
Bug 10298: Provide a preference to enable mixed content rules.
This patch enables rules that trigger mixed content blocking if mixed content
blocking is disabled via security.mixed_content.block_active_content, or if
the pref extensions.https_everywhere.enable_mixed_rulesets is set.
Also add observers to reload the rules if either pref changes.
Conflicts:
src/chrome/content/code/HTTPSRules.js
src/components/https-everywhere.js
src/defaults/preferences/preferences.js1 parent e3415d2 commit 613ea2f
File tree
3 files changed
+47
-17
lines changed- src
- chrome/content/code
- components
- defaults/preferences
3 files changed
+47
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 19 | | |
35 | 20 | | |
36 | 21 | | |
| |||
54 | 39 | | |
55 | 40 | | |
56 | 41 | | |
57 | | - | |
| 42 | + | |
58 | 43 | | |
59 | 44 | | |
60 | 45 | | |
| |||
398 | 383 | | |
399 | 384 | | |
400 | 385 | | |
| 386 | + | |
401 | 387 | | |
402 | 388 | | |
403 | 389 | | |
| |||
428 | 414 | | |
429 | 415 | | |
430 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
431 | 441 | | |
432 | 442 | | |
433 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
203 | 212 | | |
204 | 213 | | |
205 | 214 | | |
| |||
511 | 520 | | |
512 | 521 | | |
513 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
514 | 530 | | |
515 | 531 | | |
516 | 532 | | |
| |||
724 | 740 | | |
725 | 741 | | |
726 | 742 | | |
| 743 | + | |
727 | 744 | | |
728 | 745 | | |
729 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
0 commit comments