Commit Graph

290 Commits

Author SHA1 Message Date
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Brandon Sterne
33ffc0b09f Bug 515460 - enforce CSP during frame redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:51:59 -07:00
Timothy Nikkel
ac0c03fe97 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Taras Glek
b1eaf1cf2d Bug 516085 - replace the most frequent IOService getter with an efficient one r=biesi 2010-04-12 08:44:28 -07:00
Timothy Nikkel
5337327603 Backed out changeset ae2093359899 (Bug 553359) for tsvg_opacity regression. 2010-04-11 19:26:41 -05:00
Timothy Nikkel
20d7ad6361 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Timothy Nikkel
17be279bff Backed out changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:07:52 -05:00
Timothy Nikkel
2f82809725 Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Craig Topper
c3fc5fa456 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Philipp von Weitershausen
d4bf31c763 Bug 503832. Visiting a new fragmentid (scrolling to named anchor) should set the title of the page in the global history for the url with that anchor. r=bzbarsky 2010-03-08 19:30:02 -05:00
Mark Banner
097d74cbdf Bug 545407 Remove code that disables DNS pre-fetching for APP_TYPE_MAIL/EDITOR docshells (in favour of letting it be managed by app specific policies). r=bzbarsky 2010-03-10 10:30:23 +00:00
Julian Seward
e6be817578 Bug 549236. Initialize these variables, so we don't use uninitialized values later. r=bzbarsky 2010-03-09 15:37:22 -05:00
Boris Zbarsky
4ba91335f4 Backed out changeset dc835fb21c0c (bug 503832) on suspicion of causing a Tsspider regression.
--HG--
extra : rebase_source : b15b7bbd372fcbd768e653e89049804fed9070c8
2010-03-09 09:35:14 -05:00
Philipp von Weitershausen
8004b896f5 Bug 503832. Visiting a new fragmentid (scrolling to named anchor) should set the title of the page in the global history for the url with that anchor. r=bzbarsky 2010-03-08 19:30:02 -05:00
timeless@mozdev.org
9bc4f65120 Bug 522214 Crash when setting null on charset [@ strlen | nsDependentCString::nsDependentCString(char const*)]
r=bz
2010-02-28 17:28:54 +02:00
Shawn Wilsher
2fd7f20bd1 Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Neil Deakin
65465d8068 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher
412f4ad210 Backed out changeset af29773ebf66 2010-02-18 10:01:13 -08:00
Shawn Wilsher
f4c5449fdd Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Jae-Seong Lee-Russo
1ca2b10fe5 Bug 530382. Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in docshell. r=jst 2010-02-09 12:09:06 -05:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Sid Stamm
f9be5dbbdb Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath] 2010-02-05 14:08:27 -06:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Honza Bambas
e1a5b71c19 Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Olli Pettay
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Justin Lebar
a090ac8577 Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Robert O'Callahan
6787212ae4 Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Robert O'Callahan
07db346518 Bug 526394. Part 20: Convert more code in caret and docshell. r=mats 2009-09-09 17:40:02 +12:00
Boris Zbarsky
9f031048e3 Bug 536772. Wallpaper over us switching the subdoc map entry too early. r=dbaron 2009-12-27 08:50:08 -05:00
Boris Zbarsky
3e7aa47200 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky
f1735535c8 Bug 535361. Clear our child docshell list before messing with the new document viewer. r=jst 2009-12-23 16:17:23 -05:00
Oleg Romashin
0ff15af74b Bug 488046 - Some random crash in [@ nsDocShell::EnsureContentViewer], r=bzbarsky
--HG--
extra : rebase_source : 3ce888953aef4d9e402fb0d23085de8c840ea55d
2009-12-21 13:16:20 +02:00
Benjamin Smedberg
6cdd11fcd4 test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg
737515b2c8 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Honza Bambas
108d27cfac Bug 529119 - Funky behavior with XUL error pages, r=bz 2009-11-18 17:02:28 +01:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Benjamin Smedberg
281b9fd4a8 Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Benjamin Smedberg
eba77abeb6 Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Benjamin Smedberg
15de24f35e Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Nochum Sossonko
14e32bd632 Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Boris Zbarsky
82ca879d78 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Ben Turner
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Honza Bambas
a8f224faf8 Bug 514232, r=bzbarsky 2009-11-11 21:39:34 +01:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Robert O'Callahan
e62be286c3 bug 514732 - fix bustage for shared lib builds r=bz 2009-11-02 21:55:35 -05:00
Roy Frostig
fb0534737b Fire MozScrolledAreaChanged from nsDocShell::RestoreFromHistory() in case document root scroll frame isn't reflowed by the restore. r=roc 2009-10-25 00:04:18 -07:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Dão Gottwald
5717e3a53d Bug 517272 - Don't show the spinning cursor when restoring a page from bfcache. r=bz 2009-09-17 21:21:49 +02:00
Markus Stange
55aca69596 Bug 482985 - add hidden pref for activity cursor. r=bz 2009-09-17 15:04:08 +02:00
Benjamin Smedberg
187a34a633 Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Timothy Nikkel
5321e14840 Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Ben Turner
cd1d42ffe0 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Boris Zbarsky
b4da16ad58 Bug 451898. When stopping an error page load, make sure to null out mLSHE. r=biesi 2009-07-29 13:39:28 -04:00
Benjamin Smedberg
1e808cd4ea Merge mozilla-central into Electrolysis
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
2009-07-20 09:36:23 -04:00
Benjamin Smedberg
cdf4b869dc Land the remote-tab code from tmp-electrolysis. 2009-06-30 16:39:22 -04:00
Robert O'Callahan
d520aa9f3f Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Justin Lebar
763dfd5f3c Bug 509055: Changing document.title does not change SHEntry's title if document was loaded from history. r=smaug 2009-08-10 13:45:09 -07:00
<jlebar@mozilla.com>
7de5d30e8d Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Mark Smith
bb426c0819 Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Arpad Borsos
497b2e227d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Marco Pesenti Gritti
3a64c67e10 Bug 495618 - "Reloading form posts fails with javascript nsIPromptService implementation". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
honzab.moz@firemni.cz
c6954297e3 Fixing bug 495112. Partially revert the fix for bug 455070 to fix session storage regressions. r+sr=jst@mozilla.org 2009-05-28 16:15:26 -07:00
Honza Bambas
b4f9d96681 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-21 00:27:31 +02:00
Honza Bambas
c97cbced9b Backed out changeset b2e48c0aa965 2009-05-20 22:30:21 +02:00
Honza Bambas
d683c85eb5 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 20:19:38 +02:00
Honza Bambas
3a406782bd Backed out changeset ef25b4175b78 2009-05-20 10:37:31 +02:00
Honza Bambas
f019692628 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 10:23:41 +02:00
Dave Townsend
086bb92ddb Backing out bug 474369 due to test failures 2009-05-19 13:52:51 +01:00
Dave Townsend
99034adf24 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos
4243cbc85f Bug 492376 - Optimize Docshell for memory usage; r=bz 2009-05-13 10:26:47 +02:00
Arpad Borsos
584155ddb7 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Boris Zbarsky
6f4f48e0e7 Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Honza Bambas
b1ee7471c1 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron
bd519363a7 Destroy content viewers in session history when destroying docshell, just like we destroy the current one. (Bug 488394) r+sr=bzbarsky 2009-04-16 13:55:13 -07:00
Boris Zbarsky
6087e934b7 Bug 479943. Pass in the right owner for link clicks and form submissions and stop inheriting from the document. r=dveditz, sr=jst 2009-04-13 11:32:02 -04:00
Boris Zbarsky
c5784fb1a5 Bug 481647. Give the document created via CreateAboutBlankContentViewer the right base URI too. r+sr=jst 2009-04-09 21:36:42 -04:00
Honza Bambas
8d8bbb95c2 Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Olli Pettay
68a0322fcd Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Jonas Sicking
e59a5b673b 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
ac0fae4854 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
5ad96227da Bug 479490 - ###!!! ASSERTION: Mismatched calls to ResumeTimeouts!:, r=bent, sr=jst 2009-03-03 22:18:00 +02:00
Olli Pettay
2219417624 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
cb57be346c backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay
1f7f9b146f backout 479490 2009-03-02 22:20:10 +02:00