Commit Graph

1706 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
f75ff5073e Fix a few issues in bfcache and XBL when javascript is being toggled on and
off. Bug 398668, r+sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@242906 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-11 18:19:16 +00:00
bzbarsky%mit.edu
f7b8f988c0 Fix bug 400556 by tearing down editor a little earlier. r+sr=peterv, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@241575 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 00:26:51 +00:00
dcamp%mozilla.com
d90ed35a60 use the malformedURI error page for unsafe JAR loads. b=369814, r=bz, sr+a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@239407 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 01:40:42 +00:00
dveditz%cruzio.com
03e566ce28 bug 369814 don't open jar: content unless served from a safe MIME type. patch by dcamp, r=bzbarsky, sr=dveditz, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@239403 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 00:17:32 +00:00
dveditz%cruzio.com
76a5808d4c bug 394974: use windows's own rules to vet URIs before handing them off to the shell. patch by jmathies, r=dveditz, sr=bsmedberg, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@237193 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-03 19:41:25 +00:00
bzbarsky%mit.edu
046aaa6f6a Make sure to not think we're in the middle of firing unload just because we created an about:blank content viewer. Bug 388579, r=biesi, sr=jst, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@235945 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-13 18:33:00 +00:00
bzbarsky%mit.edu
e066d06881 Don't allow loads to start in a docshell that's firing the unload event. Also
don't allow document.open of the document in that docshell. Bug 371360,
r=biesi, sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@235943 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-13 18:23:50 +00:00
bzbarsky%mit.edu
ef94bf7f01 More consistent handling of principals for loads across docshell type boundaries. Bug 388121, r+sr=jst, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@230615 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 01:10:35 +00:00
bzbarsky%mit.edu
8f15e62b61 Save the principal in the session history entry so that reloading a data: URL will do the right thing. Bug 387979, r=dveditz, sr=jst
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229915 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:42:07 +00:00
bzbarsky%mit.edu
0559ae19e5 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Branch port of bug 332182, patch is in bug 381300.  r=mrbkap, sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229726 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 17:45:53 +00:00
bzbarsky%mit.edu
b9f908b62f Make sure to properly set subframes loaded from bfcache as not having had unload fired on them. Bug 364461, r=biesi, sr=jst, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@229718 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 17:19:49 +00:00
bzbarsky%mit.edu
9be47282e7 Be a little more careul with inheriting principals. Bug 304690, r=dveditz, sr=jst, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@225206 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-28 03:40:14 +00:00
bzbarsky%mit.edu
4a5fe5fefb Make wyciwyg URIs be treated same-origin with their originating page. Bug 172261, r=dveditz, sr=jst, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@224803 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 20:41:31 +00:00
bzbarsky%mit.edu
6cdddb8d5f Use the right URI when restoring a page from history. Bug 360511, r=jst, sr=sicking, a=jay
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@218563 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 23:20:35 +00:00
bzbarsky%mit.edu
1f890877f1 try/catch around the loadURI call, since it can throw. Bug 310828, patch by Adam Guthrie <ispiked@gmail.com>, r+sr=bzbarsky, a=schrep for 1.8 branch
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@209544 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-09 04:58:39 +00:00
mconnor%steelgryphon.com
3620347c8b bug 341524 - Make webapps session storage follow the cookie prefs, patch by Neil Deakin (enndeakin@sympatico.ca), r=jst, sr=dveditz, a=beltzner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207913 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-19 05:56:14 +00:00
bryner%brianryner.com
981b646cf8 Bug 346851 (LOAD_FLAGS_NEW_WINDOW naming doesn't make much sense) Changed variable name and updated comment. Patch by marria@gmail.com, r=cbiesinger, sr=bzbarsky, a=dbaron.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206839 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 16:51:55 +00:00
bryner%brianryner.com
6ee14006bd Make sure the child shell list is still on the SHEntry when we call DocumentViewer::OpenWithEntry, since it uses that list to reattach the document container (bug 347426) r+sr=bzbarsky a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206677 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 19:30:26 +00:00
marria%gmail.com
4724c6201c 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,a181=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206627 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-05 00:03:24 +00:00
marria%gmail.com
f836289dc1 Bug 346586 (Non-PRBool values passed as PRBool in bug 241972) r,sr=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@206375 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 05:23:24 +00:00
aaronleventhal%moonset.net
6f68888413 Bug 340841. Infinite loop when screen reader running with some plugin content --empty tabs keep opening. r=biesi, sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205027 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 03:48:25 +00:00
gavin%gavinsharp.com
b545f62acb Bug 323798: Keyword URL Needs to be localized, r=axel, sr=bzbarsky, a=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@205021 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-28 01:57:25 +00:00
bryner%brianryner.com
9f1ba99b12 Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky a181=schrep.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202282 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:57:51 +00:00
marria%gmail.com
6da521e535 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, branch approval=mtschrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201704 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 20:30:09 +00:00
beng%bengoodger.com
07463a1786 336903 - expose the channel of the currently loaded document through nsIDocShell_MOZILLA_1_8_BRANCH so that code can tell what the real actual URI of a loaded page is, not just its display URI. r=bz a=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201165 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 23:46:04 +00:00
bzbarsky%mit.edu
3ffbf1650f Make documents be consistent with docshell wrt what the actual document URI
is. Bug 335457, r=dveditz, sr=jst, a=mconnor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201095 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 15:37:04 +00:00
bzbarsky%mit.edu
6f321d6523 Remove the keyword: protocol handler. Expose the functionality on nsIURIFixup
instead. Bug 337339 and bug 264830, r=biesi, sr=darin, a=mconnor


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@201062 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 03:35:14 +00:00
brettw%gmail.com
92e2059a11 Bug 245597 (for pkasting@google.com) Keyword search should be activated for anything that isn't parseable as a URL
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200764 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 23:16:08 +00:00
Olli.Pettay%helsinki.fi
e9ce404a42 Bug 320982, Crash when browse this Site over top menu [@ nsGlobalWindow::RunTimeout], r=mrbkap, sr+a=bryner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@200109 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-16 09:44:23 +00:00
bzbarsky%mit.edu
b106f9e290 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, branch181=darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@199897 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-14 21:52:38 +00:00
Olli.Pettay%helsinki.fi
ddf9404d46 Bug 336978, Crash when window gets destroyed on pagehide event r+sr=bryner,a=bz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198621 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 06:38:13 +00:00
jst%mozilla.jstenback.com
c21a4893e7 Re-landing whatwg storage support. Patch by neil@mozilla.com and jst@mozilla.com, r/sr=neil/jst/vlad, a=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@198017 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 18:23:11 +00:00
jst%mozilla.jstenback.com
15c2e34497 Backint out the dom storage changes until we can figure out regressions and bustage etc. Bug 335540.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196236 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-09 22:54:26 +00:00
jst%mozilla.jstenback.com
8773158e04 Fixing bug 337205. Undo nsIDocShell storage API changes on the branch. r+sr+a=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196204 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-09 02:02:15 +00:00
enndeakin%sympatico.ca
cdab7a5aa1 Bug 335540, webapps client side session storage, r=vlad,a=schrep
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@196172 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-08 21:06:43 +00:00
bzbarsky%mit.edu
6d18ba3f93 Don't do URI fixup if NS_NewURI throws some random error. Bug 335193, r=biesi, sr+branch181=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@195319 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 01:53:26 +00:00
roc+%cs.cmu.edu
38c34f6f19 Fixing bustage
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194208 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 04:06:54 +00:00
roc+%cs.cmu.edu
b0f818e526 Bug 331522. Make URI keyword fixup (e.g. doing a Google 'I feel lucky' search) off by default, chrome has to ask specifically to turn it on for a page load. r+sr=darin,r=mconnor,a=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194206 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 03:24:08 +00:00
darin%meer.net
53f39c646d fixes bug 331040 "Crash when removing parent iframe in onbeforunload handler" patch by feng.qian, r=bryner, sr=bzbarsky, a=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@194036 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 20:05:21 +00:00
bzbarsky%mit.edu
ad7af2a1e4 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/branches/MOZILLA_1_8_BRANCH@192933 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 19:38:50 +00:00
cbiesinger%web.de
56f3adf637 bug 330727 add BeOS to XP_UNIX ifdef to allow entering local paths in the
urlbar directly
r=sergei_d sr=darin a=darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@192788 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 17:47:19 +00:00
bzbarsky%mit.edu
3c63f8d846 Merge bug 328928 changes that are relevant, r=brettw, sr=darin, branch181=darin
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191854 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 22:50:25 +00:00
cbiesinger%web.de
37ea372325 bug 324985 Allow components to register in a category to get told about all HTTP
page loads and allow sniffing the content type. Only works for docshell-initiated
loads.
r=darin sr=bz a=darin


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191747 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 00:27:20 +00:00
bryner%brianryner.com
2a7721f843 Revert the checkin for bug 326742, the notifications are fairly useless. r+a=bzbarsky
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191726 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 20:24:18 +00:00
bzbarsky%mit.edu
752947d79a Make it possible to target non-primary content <browser>s; specifically ones
that are type="content-targetable". Bug 326009, r=bsmedberg, sr=jst, branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@191135 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 04:58:50 +00:00
bzbarsky%mit.edu
702280c0cc Fix bug 327073 -- deal better with window targeting same-origin
checks. r+sr+branch181=jst


git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190063 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 02:52:47 +00:00
bryner%brianryner.com
1bca516fb7 Dispatch observer service notifications when dom windows are created and destroyed. Bug 326742, r+sr=jst.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190054 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 02:21:58 +00:00
bryner%brianryner.com
4a7b7bafc7 Fixing bustage, bug 326706
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190009 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 22:06:10 +00:00
bryner%brianryner.com
4df6c2c397 Oops, I didn't mean to check this in yet.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@190008 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 22:05:55 +00:00
bryner%brianryner.com
5c9bc53089 Move the load type constants into nsDocShellLoadTypes.h, for easier reuse outside of docshell. Bug 326706, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@189999 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-14 21:26:42 +00:00