Commit Graph

1096 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
1498c9fca4 Bug 688913 - Finalize statements in extensions/cookie and toolkit/components/contentprefs. r=mak. 2011-10-28 10:55:20 -04:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
a66b1751b7 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Benjamin Stover
5f522bf736 Bug 674615 Remove nsPermissionManager's GetSingleton r=dwitte 2011-08-30 10:45:09 -07:00
Benjamin Smedberg
75ebf12f44 Merge the electrolysis branch to mozilla-central. 2011-08-19 10:15:52 -04:00
Malini Das
c20b68638f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Benjamin Smedberg
3ad781c193 Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one. 2011-08-02 15:35:42 -04:00
Michael Wu
46a170c5f0 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Josh Matthews
49858f3ead Bug 621367 - nsPermissionManager doesn't allow enumerator access in content processes (r=dwitte) 2011-07-13 18:03:44 +02:00
Chris Coulson
0ae15196ba Test case for bug 667087; r=dwitte 2011-06-28 17:40:17 -04:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Ehsan Akhgari
580d4bd109 Bug 650522 - Test handling of host names with a single character before a dot correctly; r=dwitte 2011-04-18 18:27:37 -04:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Ehsan Akhgari
2759ff18ea Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Serge Gautherie
20739294a0 Bug 228448 - Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'; (Hv1) /extensions/*.
r=cbiesinger.
2011-04-14 17:25:00 +02:00
Jonathan Kew
cd179a175b Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Paul Biggar
1beff55e64 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
d40bf9a237 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
80fee229de Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Matheus Kerschbaum
4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Shawn Wilsher
40a235bbf9 Bug 645099 - Stop using [deprecated] Storage methods in the permission manager
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
959ea8bc3e Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
b06dc06820 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Josh Matthews
eb4e568e5d Bug 619559 - Make permission manager notify observers in content processes. r=dwitte a=jst 2010-12-25 02:31:01 -05:00
Josh Matthews
2ffd687e92 Bug 618716 - Fix warnings in nsPermissionManager.cpp r=dwitte a=jst 2010-12-12 14:36:00 -05:00
Dan Witte
b255501115 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
Dão Gottwald
2a722f49df Bug 617910 - Broken instanceof checks in head_cookies.js. r=sdwilsh 2010-12-09 20:10:30 +01:00
Dão Gottwald
c07f5b2ea6 browser_test_favicon.js doesn't use Firefox-specific API anymore, remove MOZ_PHOENIX ifdef
--HG--
extra : rebase_source : 1a1e84700c9f1a605d14d8b6ffd42a33bdbb62da
2010-11-29 14:35:29 +01:00
Dan Witte
54619219ed Bug 612072 - Crash [@ nsCookieService::EnsureReadDomain(nsCString const&) ]. r=sdwilsh, a=betaN+ 2010-11-22 13:50:25 -08:00
Dan Witte
e3c3583539 Bug 547031 - Improve async error handling in cookies. Part 7: Tweak license boilerplates. r=sdwilsh, a=betaN+ 2010-11-12 09:32:36 -08:00
Dan Witte
6f2f3bc827 Bug 547031 - Improve async error handling in cookies. Part 6: Implement async error handling. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
4e2da22b12 Bug 547031 - Improve async error handling in cookies. Part 4: Fix SELECT bug in EnsureReadComplete(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
d68adf317c Bug 547031 - Improve async error handling in cookies. Part 3: Get the sync database connection early so it can't fail. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
c593ee0bc6 Bug 547031 - Improve async error handling in cookies. Part 2: Clean up TryInitDB(). r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
087d7b66aa Bug 547031 - Improve async error handling in cookies. Part 1: Refactor to allow multiple DBStates. r=sdwilsh, a=betaN+ 2010-11-12 09:32:35 -08:00
Dan Witte
272d7ce6a1 Bug 590843 - Fix bugs in purge logic. r=sdwilsh, a=final+ 2010-11-10 10:31:11 -08:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Dan Witte
aa0bfea616 Bug 608422 - cookies.sqlite-wal takes too much space for Fennec. Add test. r=mfinkle, a=beta2+ 2010-11-02 15:56:20 -07:00
Dan Witte
a6e5900b55 Bug 605908 - test_parent.js leaks objects. Part 1: nsPermissionManager leak. r=jdm, a=sdwilsh 2010-10-21 11:36:14 -07:00
Dan Witte
451c5169ed Bug 605671 - Intermittent failure in test_permmanager_notifications.js | exception thrown from do_timeout callback: ReferenceError: obs is not defined. r=jdm, a=test-only 2010-10-21 11:36:14 -07:00
Dan Witte
f6813f5d5e Bug 599799 - Cookies are doubled when switching between FF3.6 and FF4beta. Part 3: make test_eviction.js tolerant to slow execution. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
f8e7f27e13 Bug 599799 - Cookies are doubled when switching between FF3.6 and FF4beta. Part 2: migration tests. r=sdwilsh, a=betaN+ 2010-10-19 17:24:53 -07:00
Dan Witte
6afb301f05 Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=betaN+ 2010-10-19 17:24:52 -07:00
Dan Witte
734265ed01 Bug 595305 - Factor cookie third-party URI code into separate API. Tests. r=bent, a=betaN+ 2010-10-19 09:37:03 -07:00
Alon Zakai
106c2d532f Add missing MOZ_IPC ifdef in e14e2cc7d786 a=bustage-fix 2010-10-09 20:07:57 -07:00
Alon Zakai
984b79bca9 Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec 2010-10-09 11:07:38 -07:00
Dan Witte
43dadba962 Back out test changes due to Windows failure. a=bustage 2010-10-07 17:07:24 -07:00
Dan Witte
13704e463b Fix test bustage on Windows. a=bustage 2010-10-07 15:41:48 -07:00
Dan Witte
f88b46227b Bug 591447 - Cookie rowids may collide if PR_Now() winds backward. Part 3: test improvements. r=sdwilsh, a=beta8+ 2010-10-07 14:00:17 -07:00
Ehsan Akhgari
7bb26ec0ad Bug 568816 - Switching out of privacy mode fails when privacy mode is enabled via the command line option 'privacy-toggle'; r=zpao,dolske,jimm sr=rstrong a=blocking-beta7+
--HG--
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/do_test_0-privatebrowsing.js
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/test_0-privatebrowsingwrapper.js
2010-10-02 11:53:37 -04:00
Ehsan Akhgari
667aa064de Backed out changeset b08b684644a1 (bug 568816) because of Ts regression on Windows 2010-10-03 22:18:18 -04:00
Ehsan Akhgari
4fc4b53c27 Bug 568816 - Switching out of privacy mode fails when privacy mode is enabled via the command line option 'privacy-toggle'; r=zpao,dolske sr=rstrong a=blocking-beta7+
--HG--
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/do_test_0-privatebrowsing.js
rename : browser/components/privatebrowsing/test/unit/test_0-privatebrowsing.js => browser/components/privatebrowsing/test/unit/test_0-privatebrowsingwrapper.js
2010-10-02 11:53:37 -04:00
Dão Gottwald
0d50508fa8 Bug 587901 - test and nsSidebar.js fixes. r+a=dolske 2010-09-08 15:30:44 +02:00
Kyle Huey
6a7619752b Backed out changeset 1633907c75b7 2010-09-08 07:39:35 -04:00
Dão Gottwald
424cf2073f Bug 587901 - Remove favicon from Location Bar and add indicator for sites without identity information. r+a=dolske 2010-09-08 09:47:49 +02:00
Dan Witte
cf303b2f18 Bug 590611 - Raise cookies per basedomain limit to 150. r=sdwilsh, a=betaN+ 2010-09-01 16:27:10 -07:00
Jonas Sicking
ce596ea823 Fix missing comments from patch for bug 546857 2010-08-21 18:48:01 +02:00
Bobby Holley
fb797f7aec Backout of changesets c866e73f3209 and baff7b7b32bc because of sicking's push-and-run bustage. a=backout 2010-08-20 23:42:24 -04:00
Jonas Sicking
6e2c9b1a30 Fix missing comments from patch for bug 546857 2010-08-20 17:50:35 -07:00
Jonas Sicking
deafeb0a9e Bug 546857 Part 2: Allow permissions to be set on files. r=dwitte a=blocker 2010-08-19 16:06:07 -07:00
Josh Matthews
f0ccb9c187 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Dan Witte
71afaa06a5 Bug 572223 - too much cookies.sqlite io. Part 8: test write + close + read combination. 2010-08-02 17:03:25 -07:00
Dan Witte
f91b34de6e Bug 572223 - too much cookies.sqlite io. Part 4: tests. r=sdwilsh 2010-07-29 12:17:43 -07:00
Dan Witte
55339a9932 Revert bug 572223 to fix creation of duplicate cookies. 2010-08-01 12:24:38 -07:00
Dan Witte
f58d772af5 Bug 572223 - too much cookies.sqlite io. Part 4: tests. r=sdwilsh 2010-07-29 12:17:43 -07:00
Chris Jones
613ff7284a Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Alon Zakai
3a1ca13d73 Bug 564535 - permission manager needs to be remoted [r=dwitte] 2010-07-15 10:04:25 -04:00
Dan Witte
904501ea58 Add new images to circumvent caching during tests. b=450450 2010-07-02 17:40:29 -07:00
Dan Witte
8820a7ad2e Switch from Cache-Control: no-cache to no-store to see if it fixes random orange. b=450450 2010-07-02 10:24:03 -07:00
Benjamin Smedberg
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
5f7a36ec28 Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Benjamin Smedberg
822ccb0789 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Dan Witte
63ad468a67 Bug 573061 - Add persistent cookie tests. Part 2: revise and add tests. r=sdwilsh 2010-06-21 17:50:35 -07:00
Benjamin Smedberg
a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Jason Duell
386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
b2c88178e3 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Dan Witte
e34c65ee5d Bug 565475 - Allow 3rd party cookies for session only. r=sdwilsh 2010-06-07 12:32:12 -07:00
Doug Turner
0dc0f3273e merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Dan Witte
90b6b20cf2 Bug 537156 - [e10s] Implement cookies. r=jduell,sdwilsh; sr=bz 2010-03-25 16:02:28 -07:00
Joel Maher
6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Timothy Nikkel
69e3ed9819 Bug 450450. Add some more debugging output to try to diagnose random orange. 2010-06-08 14:18:30 -05:00
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Dão Gottwald
4c2a8592be Use ordinary JS functions as observer callbacks in browser chrome tests 2010-02-06 09:47:42 +01:00
Benjamin Smedberg
178a0bbb4b Bug 541155 - test_loadflags.html doesn't reset prefs properly (manifests as a failure in modules/plugin/test/test_cookies.html), r=dwitte
--HG--
extra : transplant_source : VM%EB%A5.b%EC%CB1%1FGB%C2%A0%0E%C4%60%B0r4
2010-01-21 14:11:49 -05:00
Dan Witte
d55818f5b3 Bug 536650 - Cookie values not saved for pages loaded from file://; part 2: deal with empty hosts in the
cookieservice . r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Dan Witte
a2da93319e Bug 321624 - cookie per-host limit doesn't include all cookies from a domain. r=sdwilsh 2009-12-19 15:55:56 -08:00
Dan Witte
04a3ac83b6 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
John Daniels
2556f6f857 Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Dan Witte
44267422bf Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-18 10:52:33 -08:00
Dan Witte
4d89c9378b Back out bug 526789 to see if it's the cause of mochi orange. 2009-11-17 15:16:44 -08:00
Ehsan Akhgari
4da46a45c0 Bug 526194 - r=vlad
--HG--
extra : rebase_source : 410c69341dab86377f94026709c3aa1f13c36a6d
2009-11-17 15:01:15 -05:00
Dan Witte
7c8602993f Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-13 13:05:50 -08:00
Phil Ringnalda
f97b51aefb Backed out changeset a696d331ebf7 (bug 526789) for test failures 2009-11-09 19:45:23 -08:00
Dan Witte
e9f7ee50f8 Bug 526789 - UMR in nsCookieService::CountCookiesFromHostInternal, GetCookiesFromHost, and
GetCookieInternal when given empty host string. r=biesi
2009-11-09 16:21:57 -08:00
Dan Witte
580ef7cac5 Add xpcshell test to make sure things stay in sync when switching PB mode. b=481775, r=sdwilsh 2009-10-22 13:53:58 -07:00
Dan Witte
1e72a4964a merge. 2009-10-16 16:17:43 -07:00
Dan Witte
7911153c5a test failure fix. 2009-10-16 16:16:31 -07:00
Sid Stamm
0e1cce64fa Bug 519263 - Session and time-based expiration for permissions in permissions manager. r=dwitte,
sr=mrbkap. First patch! Yay!!
2009-10-16 14:01:04 -07:00
Timothy Nikkel
74281e7967 Bug 559998. Fix randomly failing test by ignoring notifications we don't care about. r=dwitte 2010-04-30 15:48:40 -07:00
Dan Witte
b6ef5c2e84 Reverting debugging changes for bug 559998. 2010-04-30 15:47:38 -07:00
Timothy Nikkel
455453ca4b Bug 559998. Add some debug output to diagnose random orange. 2010-04-29 20:15:44 -05:00
Dan Witte
2ccb4a2c08 Back out failing tests. 2010-05-28 16:58:06 -07:00
Dan Witte
94fa8063b2 Try to fix randomly failing test. 2010-05-28 16:00:19 -07:00
Dan Witte
0825913b70 Fix persistent cookie tests. b=565475 2010-05-28 14:15:14 -07:00
Dan Witte
d2ce665b7f Backing out failing tests. 2010-05-27 18:23:39 -07:00
Dan Witte
33e0f74cc6 Fix test timeout. 2010-05-27 17:36:57 -07:00
Dan Witte
650f1b099e Add tests for cookie persistence and third party cookies. 2010-05-27 14:38:49 -07:00
Dan Witte
9aca714e3b Bug 565475 - Allow 3rd party cookies for session only. r=sdwilsh
--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
2010-05-27 14:38:43 -07:00
Timothy Nikkel
590cec5f9c Bug 450450. Add some debugging output to try to fix random orange in test_loadflags.html. 2010-05-25 18:40:45 -05:00
Mark Banner
8376e9e637 Bug 501925 Change cookie policy to relax the mailnews-specific APP_TYPE_MAIL requirement. r=Neil,r=dwitte,sr=dmose 2009-09-02 09:42:53 +01:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Serge Gautherie
dd75783c9f Bug 450450 - mochitest-plain: test_loadflags.html intermittently fails; (Bv1a) Make it more serial, explicit and documented; r=dwitte 2009-08-07 01:43:53 +02:00
Ted Mielczarek
fb6939649b bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Ted Mielczarek
092e85a88d Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek
bb3956d8f7 bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Serge Gautherie
9598328933 Bug 450450 - <test_loadflags.html> intermittently fails
(Av2a) Call |window.removeEventListener()| ++
2009-07-25 03:16:33 +02:00
Mark Smith
83c646ef2f Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Josh Aas
59bfeb371e Remove nsICookieStorage, part of the XPCOM plugin API. b=432354 r/sr=jst,sicking 2009-06-13 13:16:40 -07:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Ehsan Akhgari
63383cd735 Bug 488811 - nsIPermissionManager.removeAll() should delete DB and re-init rather than just bailing; r=dwitte sr=bzbarsky 2009-04-18 10:12:09 +03:30
Ted Mielczarek
1771ccc676 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Dan Witte
b0e5d90925 Backed out changeset d6a5afef5837 2009-03-16 01:33:54 -07:00
Dan Witte
b3267037da Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-03-15 21:38:56 -07:00
Chris Double
025be432dd Backed out changeset 98381f8c8e08 due to test failure 2009-03-05 23:19:14 +13:00
Dan Witte
ef83e1d68c change cookie eviction so that purges only take place when the limit on max cookies is reached, and the oldest cookie is greater than a set age. b=444600, r=sdwilsh,
sr=mconnor.
2009-03-04 22:11:24 -08:00
Ben Newman
87e50a6bd5 Fixing bug 470356. Make the cookie dialogs open up modal to their origin tabs chrome window so that the dialog is centered on the window, and no centered on the screen. r=dwitte@stanford.edu, sr+a=jst@mozilla.org 2009-01-22 21:33:10 -08:00
Ehsan Akhgari
481277e527 Bug 468700 - Having "Ask me Everytime" enabled for Cookies during Private Browsing is unusable (test fix); r,sr=bzbarsky 2009-01-22 11:35:30 +03:30
Fred Jendrzejewski
424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Ehsan Akhgari
0f255ebcea Bug 468700 - Having "Ask me Everytime" enabled for Cookies during Private Browsing is unusable; r=dwitte sr=bzbarsky 2009-01-21 11:16:28 +03:30
Johnny Stenback
ddc8a7f685 Fixing bug 405239. Cookie confirmation dialog focuses a newly opened background tab. r+sr+a=jonas@sicking.cc 2008-11-26 20:59:47 -05:00
Boris Zbarsky
a2b28f6144 Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00
Gavin Sharp
7b41cb93e4 Backed out changeset f014c59ad81d 2008-11-04 23:35:39 -05:00
Jeff Muizelaar
e6551e382c Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, original patch by shaver@mozilla.org, r+sr=biesi 2008-11-04 23:11:31 -05:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Justin Dolske
0a4f228e1e Bug 455057 - some chrome images have embedded profiles. ui-r=faaborg, sr=mconnor. 2008-10-16 15:20:21 -07:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert Strong
cf1c5752d8 Disabling test_loadflags - see Bug 454857 and Bug 421494. 2008-09-11 12:38:59 -07:00
jwalden@mit.edu
ce28707a93 Bug 430251 - Update to latest HTML5 and make postMessage dispatch its event asynchronously, as well as dispatch at the window, not the document. r=jst, r=smaug, sr=sicking, a=damons, c=cookie 2008-05-02 12:26:47 -07:00
kairo@kairo.at
9b6caac281 bug 431453 - Make browser-chrome mochitests pass on SeaMonkey: make some platform tests Firefox-only or non-SeaMonkey (as applicable), r=smontagu for docshell, r=dwitte for cookie, r=gavin for dlmgr, a1.9=damons for platform tests; make SeaMonkey sanitizer tests pass, sr=Neil 2008-05-02 06:13:19 -07:00
gavin@gavinsharp.com
b946893c7d Back out the patch for bug 235853, again, because of mochi*chrome* failures this time. 2008-04-17 19:49:40 -07:00
gavin@gavinsharp.com
632b77dde8 Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, and fix HTTP channel code to properly forward cache-related properties to new proxied channels, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner 2008-04-17 18:36:29 -07:00
dwitte@stanford.edu
1712f98d00 remove ailing test. 2008-03-16 02:31:36 -07:00
dwitte@stanford.edu
5874ee4da8 disable failing test on mac. 2008-03-12 01:35:57 -07:00
dwitte@stanford.edu
85e49a64d5 Bug 421494 - reimplement third party cookie blocking. r=mconnor, sr=bz, blocking1.9+ 2008-03-12 00:53:50 -07:00
dwitte@stanford.edu
cd7f7e893e Bug 416207 - Update cookie/permission services from changes to mozIStorageService::OpenDatabase. r=sdwilsh, sr=mconnor, a=beltzner 2008-02-28 00:23:12 -08:00
jag@tty.nl
05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
dwitte@stanford.edu
8eb96a90ea tweaking debug warning to reduce noise. 2008-01-11 16:38:38 -08:00
dwitte@stanford.edu
bd5df04b78 move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+. 2007-12-04 22:37:36 -08:00
sayrer@gmail.com
2efc644b24 Bug 396648. nsPermissionManager tries to open two files that usually don't exist. r/sr=biesi, a=bzbarsky 2007-09-20 22:09:54 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
dwitte@stanford.edu
474d261490 cid and comment don't match, b=305444 2007-06-22 04:12:13 -07:00
dcamp@mozilla.com
1b552952ed Bug 378685 - Permission manager should operate on innermost URI, r=dveditz sr=mconnor 2007-06-21 09:32:46 -07:00
dwitte@stanford.edu
5493e24575 switch cookies over to mozStorage. b=230933, r=sdwilsh, sr=mconnor.
remove nsInt64 usage from cookies, b=384225, r+sr=biesi.
2007-06-17 14:52:22 -07:00
bent.mozilla@gmail.com
20b6443053 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -07:00
dwitte@stanford.edu
1852ac4c86 implement CountCookiesFromHost() in cookie backend for perf reasons, and update consumers to use it.bug 379239, r=mvl, sr=biesi 2007-05-05 14:09:54 -07:00
dbaron@dbaron.org
e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
kaie%kuix.de
16051c655c bug 370802, nsIPermissionManager: Add ability for exact hostname testing
r/sr=cbiesinger
2007-02-20 15:24:36 +00:00
cbiesinger%web.de
5b2acd0545 bug 341008 Fix sscanf error checking
r=mvl sr=darin a=darin
2006-06-15 13:52:00 +00:00
benjamin%smedbergs.us
f6bfecb758 Bug 341252 - extensions/cookie and extensions/permissions both have a nsModuleFactory.cpp which causes libxul link failure, r=darin 2006-06-12 17:56:15 +00:00
benjamin%smedbergs.us
d1a126b47a Bug 339099 - Integrate extensions/cookie and extensions/permissions into libxul, r=darin 2006-05-25 15:45:17 +00:00
gavin%gavinsharp.com
25e3210412 Bug 334319: buffer overrun in nsPermissionManager::Read when reading an invalid cookperm.txt file, r=mvl, sr=darin 2006-04-22 13:32:25 +00:00
benjamin%smedbergs.us
70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
cbiesinger%web.de
55f9f3d9c7 bug 333263 only call Read() when mPermissionsFile is initialized
r=mvl sr=darin
2006-04-11 15:09:51 +00:00
joshmoz%gmail.com
d5218ccc10 Don't warn when expected error path is taken. b=327052 r=darin sr=bz 2006-02-14 18:12:47 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
gavin%gavinsharp.com
f62956755c Bug 315345: Remove unused nsIPermission.idl, r+sr=darin 2005-12-26 01:20:59 +00:00
roc+%cs.cmu.edu
5f59e639bc Bug 315345. nsIPermission should be in network/base/public for now, alongside nsIPermissionManager. r+sr=darin 2005-12-06 01:32:59 +00:00
mvl%exedo.nl
660a01e085 Don't crash when setting a previously deleted cookie permission.
bug 300301, r=dwitte, sr=darin, a=mconnor.
2005-07-17 10:10:31 +00:00
timeless%mozdev.org
2313cf8ce8 Bug 298278 remove useless references to nsVoidArray
r=mvl sr=darin a=tor
2005-06-28 21:20:04 +00:00
bsmedberg%covad.net
be30b2f533 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-04 18:38:19 +00:00
dwitte%stanford.edu
468c1908e5 removing obsolete file. 2005-03-30 08:41:43 +00:00
mvl%exedo.nl
3db420c858 remove the old imgmanager from cookies.
bug 287628, r=dwitte, sr=bzbarsky
2005-03-29 09:52:19 +00:00
bugzilla%arlen.demon.co.uk
799f78ca77 Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details) - removing seven files that got missed during previous prune
p=me r=dwitte/benjamin sr=darin
2005-03-10 22:42:29 +00:00
bugzilla%arlen.demon.co.uk
e38466c089 Bug 277097 Tidy up cookie js/xul/pref code (Removing js/xul from extensions/cookie) - history for pref-cookies.xul/dtd and pref-images.xul/dtd can be got from the attic (see bug for details) - file removal part
p=me r=dwitte/benjamin sr=darin
2005-03-10 18:59:11 +00:00
bsmedberg%covad.net
e75d55a075 From bug 282057 - brand.dtd now lives in chrome://branding/locale/brand.dtd 2005-03-10 18:44:11 +00:00
bsmedberg%covad.net
361daac936 Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
bugzilla%arlen.demon.co.uk
dea6111c25 Bug 252698 Use buttonlabel attributes in <dialog>s
p=me r=neil.parkwaycc.co.uk sr=dveditz
2005-02-21 00:57:10 +00:00
bugzilla%arlen.demon.co.uk
aed86090c0 Bug 239557 Cleanup of new Cookie UI for 1.8a
p=me/mvl r=mvl sr=neil.parkwaycc.co.uk a=asa
2005-02-13 20:48:38 +00:00
bugzilla%arlen.demon.co.uk
eb49b2ae4c Backing out bug 239557 - forgot the sr - no more early morning checkins if I can help it 2005-02-10 13:53:59 +00:00
bugzilla%arlen.demon.co.uk
a43c894c70 Bug 239557 Cleanup of new Cookie UI for 1.8a/b
p=me/mvl r=mvl a=asa
2005-02-10 00:45:39 +00:00
dwitte%stanford.edu
33e373e757 tidy up popup blocker code.
b=279710, r+sr=dveditz.
2005-02-06 08:25:40 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
timeless%mozdev.org
0310217f8d Bug 243385 Crash [@ nsPermissionManager::GetHost]
patch by db48x@yahoo.com / gautheri@noos.fr r=mvl sr=bz
2005-01-17 09:13:27 +00:00
mvl%exedo.nl
dbd7b0260c enable permissions extension. Update UI to use it. migrate old prefs.
bug 240070, r=dwitte, sr=darin
2004-12-15 18:31:23 +00:00
bryner%brianryner.com
29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net
f103a62f64 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
darin%meer.net
c22fc6623b fixes bug 268107 "mailnews allows cookies, despite the pref" r=mvl sr=bienvenu 2004-11-08 22:15:30 +00:00
bugzilla%arlen.demon.co.uk
ecc947a4ea Bug 260364 Fixup radiogroups to use new .value functionality of radio.xml
p=me r/sr=neil a=asa
2004-09-24 00:55:43 +00:00
pete.zha%sun.com
36b3e5d79e bug 254553
Preference items in "images" is not lockable
r=neil.parkwaycc.co.uk, sr=jag
patch=brian.lu@sun.com
2004-09-09 07:11:27 +00:00
mvl%exedo.nl
d5734faf76 Show favicons when blocking third party images.
bug 256172, r=dwitte, sr=shaver
2004-09-02 13:44:31 +00:00
dwitte%stanford.edu
3441040ff5 Bug 253597 Trunk crash blocking ads/images [@ nsImgManager::TestPermission]
p=mvl r=dwitte sr=darin
2004-08-01 22:38:10 +00:00
bzbarsky%mit.edu
02d0d94b73 Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
dwitte%stanford.edu
dee773b6e5 make cookie & permission files non-world-readable.
b=59557, patch by Pavel Kankovsky (peak@argo.troja.mff.cuni.cz), r=dwitte, sr=bz.
2004-07-20 07:27:28 +00:00
dwitte%stanford.edu
bdf2a2307d sprinkle some asserts, and remove redundant #include. 2004-07-19 23:38:35 +00:00
dwitte%stanford.edu
e338583f48 rename nsISafeFileOutputStream to nsISafeOutputStream, and make nsBufferedOutputStream aware of it, to make life easier on consumers.
b=251648, r=biesi, sr=darin, with thanks to darin and bz for suggestions.
2004-07-19 22:00:03 +00:00
bzbarsky%mit.edu
23673826b6 Fix image blocking for iframes. Bug 200433, r=mvl, sr=jst. 2004-07-18 19:40:44 +00:00
dwitte%stanford.edu
bd8bee85d7 quick fix to get cookie/permission file saving working on trunk again, while we hash out a real fix.
b=251648, r+sr=darin
2004-07-16 20:08:08 +00:00
mvl%exedo.nl
2ebd61764c init mChangedList
bug 251247, r=dwitte, sr=darin
2004-07-15 15:16:42 +00:00
dwitte%stanford.edu
76c59a7697 add Finish() method to nsISafeFileOutputStream, and tweak things slightly.
b=251091, r=mvl, sr=darin
2004-07-15 05:52:37 +00:00
stephendonner%yahoo.com
e7ce67e609 Bug 250845. Rename 'Turn Off Privacy Settings' to 'Allow All Cookies' in P3P dialog. r=mconnor, sr=neil, a=shaver 2004-07-14 04:54:19 +00:00
mvl%exedo.nl
149a807e1b use nsISafeFileOutputStream to prevent hostperm.1 from being truncated when the disk is full
bug 145557, r=dwitte, sr=darin, a=asa
2004-07-10 11:04:33 +00:00
timeless%mozdev.org
6d68244162 Bug 240947 use content instead of _content
r=neil sr=dveditz
2004-06-25 17:44:41 +00:00
mvl%exedo.nl
3688853ede Add a way to manually show a single blocked pop-up window
bug 198846, r=danm, sr=jag
2004-06-08 12:06:56 +00:00
dveditz%cruzio.com
700ac609cc fix for xpinstall (tier 50) dependency on extension/cookie (tier 94) build bustage (bug 245826, resulting from the fix for bug 240552). Band-aid r/sr bryner and darin 2004-06-08 03:11:21 +00:00
mvl%exedo.nl
ae01124eaf fix compiler warning
Bug 244080, patch by tenthumbs@cybernex.net, r=mvl, sr=darin
2004-06-04 08:56:50 +00:00
neil%parkwaycc.co.uk
93e990ff0c Bug 90984 Prefer "website" to "web site" p=tmeader@gmail.com r=me sr=jag 2004-06-02 22:59:39 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
sspitzer%mozilla.org
f00543e3e2 fix for bug #244279
Enabling popup blocking from About Popups fails to set the preference.

thanks to neil for the fix.

r=mconnor, sr=dveditz
2004-05-22 05:46:52 +00:00
mvl%exedo.nl
fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
dwitte%stanford.edu
439a0fa517 fix a build warning. b=242588, r=mconnor, sr=darin 2004-05-05 02:06:38 +00:00
bienvenu%nventure.com
4d40ab419f make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538 2004-04-22 15:32:54 +00:00
gerv%gerv.net
86486431ae Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:14:17 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
mconnor%myrealbox.com
183524ff31 Bug 238931: remove the magic number 8 (kill ALLOW_SESSION_ONLY const), r=dwitte, sr=darin, a1.7=asa, fix dwitte's folly by implementing the session perm value on nsICookiePermission 2004-04-07 23:27:02 +00:00
mconnor%myrealbox.com
d5db0bff70 Bug 239240: Choosing Unblock Images from this Server in context menu whitelists site instead of removing permission, r=dwitte, sr=darin, a1.7=asa 2004-04-07 23:23:50 +00:00
dwitte%stanford.edu
54d72ed6aa make the classic privacy dialog icon a classic picture, instead of modern.
patch by durbacher@gmx.de.

b=200009, r=mconnor, sr=alecf, a=chofmann
2004-04-06 04:28:45 +00:00
mconnor%myrealbox.com
c48af3a33a bug 238045 - Cookie manager of 1.7beta does not display stored cookies, r=mvl, sr=darin, a=chofmann, display a blank value for expiry if FormatDateTime chokes on really long-lived cookies 2004-03-31 00:38:17 +00:00
jst%mozilla.jstenback.com
1799c57970 Backing out the frontend part of the fix for bug 198846 since it caused bug 235457, which wasn't fixable in time for 1.7b. 2004-03-16 20:13:14 +00:00
bzbarsky%mit.edu
55d9209a4a Fix image blocking for backgrounds. Bug 236919, r=jst, sr=dbaron, a=chofmann 2004-03-13 18:11:01 +00:00
mvl%exedo.nl
0b2a2ee20d Wait to write out the permissions file until after 2 seconds of inactivity, to speed up deleting of losts of entries.
bug 236641, r=dwitte, sr=darin, a=dveditz
2004-03-12 18:02:38 +00:00
mconnor%myrealbox.com
a3a27f4e08 bug 233339 - rewrite CanSetCookie to reflect what dialogs now do, r=dwitte, sr=darin 2004-03-10 06:47:49 +00:00
mconnor%myrealbox.com
e4756a402c bug 102269: Cookie Manager: Server Secure is unclear. r=mvl, sr=alecf 2004-03-07 08:25:59 +00:00
mconnor%myrealbox.com
c4867a2b27 previous checkin should have read bug 230624 - better dialog version, r=neil, sr=jst 2004-03-05 01:45:15 +00:00
mconnor%myrealbox.com
c8cc2ca097 *** empty log message *** 2004-03-05 01:31:43 +00:00
neil%parkwaycc.co.uk
0c857f80f8 Bug 235190 Remove cookie icon xul that Classic doesn't like p=hj r=me sr=darin 2004-02-25 12:54:00 +00:00
mvl%exedo.nl
054f4164df If domain.com is blocked, sub.domain.com is blocked, but cannot be unblocked using remove
Part two, domainwalk in nsPermissionManager.
Bug 224327, r=dwitte, sr=darin
2004-02-10 19:57:33 +00:00
mvl%exedo.nl
4bc72bffba Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
Bug 198846, r=danm, sr=jag
2004-02-10 18:22:23 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
mvl%exedo.nl
20c77dd560 Create a new file to store nsPermissionManager's data in.
This will create a hostperm.1 file instead of cookperm.txt. The new file has more flexibility.
Bug 219752, r=dwitte, sr=darin
2004-02-08 13:04:13 +00:00
neil%parkwaycc.co.uk
3c188db3db Bug 223294 <dialog>s no longer need a <separator> at the bottom of their content p=stefan@borggraefe.com r=me sr=ben 2004-02-04 23:44:29 +00:00
timeless%mozdev.org
93aa40c3fa Bug 229147 mHost = ArenaStrDup from nsHostEntry can fail and needs to be handled
r=mvl sr=bz
2004-02-04 16:15:38 +00:00
kairo%kairo.at
3d12a17e05 bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions 2004-02-04 14:24:38 +00:00
dwitte%stanford.edu
3b6c37bc82 remove preference imageblocker.enabled.
b=208882, patch by mconnor@myrealbox.com, r=mvl, sr=alecf.
2004-02-01 09:17:51 +00:00
dbaron%dbaron.org
17c9bcdadb Unregister pref observer onunload to prevent it leaking until shutdown. Also run more onload rather than when the script is executed. b=231384 r=mvl sr=bryner 2004-01-30 00:46:32 +00:00
bzbarsky%mit.edu
16e457b12e Rework cookie dialogs to allow setting session-only cookies. Bug 230624, patch
by Mike Connor <mconnor@myrealbox.com>, r=mvl, sr=darin
2004-01-29 03:34:58 +00:00
bsmedberg%covad.net
7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
timeless%mozdev.org
9295d04d92 Bug 228397 Warning `assignment to undeclared variable uri'' [xs] in file `chrome://cookie/content/cookieContextOverlay.xul'', line 53, character 0.
r=dwitte sr=bz
2003-12-21 04:04:12 +00:00
dwitte%stanford.edu
4efc16689c implement session cookie UI. thanks to mconnor for the patch!
b=225857, p=mpconnor@myrealbox.com, r=neil, sr=alecf
2003-12-20 03:08:44 +00:00
dbaron%dbaron.org
d5582721b7 Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
neil%parkwaycc.co.uk
eebf110595 Bug 225840 clean up after <window> to <dialog> conversion p=gautheri@noos.fr r=me sr=ben a=asa 2003-12-01 23:44:39 +00:00