896 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
2adfc316d8 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250716 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 21:36:19 +00:00
gavin%gavinsharp.com
a32c6fcf4a Bug 421067: 'Try Again' after a DNS error sometimes loads previous page, not the one that failed to load, patch by Michal Novotny <michal@allpeers.com>, r+sr=bzbarsky, a=schrep
git-svn-id: svn://10.0.0.236/trunk@250183 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 01:36:04 +00:00
dveditz%cruzio.com
4cf0b93789 bug 428288 chrome crash in nsDocShell::ValidateOrigin, problem found by timeless, r/sr=bzbarsky, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250135 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-12 21:18:06 +00:00
jst%mozilla.org
848e5e4245 Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@248431 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-22 16:50:49 +00:00
jst%mozilla.org
981793b5f4 Landing fix for bug 402983. Make security checks on file:// URIs symmetric. Patch by dveditz@cruzio.com, r=jonas@sicking.cc,bzbarsky@mit.edu. jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@248340 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-21 04:39:10 +00:00
Olli.Pettay%helsinki.fi
e9b8a89f91 Bug 421209, r=cpearce, sr=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@248307 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 20:24:39 +00:00
dveditz%cruzio.com
8fb68b8f10 bug 420425 correction, untangled patches.
git-svn-id: svn://10.0.0.236/trunk@248229 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 23:40:56 +00:00
dveditz%cruzio.com
7b4f8cdc66 bug 420425 restore frame targeting behavior for local file: apps, r=jst, sr=bzbarsky, blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@248228 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 23:31:56 +00:00
timeless%mozdev.org
b76dbc4d1d Bug 419520 Provide url (or file path) for error messages
r=biesi a=dsicore


git-svn-id: svn://10.0.0.236/trunk@248202 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 21:24:51 +00:00
dcamp%mozilla.com
818a3abe5f Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart
git-svn-id: svn://10.0.0.236/trunk@247681 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 21:52:55 +00:00
bzbarsky%mit.edu
7022e7f978 Fix longstanding issue where anchor scrolls on a POST result page could lead to
a silent re-POST during history traversal.  Bug 413310, r+sr=biesi,
a=dsicore,beltzner,righteousness.


git-svn-id: svn://10.0.0.236/trunk@246774 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 04:21:39 +00:00
reed%reedloden.com
9457ffb6fb Bug 403574 - ""ASSERTION: Infinite loop! Calling EnsureScriptEnvironment() from within EnsureScriptEnvironment()!" with XBL, <frame>" [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=bzbarsky (DEBUG builds only)]
git-svn-id: svn://10.0.0.236/trunk@246063 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 10:02:04 +00:00
bzbarsky%mit.edu
2a8ab96873 Stop treating _new as a special window target. No other browser does. Bug
417067, r+sr=jst, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@245671 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 05:05:27 +00:00
sdwilsh%shawnwilsher.com
55ee92803d Bug 94514 - POST result page should not appear in global history or history autocomplete results. r=bz, sr=bz
git-svn-id: svn://10.0.0.236/trunk@245011 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-06 18:18:07 +00:00
bzbarsky%mit.edu
ba17471efe Followup patch for bug 409888: make replace loads work more like they used to.
r=biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@244459 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 04:19:37 +00:00
dcamp%mozilla.com
eba206c16f Bug 413938: Add an nsIWebNavigation flag to let clients bypass malware/phishing detection. r=bz, sr=biesi, a1.9=damons
git-svn-id: svn://10.0.0.236/trunk@244412 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 23:49:20 +00:00
bzbarsky%mit.edu
5806dd9448 Tighten up the named-target navigation policy to better match the HTML5 spec
and Safari.  Bug 408052, patch by Adam Barth <hk9565@gmail.com> and Collin
Jackson <mozilla@collinjackson.com>, r=jst, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@244151 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 19:39:11 +00:00
bzbarsky%mit.edu
5982fb6110 Allow certain restricted loads in unload events. Bug 409888, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@243999 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-25 20:31:44 +00:00
roc+%cs.cmu.edu
72395a3542 Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@243640 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 02:05:39 +00:00
mkmelin+mozilla%iki.fi
043c89d113 Bug 392407: appstrings.properties should not be using branded strings
r+sr=bzbarsky, ui-r=beltzner, a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@242449 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 13:40:49 +00:00
reed%reedloden.com
3bef1efa33 Bug 404634 - "http urls don't render in TestGtkEmbed" [p=asac@jwsdot.com (Alexander Sack) r=bsmedberg r=bzbarsky a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@242427 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-05 06:38:31 +00:00
reed%reedloden.com
bd1330b481 Bug 393002 - ""Server not found" message for view-source window doesn't display server name" [p=anant@kix.in (Anant Narayanan) r=bsmedberg sr=bzbarsky a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@240815 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 09:55:35 +00:00
peterv%propagandism.org
ec1862dcf0 Fix for bug 403501 (Rich text editing broken after back, forward in history). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@240466 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 00:28:24 +00:00
bzbarsky%mit.edu
fe9618c961 Propagate the node's principal as the owner to <object> loads as needed, and
allow <object data="javascript:"> to work.  Bug 353334 and bug 300263, r=biesi,
sr=jst, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@240353 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 21:57:18 +00:00
bzbarsky%mit.edu
0f1eee4cd8 Fix bug 400556 by tearing down editor a little earlier. r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@240267 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 02:07:16 +00:00
dcamp%mozilla.com
fd9dae546f Bug 394525: malware check non-http channels. r=bz, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@239994 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 20:42:33 +00:00
dcamp%mozilla.com
43ee461b3e Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@239965 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 05:32:26 +00:00
sdwilsh%shawnwilsher.com
172d5c2e85 Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@239881 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-23 20:20:47 +00:00
bzbarsky%mit.edu
a7c3a454b1 Fix bug 404548. r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@239791 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 19:59:42 +00:00
reed%reedloden.com
95c37f6794 Backed out dcamp's patch from bug 394525, as it caused a unit test failure for bug 377539.
git-svn-id: svn://10.0.0.236/trunk@239299 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 10:00:59 +00:00
reed%reedloden.com
41502a32b2 Bug 394525 - "malware check non-http URIs" (treat Suspend() failures as nonfatal) [p=dcamp r=bzbarsky sr=biesi a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239289 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 08:23:32 +00:00
jst%mozilla.org
fac3c1b64a Fixing bug 392532. Infinite recursion crash when getting scroll chrome flags off of a window at the wrong point in time. r+sr=bzbarsky@mit.edu, a=vladimir@pobox.com
git-svn-id: svn://10.0.0.236/trunk@239184 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 05:48:25 +00:00
smontagu%smontagu.org
9d14bfb11b Preserve history on charset reload. Bug 134911, r+sr=bz, a=roc
git-svn-id: svn://10.0.0.236/trunk@239153 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-11 19:48:09 +00:00
reed%reedloden.com
c4527937e9 Bug 398718 - "Better explanatory text for SSL error pages" [p=kaie/johnath r=rrelyea r=biesi a=blocking1.9+ for M9]
git-svn-id: svn://10.0.0.236/trunk@238348 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-30 20:26:28 +00:00
reed%reedloden.com
ba0dc7bcab Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9]
git-svn-id: svn://10.0.0.236/trunk@238312 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-29 18:29:18 +00:00
bzbarsky%mit.edu
19f3323d77 Make the "href" property of stylesheets reflect the original URI that was
reflected to load the sheet.  Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore


git-svn-id: svn://10.0.0.236/trunk@238046 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-23 21:56:43 +00:00
bzbarsky%mit.edu
e0a43bc995 Give the about:blank document we create when loading a javascript: URI from
history the principal of the history entry so the JS will actually execute
against that about:blank, not in a sandbox.  Bug 384014, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237380 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-07 18:26:02 +00:00
bzbarsky%mit.edu
dc9c2f83af Fix a few issues in bfcache and XBL when javascript is being toggled on and
off.  Bug 398668, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@237342 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 00:35:01 +00:00
martijn.martijn%gmail.com
75ee24e139 Bug 299555 – F5 reloads Print Preview after right clicking several times on this specific testcase, r=bzbarsky, sr+a=jst
git-svn-id: svn://10.0.0.236/trunk@236891 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 23:40:02 +00:00
bzbarsky%mit.edu
d81f1b725a Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@236404 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 23:28:26 +00:00
bzbarsky%mit.edu
bd6ec39767 Backing out bug 396587 to hopefully fix orange.
git-svn-id: svn://10.0.0.236/trunk@236345 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 03:41:29 +00:00
bzbarsky%mit.edu
f0794c0305 Resize the subdocument off a post-reflow callback so that we don't run script
during reflow, and a few related checks to make sure we can deal with script in
reflow callbacks better.  Bug 396587, r+sr+a=roc.


git-svn-id: svn://10.0.0.236/trunk@236344 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 02:46:28 +00:00
bzbarsky%mit.edu
5b55964d58 Add a flag to nsIWebNavigation to disable popup-blocking for loads as needed.
Bug 278357, r=biesi, sr=jst, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@235986 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-14 19:21:45 +00:00
bzbarsky%mit.edu
2e1311397f Revoke presentation restore events even if we just get a network stop. Bug
306283, r+sr=biesi


git-svn-id: svn://10.0.0.236/trunk@233535 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 03:21:22 +00:00
dcamp%mozilla.com
fb936930bc only malware check nsHttpChannel for now, should fix orange. b=384941, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@233529 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 00:48:30 +00:00
dcamp%mozilla.com
c33eb833cd another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi
git-svn-id: svn://10.0.0.236/trunk@233525 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:48:39 +00:00
dcamp%mozilla.com
2e26d97414 fix bustage from bug 384941
git-svn-id: svn://10.0.0.236/trunk@233524 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:29:45 +00:00
dcamp%mozilla.com
1a066ed8a8 block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@233523 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 23:18:48 +00:00
sharparrow1%yahoo.com
224e717d50 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@233179 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 01:20:18 +00:00
bzbarsky%mit.edu
1bdb136de8 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


git-svn-id: svn://10.0.0.236/trunk@232956 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 19:03:08 +00:00