Closed Bug 579334 Opened 14 years ago Closed 14 years ago

Async visits are ignoring a disabled history

Categories

(Toolkit :: Places, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b2
Tracking Status
blocking2.0 --- beta2+

People

(Reporter: mak, Assigned: mak)

References

Details

(Keywords: privacy, regression)

Attachments

(1 file, 1 obsolete file)

Async visits are using canAddURI but it does not check isHistoryDisabled.
should block beta2
blocking2.0: --- → ?
Blocks: 560198
Privacy exposure, marking blocking.
blocking2.0: ? → beta2+
Attached patch patch v1.0 (obsolete) — Splinter Review
I put this up pretty quickly, will need a tryserver run and more eyes.
Tests are mostly a partial copy of the existing one.
Getting feedback from Benjamin, he said he ad ideas for an orange we saw, so let's see if our ideas could be similar.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Attachment #457922 - Flags: feedback?(webapps)
If this is going to make beta 2, it'll have to be reviewed and checked in by end of day today. Is that likely to happen?
Attachment #457922 - Flags: review?(sdwilsh)
tryserver run was fine, so I'm positive we can do that.
(In reply to comment #4)
> If this is going to make beta 2, it'll have to be reviewed and checked in by
> end of day today. Is that likely to happen?
If you believe in magic (of the speedy review kind) :)
Comment on attachment 457922 [details] [diff] [review]
patch v1.0

>+++ b/toolkit/components/places/tests/browser/Makefile.in
>@@ -48,6 +48,8 @@ include $(topsrcdir)/config/rules.mk
> _BROWSER_FILES = \
> 	browser_bug399606.js \
> 	browser_visituri.js \
>+  browser_visituri_nohistory.js \
>+  browser_visituri_privatebrowsing.js \
> 	browser_settitle.js \
> 	$(NULL)
nit: tabs before, now spaces.  Just be consistent (don't care which way you want to go)

>+++ b/toolkit/components/places/tests/browser/browser_visituri_nohistory.js
>+function waitForClearHistory(aCallback) {
nit: brace on new line (like every other function you declare)

>+++ b/toolkit/components/places/tests/browser/browser_visituri_privatebrowsing.js
>+function waitForClearHistory(aCallback) {
nit: brace on new line (like every other function you declare)

r=sdwilsh
Attachment #457922 - Flags: review?(sdwilsh) → review+
Attached patch patch v1.1Splinter Review
Attachment #457922 - Attachment is obsolete: true
Attachment #457922 - Flags: feedback?(webapps)
http://hg.mozilla.org/mozilla-central/rev/7a697c59e0e4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b2
Depends on: 589611
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: