Commit Graph

201 Commits

Author SHA1 Message Date
Dave Camp
d4f7aed7eb Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
c3150e042c Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Robert O'Callahan
a3a3951684 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
Boris Zbarsky
7158ed036e Bug 445725. Copy over the history entry owner to the clone on anchor scroll, so that we get the right owners on reload of scrolled file:// pages. r+sr=jst 2008-12-11 14:16:05 -05:00
Shawn Wilsher
bf0e65a35b Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher
6ea17d3edc Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
52fa025019 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Graeme McCutcheon
db7058c5de Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Boris Zbarsky
f6899369f8 Fixing comments and assertion text. Bug 466681 2008-11-26 13:48:36 -05:00
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Boris Zbarsky
5c63b3269c Bug 466681. Undo the weirdness in the webnavigation flags. r+sr=jst 2008-11-25 20:48:03 -05:00
Boris Zbarsky
92c0e38ba1 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
Honza Bambas
d82181a981 Bug 460353: app caches should be per iframe, not per toplevel browsing context. r=dcamp, r+sr=jst 2008-11-05 16:01:07 -08:00
Dave Camp
075a71489f Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Markus Stange
7a9f82ce7e Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
Mats Palmgren
1064a3f990 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Johnathan Nightingale
d010d61ed4 Redesign certificate error page for Firefox as about:certerror. b=431826, r=gavin, ui-r=beltzner 2008-10-29 11:54:51 -04:00
Reed Loden
e63dbf9ce4 Bug 349451 - "about:about is File not found error" [r+sr=bzbarsky] 2008-10-24 01:33:02 -05:00
Boris Zbarsky
7ef73e9f20 Pass the right thing to InternalLoad here. It happened to work before, but let's not depend on that. No bug, r+sr=biesi 2008-10-22 13:32:25 -04:00
Dave Camp
a1df547c6e Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
9773c6fcb3 Backing our changeset 60fc5f224a5b to try to fix Mac Tp 2008-09-29 14:28:15 -04:00
Dave Camp
e129110ee3 Bug 455736: Getting an app cache should not EnsureContentViewer(). r+sr=bz 2008-09-28 16:42:18 -07:00
Andrew Schultz
b44d8f8830 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-28 14:53:34 -04:00
Robert O'Callahan
279af36fc7 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea
92e7030a42 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan
6a45b282aa Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea
67f3afd13b Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Brad Lassey
4aa13cc558 Bug 454235 - IME events not fired when clicking on text input box, adds IsOffScreenBrowser property to DocShell r=smaug sr=bz 2008-09-19 12:57:56 -04:00
Robert Strong
70ff5e1e4b Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz
c510ff9d02 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky
1fef9d25da Bug 436990. Make sure to remove already-fired timers from our refresh URI list. r+sr=jst 2008-09-08 09:19:49 -04:00
Arpad Borsos
3c87be4ffc Bug 451909 kill MOZ_XUL_APP now that all apps set it. docshell/toolkit cleanup r=benjamin, makefile cleanups r=ted 2008-09-02 10:45:14 +01:00
Boris Zbarsky
2a28650a23 Bug 447579. Be a little more careful about inheriting principals for file URIs. r=dveditz, sr=jst 2008-08-28 09:16:21 -04:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Boris Zbarsky
19cbde2211 Bug 449781. Toggling display on a subframe shouldn't give the subframe's document the same device context as the parent document. r=roc, sr=jst 2008-08-18 15:22:19 -04:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Boris Zbarsky
baa891763c Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-11 09:38:43 +01:00
Dave Townsend
3af4f7166c Backed out changeset eb6fda3be5bb 2008-08-10 17:15:00 +01:00
Boris Zbarsky
1b9a4caf46 Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-07 19:15:40 -04:00
Benjamin Smedberg
906cb69db1 Bug 445570 - Heap-allocated autostrings in DOM/content, r+sr=jst 2008-07-17 11:05:20 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
bzbarsky@mit.edu
09c1bf7d36 Propagate the linking page's principal when a file:// URI links to a file:// URI that it's allowed to read. Bug 435362, r=dveditz, sr=sicking, a=shaver 2008-05-28 11:01:31 -07:00
mconnor@steelgryphon.com
962e68dcff backing out bug 393246 for final to resolve bug 432836, a=schrep 2008-05-09 17:53:37 -07:00
reed@reedloden.com
058f72e954 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-08 03:51:41 -07:00
reed@reedloden.com
1959e45a26 Back out Chris Pearce's patch from bug 430921 as a possible cause of the crashes on Linux. 2008-05-08 03:39:06 -07:00
reed@reedloden.com
10a02a3cb6 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-08 02:06:05 -07:00
reed@reedloden.com
fd12419586 Back out Chris Pearce's patch from bug 430921 in case it is the cause of the crashes. 2008-05-07 05:01:40 -07:00
reed@reedloden.com
b754735e10 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-07 03:18:31 -07:00
peterv@propagandism.org
bd715db358 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
dveditz@cruzio.com
6aca124433 bug 427293: add a pref to unhide the buttons on the bad-cert error page by default for advanced users. r=johnath, ui-r=beltzner, sr=jst, a=beltzner 2008-05-02 00:24:27 -07:00
Olli.Pettay@helsinki.fi
8c5cd9f684 Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore 2008-04-29 00:18:55 -07:00
Olli.Pettay@helsinki.fi
2df44b5dfe Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore 2008-04-24 03:33:22 -07:00
roc+@cs.cmu.edu
521c4a52ea 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 2008-04-23 14:36:17 -07:00
gavin@gavinsharp.com
6e0c6ade9c 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 2008-04-13 18:36:04 -07:00
dveditz@cruzio.com
4585bfe017 bug 428288 chrome crash in nsDocShell::ValidateOrigin, problem found by timeless, r/sr=bzbarsky, a=beltzner 2008-04-12 14:18:06 -07:00
jst@mozilla.org
14b80d26bc Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
jst@mozilla.org
89acfcbf1a 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 2008-03-20 21:39:08 -07:00
Olli.Pettay@helsinki.fi
6d32891dbb Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
dveditz@cruzio.com
ab06027eb0 bug 420425 correction, untangled patches. 2008-03-19 16:40:56 -07:00
dveditz@cruzio.com
24751a58e2 bug 420425 restore frame targeting behavior for local file: apps, r=jst, sr=bzbarsky, blocking1.9+ 2008-03-19 16:31:56 -07:00
timeless@mozdev.org
49405356ad Bug 419520 Provide url (or file path) for error messages r=biesi a=dsicore 2008-03-19 14:24:51 -07:00
reed@reedloden.com
2e7cd12524 Bug 393246 - "CreateFixupURI should use UTF-8, not the system charset" [p=dao@mozilla.com (Dão Gottwald) r+sr=biesi a1.9=beltzner] 2008-03-18 12:29:16 -07:00
dcamp@mozilla.com
cc10446d26 Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart 2008-03-12 14:52:47 -07:00
bzbarsky@mit.edu
52c572e4be 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. 2008-02-28 20:21:39 -08:00
jruderman@hmc.edu
2f5e27f7d5 Add crashtest 2008-02-20 22:32:55 -08:00
reed@reedloden.com
edd5a9436f 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)] 2008-02-20 02:02:04 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
bzbarsky@mit.edu
991e322339 Stop treating _new as a special window target. No other browser does. Bug 417067, r+sr=jst, a=beltzner 2008-02-13 21:05:25 -08:00
reed@reedloden.com
0644eafaf2 Bug 415078 - "nsWebShell.cpp attempts to fixup immutable URIs" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r+sr=bzbarsky a1.9=schrep] 2008-02-07 01:08:17 -08:00
sdwilsh@shawnwilsher.com
1681c0b482 Bug 94514 - POST result page should not appear in global history or history autocomplete results. r=bz, sr=bz 2008-02-06 10:18:07 -08:00
bzbarsky@mit.edu
2d6648cbe7 Followup patch for bug 409888: make replace loads work more like they used to. r=biesi, sr=jst 2008-01-29 20:19:37 -08:00
dcamp@mozilla.com
30be9b9e5c Bug 413938: Add an nsIWebNavigation flag to let clients bypass malware/phishing detection. r=bz, sr=biesi, a1.9=damons 2008-01-29 15:49:20 -08:00
bzbarsky@mit.edu
cdc82600d2 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. 2008-01-27 11:39:10 -08:00
bzbarsky@mit.edu
c483501bf3 Allow certain restricted loads in unload events. Bug 409888, r+sr=jst 2008-01-25 12:31:44 -08:00
dtownsend@oxymoronical.com
b1e34e9c11 Bug 411490: Add about:crashes for easier access to crash reports. r=mano, a=beltzner 2008-01-24 08:11:09 -08:00
roc+@cs.cmu.edu
f8263cd94c Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky 2008-01-20 18:05:38 -08:00
mkmelin+mozilla@iki.fi
8c8ff6f4ff Bug 392407: appstrings.properties should not be using branded strings r+sr=bzbarsky, ui-r=beltzner, a=blocking1.9 2008-01-05 05:40:46 -08:00
reed@reedloden.com
ea14f026e1 Bug 404634 - "http urls don't render in TestGtkEmbed" [p=asac@jwsdot.com (Alexander Sack) r=bsmedberg r=bzbarsky a=blocking1.9+] 2008-01-04 22:38:30 -08:00
jruderman@hmc.edu
a808679451 Add crashtest. 2007-12-14 21:36:59 -08:00
reed@reedloden.com
816711d89d 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] 2007-12-11 01:55:35 -08:00
peterv@propagandism.org
59008332e8 Fix for bug 403501 (Rich text editing broken after back, forward in history). r/sr=jst. 2007-12-04 16:28:24 -08:00
bzbarsky@mit.edu
f1f789125b 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 2007-12-03 13:57:17 -08:00
bzbarsky@mit.edu
34e1841267 Fix bug 400556 by tearing down editor a little earlier. r+sr=peterv 2007-12-02 18:07:16 -08:00
reed@reedloden.com
c9e61c39e1 Fix typo. 2007-11-30 23:20:58 -08:00
reed@reedloden.com
6d96a8c7a8 Bug 405241 - "Don't register nsDownloadHistory if it's not needed" [p=comrade693+bmo@gmail.com (Shawn Wilsher [sdwilsh]) r=biesi sr=bzbarsky a1.9=damons] 2007-11-30 23:18:43 -08:00
dcamp@mozilla.com
b128fd0df9 Bug 394525: malware check non-http channels. r=bz, sr=biesi 2007-11-27 12:42:33 -08:00
dcamp@mozilla.com
911a5b2bb9 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
sdwilsh@shawnwilsher.com
9223b5a23c Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor 2007-11-23 12:20:41 -08:00
bzbarsky@mit.edu
24e10353bf Fix bug 404548. r+sr=jst, a=schrep 2007-11-21 11:59:42 -08:00
reed@reedloden.com
effca1ef3a Backed out dcamp's patch from bug 394525, as it caused a unit test failure for bug 377539. 2007-11-13 02:00:59 -08:00
reed@reedloden.com
537a51cabe Bug 394525 - "malware check non-http URIs" (treat Suspend() failures as nonfatal) [p=dcamp r=bzbarsky sr=biesi a=blocking1.9+] 2007-11-13 00:23:32 -08:00
peterv@propagandism.org
57decd655d Fix for bug 390446 (Javascript is still disabled after leaving a page that had designMode on). r/sr=jst. 2007-11-12 06:47:03 -08:00
jst@mozilla.org
8ba4f49947 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 2007-11-11 21:48:24 -08:00