Граф коммитов

2037 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky f70ef39f27 Bug 481647. Give the document created via CreateAboutBlankContentViewer the right base URI too. r+sr=jst 2009-04-09 21:36:42 -04:00
Arpad Borsos 2201feb7db Bug 474369 - get rid of nsVoidArray, docshell part; r=bzbarsky 2009-04-03 23:21:40 +02:00
Jeremy D. Lea d37e6bf09c Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Honza Bambas 40a8517a4d Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Olli Pettay 75904cb6f2 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Jonas Sicking 47266550e3 Bug 475636: Disallow refresh to javascript uris. r/sr=bz
--HG--
extra : rebase_source : 1fdfc3148c257aee22001be045258cc985ee027a
2009-03-09 23:03:39 -07:00
Markus Stange c7f876648b Bug 481359 - Mouse shouldn't show spinner while pages are transferring, ui-r=beltzner r+sr=bzbarsky 2009-03-05 16:07:55 +01:00
Olli Pettay 52357a5d32 Bug 479490 - ###!!! ASSERTION: Mismatched calls to ResumeTimeouts!:, r=bent, sr=jst 2009-03-03 22:18:00 +02:00
Olli Pettay c16782cef9 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay f93364982b backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay d6b9cc8221 backout 479490 2009-03-02 22:20:10 +02:00
Olli Pettay f4869329e5 Bug 479490 - 'ASSERTION: Mismatched calls to ResumeTimeouts'. r=bent, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:32 -08:00
Olli Pettay 1923917f1f Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Mats Palmgren be4dfdb752 Initialize members. b=479713 r+sr=roc 2009-02-24 21:06:34 +01:00
Zack Weinberg 914daa4cd1 Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc 2009-02-23 02:10:23 +01:00
Chris Pearce 3d7bbfe6ad Bug 432114. Change style sheet owner to the document being edited. r+sr=peterv
--HG--
extra : rebase_source : 1477b54a36bdb3c8d1f4f44801890707043b49ee
2009-02-19 20:52:54 +13:00
Jesse Ruderman d10d1967a8 Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Daniel Holbert c0ea2a34bf Bug 458167 - Fix bad usage of "it's" in comments: patch for docshell folder. r=bsmedberg 2009-02-05 18:05:03 -08:00
Boris Zbarsky 275e4a9b17 Bug 474389. Fix the 'set up editor after this load' setup, which hasn't really worked for a while, except for initial loads in the window. r+sr=peterv 2009-01-23 10:16:10 -05:00
Boris Zbarsky 5e99e73564 Bug 459443. Make sure to detach our editor even if we don't have a session history entry, so that scripts will get correctly reenabled. r+sr=peterv 2009-01-23 10:16:09 -05:00
Boris Zbarsky 79983342a3 Bug 474349. Set mOSHE when starting load for document.write, since there will never be an Embed call, and do so in all cases, not just when we already have an mOSHE. r+sr=jst 2009-01-22 14:33:10 -05:00
Boris Zbarsky e2da88a2b6 Back out bug 459443 for now, until the patch in bug 474389 gets reviewed 2009-01-20 22:54:52 -05:00
Boris Zbarsky 6ae4ed0c27 Bug 459443. Make sure to detach our editor even if we don't have a session history entry, so that scripts will get correctly reenabled. r+sr=peterv 2009-01-19 16:46:47 -05:00
Dave Camp 388543178c Bug 473938 Stylesheets don't load without a safe browsing service r+sr=sicking 2009-01-16 21:54:39 +00:00
Dave Camp f130a2f49c Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Jeremy Lea 1b7e1f21f0 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Dave Camp 52cc67fd56 Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp 3ac023a8d9 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp f3c17be4a6 Bug 458091: Don't store an mURI in nsDOMStorage. r=bz 2009-01-12 21:52:00 -08:00
Benjamin Smedberg c0b8dd79be Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg 507daffc50 Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg b0f322f21c Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Dave Camp a8ba41104f Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp d938bc5087 Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Robert O'Callahan 6a2bbb2ee8 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 762ec1b3c7 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 79ae006392 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 8ec0e6384a Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher 7d8a86d3c6 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 a893e00536 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 ef6020edcf Fixing comments and assertion text. Bug 466681 2008-11-26 13:48:36 -05:00
Boris Zbarsky a1423a6cb2 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Boris Zbarsky a5896153b4 Bug 466681. Undo the weirdness in the webnavigation flags. r+sr=jst 2008-11-25 20:48:03 -05:00
Boris Zbarsky e969e263a6 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 ffa3457961 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 a9e28932b8 Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Markus Stange bbeaacb82b 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 7f71610060 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Johnathan Nightingale 1cee13114c 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 8882d3a39c Bug 349451 - "about:about is File not found error" [r+sr=bzbarsky] 2008-10-24 01:33:02 -05:00
Boris Zbarsky 0851ae9875 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 d53ad8a0fb Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Arpad Borsos 4460c617be 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 6768b2a2a4 Backing our changeset 60fc5f224a5b to try to fix Mac Tp 2008-09-29 14:28:15 -04:00
Dave Camp fa39c74867 Bug 455736: Getting an app cache should not EnsureContentViewer(). r+sr=bz 2008-09-28 16:42:18 -07:00
Andrew Schultz 3cf97412e6 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-28 14:53:34 -04:00
Robert O'Callahan 9617ccbc59 Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea b971d67ca6 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 933a4085b6 Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea 9848d4cb07 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 14669a7bb2 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 bb966d9825 Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz f8b3bcfc58 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
Boris Zbarsky 9c1f0583f7 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 0f9ad64028 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 a3d3d05622 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 811acb9a9c Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp 006e04ce2d Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp a016989e5b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp 093c3cdf45 Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp 6788a8a7da Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Boris Zbarsky 732a746e2e 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 1e7040ba09 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 f21f536344 Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan 0d4f029b79 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 86f5e5532f 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 f48ec275ba Backed out changeset eb6fda3be5bb 2008-08-10 17:15:00 +01:00
Boris Zbarsky 28c03b94cc 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 4afe215bfe Bug 445570 - Heap-allocated autostrings in DOM/content, r+sr=jst 2008-07-17 11:05:20 -04:00
Benjamin Smedberg 25f41414e8 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 47d66e4e7d 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 821beba79b backing out bug 393246 for final to resolve bug 432836, a=schrep 2008-05-09 17:53:37 -07:00
reed@reedloden.com bbec7e9920 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 0580ccda42 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 8c35068fb6 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 88e6d499f1 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 d6c8234354 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 0e633e9499 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 c2b0b19b72 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 92e628614e 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 52b2b856f5 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 eb93e203f7 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 6e22293864 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 54f63f471d 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 f70c22ca8a 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 739205fc4a 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 758c9b0305 Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
dveditz@cruzio.com 208277d3ae bug 420425 correction, untangled patches. 2008-03-19 16:40:56 -07:00
dveditz@cruzio.com 251c24bf68 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 b2f6ed5d06 Bug 419520 Provide url (or file path) for error messages r=biesi a=dsicore 2008-03-19 14:24:51 -07:00