Serge Gautherie
9383707f80
Bug 381467 - Switch application/x-javascript to application/javascript; (Cv1) /docshell/resources/content/netError.xhtml.
...
r=cbiesinger.
2009-12-15 22:25:41 +01:00
Benjamin Smedberg
6cdd11fcd4
test_crashing.html had windows-style line endings.
2009-12-14 09:14:28 -05:00
Benjamin Smedberg
999be86ac2
Merge mozilla-central into electrolysis.
2009-12-14 08:01:18 -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
7a581148bc
Merge mozilla-central into Electrolysis.
2009-11-24 10:06:03 -05:00
Benjamin Smedberg
737515b2c8
Merge mozilla-central into electrolysis.
2009-11-19 12:41:46 -05:00
Boris Zbarsky
0cf80bf052
Update bug 529119 tests to not rely on error page titles.
2009-11-19 20:42:00 -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
Boris Zbarsky
cc6eb188e6
Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron
2009-12-10 14:36:04 -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
Neil Deakin
605ff17f62
Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug
2009-10-16 10:32:05 -04:00
Ben Turner
62534891fc
Merge mozilla-central
2009-10-05 16:08:52 -07:00
Vladimir Vukicevic
6912d252f4
b=515354; Implement "about:memory"; r=mconnor
2009-10-03 00:21:34 -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
Ben Turner
66a36315ce
Merging mozilla-central once more to hopefully clear windows unit tests
2009-09-20 10:47:21 -07:00
Phil Ringnalda
e62c83fdc6
Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted
2009-09-18 19:59:53 -07: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
L. David Baron
ef5a598558
Change common NS_ASSERTION (bug 404693) to NS_WARN_IF_FALSE so we can make progress on making assertions be reftest failures (bug 472557). r=bzbarsky
2009-12-12 13:47:37 -08: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
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07: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
Jesse Ruderman
15e3a448a6
Add crashtests
2009-08-27 19:48:20 -07: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
Jonathan Griffin
78e4b34fb8
Another attempt to fix bug 503988: change the way we invoke find, check the Find bar's status afterwards.
2009-07-28 17:16:51 -07: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
Boris Zbarsky
79df7b9bbe
Make the test output somewhat more useful.
2009-07-13 20:33:02 -07:00
Neil Deakin
239ca1d9ee
Bug 500224, don't focus elements during unload events, r=bz
2009-07-13 07:55:56 -04:00
Simon Montagu
b8c1fb5700
Replace timeouts by event listeners in test cases for bug 92473 and bug 134911
2009-07-13 01:16:52 -07:00
Jonathan Griffin
589cc85691
Adding test for bug 396649. r=bzbarsky
2009-07-10 22:41:13 -07:00
Jonathan Griffin
aed991cd94
Adding test for bug 360511. r=bzbarsky
2009-07-10 22:41:12 -07:00
Jonathan Griffin
0fdda809eb
Adding test for bug 298622. r=bzbarsky
2009-07-10 22:41:12 -07:00
Jonathan Griffin
aee0970085
Adding test for bug 321671. r=bzbarsky
2009-07-09 21:49:48 -07:00
Benjamin Smedberg
cdf4b869dc
Land the remote-tab code from tmp-electrolysis.
2009-06-30 16:39:22 -04:00
David Bolter
281b227c46
Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking
2009-06-29 14:36:25 -04:00
Josh Aas
4734a09527
Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst
2009-06-25 17:06:54 -04:00
Jonathan Griffin
b906db9a26
Adding test for bug 293235. r=bzbarsky
2009-07-09 14:09:44 -07:00
Jonathan Griffin
1059e5f5b1
Add test for bug 294258. r=bzbarsky
2009-07-09 14:09:44 -07:00
Jonathan Griffin
fe34df3c08
Adding test for bug 303267. r=mrbkap
2009-07-09 14:09:44 -07:00
Steven Michaud
3cf940577e
get rid of nsIInternetConfigService. b=489864 r=josh sr=roc
2009-06-23 14:09:19 -05:00
Jonathan Griffin
74eeb977e1
Test for bug 301397. r=bzbarsky
2009-08-12 18:42:10 -04:00
Jonathan Griffin
37c00af939
Another attempt to fix bug 503988
2009-07-24 09:33:20 -04:00
Justin Lebar
fe8a14ca9c
Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug
2009-07-21 14:17:15 -07: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
Jonathan Griffin
65c74d3d70
Another attempt to fix random orange bug 503988
2009-07-21 13:41:57 -04:00
Johnny Stenback
35aaabd982
Backed out changeset a28347623d0f due to mochitest failures.
2009-07-20 18:20:49 -07:00
Justin Lebar
45e25bc917
Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug
...
--HG--
extra : rebase_source : 977f304a4f318c9371da5065cab600f57804ea0d
2009-07-20 14:09:04 -07:00
Boris Zbarsky
c7c10a1723
Trying to fix bug 503988
2009-07-17 23:35:09 -04:00
Nick Thomas
0a334199c2
Bug 503469, Support packaging WinCE Firefox builds as zip, complete.mar, r=ted.mielczarek
2009-08-11 15:50:32 +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
Jonathan Griffin
53843d4954
Remove unneeded focus check in order to fix bug 508188
2009-08-04 10:43:15 -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
Jonathan Griffin
5a44a06a30
Bug 501235 - "add new mochitest sub-harness for docshell testing." r=bzbarsky
2009-06-30 18:35:32 -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
Olli Pettay
bf49643076
Bug 498319, r+sr=bz
...
--HG--
extra : rebase_source : 3e2865232a43ef4e3a63627abf0f603e37351412
2009-06-16 12:05:09 +03: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
Honza Bambas
d3b06f2ee5
Bug 492219 - localStorage's constructor should be Storage, iids update on trunk only, r=bz
2009-05-19 10:26:40 +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
Steven Michaud
e8a3b22bb1
Backed out changeset add33a95e3ef to fix talos crashes. b=489864
2009-05-11 15:39:37 -05:00
Steven Michaud
4a54908c46
get rid of nsIInternetConfigService (patch mostly by joshmoz@mozilla.com). b=489864 r=josh sr=roc
2009-05-11 13:17:35 -05:00
Jesse Ruderman
6ca6a7746e
Fix crashtest to be more similar to the original testcase in the bug, by not referring to a file that doesn't exist.
2009-05-07 17:39:26 -07:00
Boris Zbarsky
64b2d5e1bf
Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg
2009-05-07 15:21:53 -04:00
L. David Baron
8c38aba811
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07: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
Arpad Borsos
07dc31e45f
Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg
2009-04-14 10:02:58 +02:00
Boris Zbarsky
081810b152
Bug 485643. Remove some unnecessary code, r+sr=jst
2009-04-13 11:33:27 -04: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
Arpad Borsos
d6414ad7f7
Bug 474369 - get rid of nsVoidArray, docshell part; r=bzbarsky
2009-04-03 23:21:40 +02:00
Jeremy D. Lea
39f62f1364
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08: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
Dave Camp
bb3fad06d5
Bug 481342 - Fix some unpacking logic. r+sr=bz
...
--HG--
rename : docshell/test/bug369814.zip => docshell/test/bug369814.jar
2009-03-10 14:58:00 -07: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
Asaf Romano
a06a82c972
comments and a hard-tab fix
2009-02-26 16:01:11 -08:00
Asaf Romano
fe4d91cd12
Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz.
2009-02-26 14:05:42 -08:00
Olli Pettay
1380d66c68
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
e6f01244a1
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
Dave Camp
66a3a31b50
Bug 442584 - Prefetching stops working until Firefox is restarted. r=jduell, sr=jst
2009-02-24 23:12:12 -08:00
Mats Palmgren
8303647867
Initialize members. b=479713 r+sr=roc
2009-02-24 21:06:34 +01:00
Zack Weinberg
558a5863e2
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
Boris Zbarsky
8eab85d08a
Speed up canvas comparisons in bidi mochitests. No bug
2009-02-19 22:04:19 -05:00
Chris Pearce
e122c46837
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
5f1cc5c3ce
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
Daniel Holbert
9cff7a2163
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
234e700c64
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
b78c05a597
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
Jonas Sicking
be65469e7c
Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz
2009-01-21 14:50:28 -08:00
Boris Zbarsky
db2680c54b
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
Peter Van der Beken
533783d9ea
Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange.
2009-01-22 14:52:34 +01:00
Jonas Sicking
e0c26b7454
Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz
2009-01-21 14:50:28 -08:00
Boris Zbarsky
e977ac2059
Back out bug 459443 for now, until the patch in bug 474389 gets reviewed
2009-01-20 22:54:52 -05:00
Boris Zbarsky
a2c9aa7a18
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
e27a8b62d1
Bug 473938 Stylesheets don't load without a safe browsing service r+sr=sicking
2009-01-16 21:54:39 +00:00
Dave Camp
c12a3b0506
Bug 441359: Check script and css loads against the classifier. r+sr=jonas
2009-01-13 23:13:48 -08:00
Jeremy Lea
1800930122
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
David Zbarsky
8d8553ee41
Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst
2009-08-24 16:02:07 -04:00
Mitchell Field
eb31b31d25
Bug 514665 - fix stupid module name differences on windows. r=ted
2009-09-25 18:41:16 +02:00
Boris Zbarsky
21eb2434f8
Bug 449780. When doing a frameloader swap, clear the bfcache on both docshells, since we can't deal with all those presentations. r+sr=jst
2009-01-13 14:32:30 -05:00
Dave Camp
b18d454609
Backed out changeset 44890ee1d15f for leaks
2009-01-13 02:22:59 -08:00
Dave Camp
ca7e07e266
Bug 441359: Check script and css loads against the classifier. r+sr=jonas
2009-01-12 21:52:00 -08:00
Dave Camp
4edd89ab0a
Bug 458091: Don't store an mURI in nsDOMStorage. r=bz
2009-01-12 21:52:00 -08:00
Benjamin Smedberg
24e7cb1f78
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
50621e4f9f
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
d0b948876f
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
Boris Zbarsky
15aaf87d51
Bug 468189. Stop failing the test if we don't finish within 5 seconds. It causes sporadic failures.
2009-01-07 09:23:56 -05:00
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
Boris Zbarsky
ee6c3e172a
Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst
2008-12-28 10:34:00 -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
Boris Zbarsky
452bac2b8b
Add a workaround for bfcache suckage and reenable these tests. r=sheriff for CLOSED TREE
2008-12-04 15:51:25 -05:00
Markus Stange
76daa5a7da
Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc
2008-12-02 14:18:08 +01:00
Boris Zbarsky
c1f95dabb2
Disable tests for now to fix orange
2008-12-03 14:44:33 -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
Graeme McCutcheon
6143e25f3a
Adding tests for bug 112564 and bug 92598
2008-12-03 12:52:49 -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
Boris Zbarsky
8cee0d175c
Adding test
2008-11-18 17:57:13 -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
Phil Ringnalda
bbe7e1d08a
Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg
2008-11-03 19:46:28 -08: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
0aca64705d
Bug 456980. Make it possible to swap chrome docshells as well, if there is no session history involved. Can be used for sidebars and such. r+sr=jst
2008-10-08 09:04:32 -04: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
Gavin Sharp
f4b67be5af
Bug 455611: tweak docshell/test/navigation/NavigationUtils.js so that it works in non-Firefox apps, r=bz
2008-09-19 11:44:33 -04:00
Oleg Romashin
79f4d96535
Bug 455204 - Building with --disable-libxul broken. r=ted.mielczarek
2008-09-17 12:35:07 +03:00
Robert Strong
043bda8081
Merge for back out changeset ff043f7356f7 - Bug 396519
2008-09-11 15:08:14 -07:00
Robert Strong
70ff5e1e4b
Backed out changeset ff043f7356f7
2008-09-11 14:54:40 -07:00
Robert Kaiser
e3cf823f2f
bug 454513 - browser_bug453896.js fails on all SeaMonkey unit test boxes, remove event listeners added by the tests when they aren't needed any more, r=dbaron
2008-09-11 02:07:52 +02:00
Andrew Schultz
c510ff9d02
Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky
2008-09-09 21:39:38 -04:00
Ted Mielczarek
468a3823fc
bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg
2008-09-09 13:59:11 -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
Boris Zbarsky
8c827e3eec
Bug 113934 tests
2008-08-25 13:21:28 -04: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
"Brad Lassey"
67b429f8cc
Bug 441636 - Fix compilation on non-dbus platforms
2008-07-27 09:40:14 -04:00
"Brad Lassey"
a6b45b982b
Bug 441636 - Add support for DBus Handler Apps r=biesi
2008-07-25 12:36:07 -04:00
Benjamin Smedberg
906cb69db1
Bug 445570 - Heap-allocated autostrings in DOM/content, r+sr=jst
2008-07-17 11:05:20 -04:00
Mark Banner
c975877210
Bug 431130 xpcshell test test_nsIDownloadHistory.js fails on Thunderbird. r=sdwilsh
2008-07-17 15:04:27 +01:00
Johnathan Nightingale [johnath]
1b9a7b0f98
Bug 441169 - [r=bzbarsky sr=dveditz]
2008-07-12 05:22:34 -05:00
Boris Zbarsky
d8c5e4662d
fix typo in previous push (bug 439164)
2008-07-08 18:05:50 -04:00
Boris Zbarsky
cf5e649276
Bug 439164: refactor test_bug413310 to avoid intermittent timing-related failures
2008-07-08 18:04:40 -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
gavin@gavinsharp.com
0cbe08eec3
Back out bug 432938 because it caused bug 433241, a=schrep/beltzner
2008-05-11 13:12:29 -07:00
reed@reedloden.com
3dca511255
Bug 432938 - "Use GTK stock icon for netError favicon instead of Windows icon" [p=reed r+sr=jst r=dietrich a1.9=schrep]
2008-05-09 20:36:36 -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
dietrich@mozilla.com
c62383ea7b
Bug 430792 - Site's favicon is replaced if browser error page is shown (for ehsan.akhgari@gmail.com, r=dietrich, a=beltzner)
2008-05-07 21:35:08 -07:00
johnath@mozilla.com
3f4e8e6f69
Hyperlinked ssl error page not useful for wildcards. b=432491 r=gavin a=beltzner
2008-05-07 13:39:53 -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
kairo@kairo.at
a8b1834668
bug 431453 - Make browser-chrome mochitests pass on SeaMonkey: make some platform tests Firefox-only or non-SeaMonkey (as applicable), r=smontagu for docshell, r=dwitte for cookie, r=gavin for dlmgr, a1.9=damons for platform tests; make SeaMonkey sanitizer tests pass, sr=Neil
2008-05-02 06:13:19 -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
roc+@cs.cmu.edu
05b913ced9
Bug 430723. Don't prematurely detach and reattach the editor object. patch by Chris Pearce, r+sr=jst,a=schrep
2008-05-01 02:00:11 -07:00
johnath@mozilla.com
aad7aadc1b
SSL Error page for domain mismatch should hyperlink to correct site (sometimes). b=402210 r=gavin r=kengert r=axel ui-r=beltzner moa/sr=biesi a=beltzner Significant chunks of p=timeless
2008-04-30 13:10:22 -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
gavin@gavinsharp.com
9e1b6d95f2
Bug 430904: Use identity error icons on ssl error pages (all platforms), icons by the Tango and Proto teams, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r=mconnor, sr=jst, a=mconnor
2008-04-28 02:19:07 -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
e751d7a1fe
Bug 429721: Update 16x16 warning favicon in netError.xhtml to be platform specific, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=jst, a=beltzner
2008-04-22 12:41:39 -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
reed@reedloden.com
307a4df26e
Typo fix - s/resuls/results/.
2008-03-30 00:09:27 -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
vladimir@pobox.com
1387ca69dc
fix up unit test to accept '.jpeg' on linux
2008-03-20 16:55:44 -07:00
vladimir@pobox.com
c8852d69da
b=414201, [relanding] JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner
2008-03-20 15:57:44 -07:00
vladimir@pobox.com
9a51934262
backing out 414201 because I hate 10.4
2008-03-20 14:56:31 -07:00
vladimir@pobox.com
ce6f8c1c55
b=414201, JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner
2008-03-20 14:39:09 -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
ajschult@verizon.net
042fa1a7dc
Bug 396519 test to ensure content viewers are saved and evicted at appropriate times.
2008-03-07 23:24:41 -08:00
ajschult@verizon.net
8ff8e48026
Bug 358599: Crash when closing tab [@ nsSHistory::EvictWindowContentViewers], r+sr=bzbarsky, a=shaver
2008-03-06 23:47:30 -08: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
reed@reedloden.com
dc241bfceb
Bug 197466 - "Back button (session history) has 50 entries regardless of setting in prefs.js" [p=zug_treno@yahoo.com r+sr=bzbarsky a1.9=damons]
2008-02-23 01:36:27 -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