918 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
bzbarsky%mit.edu
5525c8b256 Improve wording of the postdata dialog. Bug 112848, patch by Magnus Melin
<mkmelin+mozilla@iki.fi>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@214849 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 03:28:50 +00:00
bzbarsky%mit.edu
bf8031aad7 Nuke SameOrSubdomainOfTarget. Bug 327109, r=dveditz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@213311 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 15:54:28 +00:00
gavin%gavinsharp.com
2d754e627c Bug 351777: domain fixup/guessing broken, r=biesi, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@212229 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 02:45:23 +00:00
gavin%gavinsharp.com
1d38e72bdb Bug 349419: add nsIDocShellLoadInfo type for fixup, to silence an assertion that occurs any time a URI is fixed up, r=biesi, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@208997 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 15:58:18 +00:00
bzbarsky%mit.edu
4e288d05f2 Retarget key events to the parent presshell if we have no root content. Bug
303260, r=mats, sr=roc


git-svn-id: svn://10.0.0.236/trunk@208595 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 02:04:16 +00:00
cbiesinger%web.de
50b5a1abdb Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at
http://wiki.mozilla.org/Necko:nsIAuthPrompt2
r=darin


git-svn-id: svn://10.0.0.236/trunk@208549 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-26 21:42:54 +00:00
bzbarsky%mit.edu
72be990e3f Use a better way of detecting a newly-opened window. Bug 346404, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@208156 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-23 04:10:05 +00:00
enndeakin%sympatico.ca
bb48b12712 Bug 341524, DOM storage should follow cookie prefs
git-svn-id: svn://10.0.0.236/trunk@207903 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-19 01:21:58 +00:00
bzbarsky%mit.edu
0583386559 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
jwalden%mit.edu
6a5928f06a Bug 26496 - Jar protocol fails silently on file-not-found. r=darin, sr=bz
git-svn-id: svn://10.0.0.236/trunk@207150 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 18:36:32 +00:00
marria%gmail.com
59502dae7c Bug 346851 (LOAD_FLAGS_NEW_WINDOW naming doesn't make much sense) Changed variable name and updated comment. r=cbiesinger, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206673 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 18:17:29 +00:00
marria%gmail.com
60a33e8b9f Bug 344808 (Canceling a [download whose link tries to open a new window] causes current tab to close, when browser.link.open_newwindow is 1) This fix does not mark the window returned by Open as new, if it is the same as the original window. r=cbiesinger,sr=darin
git-svn-id: svn://10.0.0.236/trunk@206471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 06:22:49 +00:00
marria%gmail.com
741003fbf5 Bug 346586 (Non-PRBool values passed as PRBool in bug 241972)
git-svn-id: svn://10.0.0.236/trunk@206368 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 03:05:17 +00:00
bzbarsky%mit.edu
e87dae66f8 Back out the additional patch for bug 305181 to fix bug 346259. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@206108 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 04:04:16 +00:00
bzbarsky%mit.edu
19ee511bc7 Flush out layout when someone asks how big we are. Bug 344861, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@203323 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 00:46:17 +00:00
sharparrow1%yahoo.com
8842d0b209 Bug 344696: Remove nsIDeviceContext::Get/SetZoom. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@203317 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 00:16:07 +00:00
gavin%gavinsharp.com
73c11d48e9 Bug 341112: LOAD_FLAGS_BYPASS_CACHE flag of nsIWebNavigation::loadURI doesn't work, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@201785 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-08 21:25:08 +00:00
marria%gmail.com
c8758b856c Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin
git-svn-id: svn://10.0.0.236/trunk@201538 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 20:48:33 +00:00
beng%bengoodger.com
e5e17a6285 336903 - feeds should not run with chrome privileges. Expose a currentDocumentChannel attribute on nsIDocShell to look at the channel of the currently loaded page (so that we can find out its actual real URI, etc vs. what webNavigation thinks it is (originalURI). r=bz sr=darin
git-svn-id: svn://10.0.0.236/trunk@201021 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 19:54:47 +00:00
bzbarsky%mit.edu
6aa4a59940 Save the principal in the session history entry so that reloading a data: URL
will do the right thing.  Also, change CheckLoadURI to allow null
principals to load things that anyone can load (e.g. http:// URIs).  Bug
337260, r=dveditz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@200350 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:08:45 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
bzbarsky%mit.edu
3e662003ef Make the documentURI of a document and the currentURI of a docshell immutable objects.
Bug 336699, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@198750 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-31 17:57:14 +00:00
Olli.Pettay%helsinki.fi
b80a1908db Bug 336978, Crash when window gets destroyed on pagehide event, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@198348 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-24 20:31:59 +00:00
jst%mozilla.jstenback.com
d2e3ffe355 Fixing bug 335540. Implement whatwg webapps storage. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/vlad/jst.
git-svn-id: svn://10.0.0.236/trunk@197976 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 05:57:36 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
835dfa8642 Make documents be consistent with docshell wrt what the actual document URI
is.  Bug 335457, r=dveditz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@195963 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-04 15:21:50 +00:00
roc+%cs.cmu.edu
1b9b0d8fc6 Bug 336359. Fire WHATWG online/offline events when the browser offline status changes. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@195938 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:53:08 +00:00
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
bzbarsky%mit.edu
037c39c7a0 Prevent loads starting after docshell destruction. Bug 332901, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@194183 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 22:37:59 +00:00
bzbarsky%mit.edu
1770a15948 Don't do third-party keyword lookup if the string we started with looked like a
URI (had a scheme, eg).  Bug 263213, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@194182 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 22:33:19 +00:00
martijn.martijn%gmail.com
c5466a75d1 Bug 331040 - Crash when removing parent iframe in onbeforunload handler. Patch by Feng Qian, r=bryner, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193646 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 23:57:30 +00:00
roc+%cs.cmu.edu
e9fd34c810 Bug 331522. By default, do not allow keyword searches when navigating to URLs; modify browser UI code to enable keyword searches only on selected URL input mechanisms (e.g., typed into the URL bar). r+sr=darin,r=mconnor
git-svn-id: svn://10.0.0.236/trunk@193458 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 23:17:51 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
bzbarsky%mit.edu
39c9fd36c5 Make _main and _content target the right things when tabs are involved. Bug 277971 and bug 273984, r=bsmedberg, sr=jst, branch181=jst
git-svn-id: svn://10.0.0.236/trunk@192933 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 19:38:50 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
benjamin%smedbergs.us
b191073e47 Bug 326491 - leaked observer service leaks things on shutdown - r=darin
git-svn-id: svn://10.0.0.236/trunk@192696 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 14:43:56 +00:00
darin%meer.net
119bbaf729 backing out bsmedberg's patch for bug 326491 to fix bug 329505.
git-svn-id: svn://10.0.0.236/trunk@192045 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us
c4b2b6637f Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin
git-svn-id: svn://10.0.0.236/trunk@191774 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 14:04:05 +00:00
cbiesinger%web.de
031dc8af70 bug 324985 Allow components to register in a category to get told about all page
loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@191729 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 21:06:53 +00:00
bryner%brianryner.com
4c748eac9b Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191724 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 20:18:07 +00:00
bzbarsky%mit.edu
7ea406aa26 Revert nsIGlobalHistory2 to what it was on the 1.8 branch. Move the new stuff
to nsIGlobalHistory3.  Bug 328928, r=brettw and smfr, sr=darin


git-svn-id: svn://10.0.0.236/trunk@191656 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 03:34:48 +00:00
bzbarsky%mit.edu
5eea6eae6d Additional tweak to make session history a little safer. Bug 305181, r=bryner, sr=darin
git-svn-id: svn://10.0.0.236/trunk@191004 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 05:30:25 +00:00
mrbkap%gmail.com
424bc2e551 Only warn in debug builds, and don't assert on user defined actions. bug 153783, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@190784 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 02:28:04 +00:00
bzbarsky%mit.edu
1ae2fb0ab4 Document the channel owner stuff better. Bug 327070, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@190595 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 18:59:06 +00:00
cbiesinger%web.de
2a4074508b Bug 302115 "Try again" on XUL error page loads wrong thing after going back
r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@190544 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-19 17:33:31 +00:00
bzbarsky%mit.edu
afc2cdd483 Fix bug 327073. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@189913 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 02:03:14 +00:00