Commit Graph

385 Commits

Author SHA1 Message Date
Ms2ger
2deca252e5 Bug 639849 - Remove nsIDOM3Document; r=bz 2011-03-26 17:06:27 +01:00
Boris Zbarsky
aaa1e13bcf Bug 633421. Throttle timeouts in background tabs to 500ms, noot 10ms. r=jst 2011-03-25 21:05:55 -04:00
Benjamin Smedberg
db7fa48a66 Bug 617539 - Fold in nsIDocShell_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:34 -04:00
Brad Lassey
715c879877 bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec 2011-03-10 23:33:43 -05:00
Ehsan Akhgari
cf10876537 Back out changeset 4b7c9efbf269 (bug 637644) to investigate whether it is the culprit for Linux Moth oranges on our CLOSED TREE; a=investigatory-backout-blessed-by-#developers 2011-03-02 15:01:15 -08:00
Boris Zbarsky
f21fa55002 Bug 637644. Start layout on the new document in CreateAboutBlankContentViewer, since if we don't do it here no one ever will. r=jst, a=blocker 2011-03-02 14:45:13 -05:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar
ef161c8702 Bug 634834 - Throw an error if JSON stringification during history.push/replaceState navigates the page. r=bz, a=blocking 2011-02-18 16:15:42 -08:00
Peter Van der Beken
85288fe219 Fix for bug 633738 (quora.com bloats out of control (part 3)) - keep editor alive when navigating back. r=bz, a=jst. 2011-02-16 13:07:48 +01:00
Peter Van der Beken
d78216fbaf Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst. 2011-02-16 13:07:47 +01:00
Jonas Sicking
b816bf46cf Bug 634435: Add a property to expose the current pushState-state. r=jlebar a=beltzner 2011-02-17 12:44:04 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Olli Pettay
b7209c3c54 Bug 633413, don't bfcache so often, part 2, r=bz, a=blocker
--HG--
extra : rebase_source : 434c40c52237a3f6b35916288579ab6572e702ff
2011-02-15 13:41:38 +02:00
Ehsan Akhgari
4d76d777f1 Back out changeset 0fd8793db7f3 (bug 633738) because of various oranges in different test suites on multiple platforms; a=orange 2011-02-14 18:45:23 -05:00
Peter Van der Beken
b9ca9b2552 Fix for bug 633738. Fix leak due to session history code keeping an editor alive too long. Patch by peterv and bz, r=jst@jstenback.com, a=blocker 2011-02-14 14:26:14 -08:00
Timothy Nikkel
f93783378f Bug 597774. Make sure to invalidate when inserting the root view of a document when it is coming out of the bfcache. r=roc,bz a=roc 2011-02-09 22:35:03 -06:00
Benjamin Stover
ed4ebafb97 Bug 630593 DocShell history gives NS_ERROR_OUT_OF_MEMORY for useGlobalHistory r=bz r=sdwilsh a2.0=mfinkle 2011-02-09 11:45:53 -08:00
Dave Townsend
397c62c046 Bug 631440: Crash [@ nsDocShell::AddToSessionHistory] with pushState. r=bz, a=bsmedberg 2011-02-08 14:46:56 -08:00
Dave Townsend
10ea57d5ae Bug 602256: Using history.pushState in a page breaks history tracking for inner frames. r=bz, a=blocks-betaN 2011-02-03 09:27:39 -08:00
Boris Zbarsky
98c1b5d367 Bug 625712. Make useGlobalHistory work again on docshells. r=sdwilsh 2011-01-28 09:29:01 -05:00
Boris Zbarsky
69f779163b Bug 611381. Don't assume we have a prompt. r=jst, a=blocker 2011-01-19 17:40:02 -05:00
Olli Pettay
df3448dcd1 Bug 622480, no need to save old presentation always, r=bz, a=blocking
--HG--
extra : rebase_source : 3d1453d72509e89b2929de49702dcd6dc6e94f81
2011-01-18 21:55:04 +02:00
Mounir Lamouri
525b8a4b65 Follow-up from bug 623482: improve error message. r+a=me DONTBUILD 2011-01-17 12:23:47 +01:00
Mounir Lamouri
b550e1a0a6 Bug 623482 - Present error page when someone tries to access remote XUL. r+a=sicking
--HG--
extra : rebase_source : 2786e51db70ca0c66f6388376711e74816828c2d
2011-01-14 16:33:57 +01:00
Justin Lebar
1031ecc379 Bug 619113 - Fix Vim modeline in nsDocShell.cpp. rs=jst a=DONTBUILD 2010-12-15 14:09:07 -08:00
Mats Palmgren
9a8eb3a615 Bug 614756. r=Olli.Pettay a=roc 2010-12-08 03:17:33 +01:00
Ms2ger
20a7966acb Bug 589907 - Fix unused variable warning in docshell/ r=benjamin a=npob (debug warning) 2010-12-05 15:38:30 +00:00
Benjamin Stover
c8c3c11e72 Bug 598078 - DocShell warning: Could not fetch previous flags, URI will be treated like referrer. r=bz, a=warning 2010-09-20 10:27:28 -07:00
Justin Lebar
71e63abc25 Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking 2010-11-29 11:13:12 -08:00
Justin Lebar
871259b52c Bug 582795 - nsDocShell::LoadPage should assign a unique document identifier to its cloned SHEntry so changing charsets in view-source works. Also fixes bug 585298. r=bz a=blocking2.0 2010-08-09 10:16:50 -07:00
Olli Pettay
913484fabb Bug 612887, Try to fix a session history crash, r=jst, a=blocking 2010-11-19 14:01:10 +02:00
Margaret Leibovic
6a27d3fb58 Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Robert O'Callahan
6bb7a02bbf Backed out changeset ecd1948992eb 2010-10-29 16:07:46 +13:00
Margaret Leibovic
f74adedb2c Bug 575561 - External links from within app tabs should always open in new tabs instead of replacing the app tab's page. r=gavin+bz, a=blocking-beta7 2010-10-28 15:00:31 -07:00
Honza Bambas
e618ce3cbb Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Blake Kaplan
b594d291ff bug 603152 - Inner windows principals must remain constant. If we want to change them, change the inner window instead. r=bz 2010-09-17 14:54:41 -07:00
Mounir Lamouri
8ac657546b Merging backout. 2010-09-30 17:05:19 -07:00
Mounir Lamouri
6fb5c95481 Bug 600813 - Removing PUT and DELETE form methods. a=blocking-b7 2010-09-30 16:55:11 -07:00
Mounir Lamouri
5fec28d5b5 Merge backout. 2010-09-30 16:49:56 -07:00
Mounir Lamouri
1321f82470 Bug 600813 - Remove PUT and DELETE form methods. r=backout a=blocking-b7 2010-09-30 16:48:52 -07:00
Mounir Lamouri
4614343660 Bustage: not HTTP channel shouldn't be consider as an unsafe HTTP channel. r+a=bustage 2010-09-10 10:03:40 +02:00
Mounir Lamouri
5c3aec9631 Bug 583288 (2/2) - Let forms using DELETE and PUT HTTP method when submitting. r=jst,sicking a2.0=sicking 2010-09-10 07:00:10 +02:00
Timothy Nikkel
a88f97f93c Bug 591157. Remove unneeded SetDOMDocument call. r=bzbarsky a=jst 2010-09-11 13:24:50 -05:00
Olli Pettay
f858e28089 Bug 534178, remove dublicate nsSHTransactions, r=bz, a=blocking
--HG--
extra : rebase_source : a963bc21f3d2fd2038d6b26e50ad9aa50f6bc3e4
2010-09-05 21:10:35 +03:00
Justin Lebar
bd631873ae Bug 590573 - Followup, remove printf accidentally left in docshell. rs,a=dholbert
--HG--
extra : rebase_source : 1d9f31b391a7d5eebff6ee2bb691d4b0a3709d09
2010-08-27 15:34:07 -07:00
Justin Lebar
5284bf7d11 Bug 590573 - pushState should save the scroll position of the old SHEntry, and going between pushStated entries should respect the saved scroll position. r=bzbarsky a2.0=blocking 2010-08-27 14:19:45 -07:00
Shawn Wilsher
008f27b425 Bug 587573 - Log image requests to the WebConsole: DocShell fix r=bzbarsky a=blocking2.0 2010-08-26 09:52:02 -07:00
Sid Stamm
c82bc1947a Bug 495115 - Implement Strict-Transport-Security to allow sites to specify HTTPS-only connections, r=kaie+honzab+bjarne, a=betaN+ 2010-06-03 14:03:17 -07:00
Justin Lebar
d55e665d20 Bug 580069 - replaceState should clear the SHEntry's POST data. r+a2.0=sicking
--HG--
extra : rebase_source : 269b6c86730354ea829e2e6bffae3f2e19ba6bb3
2010-08-11 16:49:43 -07:00
Justin Lebar
994a2d25b2 Backed out changeset 7ba410f45f42 2010-08-18 17:11:27 -07:00
Justin Lebar
4e754fd28f Bug 580069 - replaceState should clear the SHEntry's POST data. r+a2.0=sicking
--HG--
extra : rebase_source : 48bcebb876ff77a4c8a7157c5aa15746846dd007
2010-08-11 16:49:43 -07:00
Olli Pettay
75b4ffdc0e Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Marco Bonardo
49550d2b5c Bug 546253 - moz_openpages_temp table needs to describe pages that may not be in moz_places. r=sdwilsh a=blocking 2010-08-13 21:53:05 -04:00
Blake Kaplan
cfe8497085 Bug 583200 - Don't assert things about SHEntries if session history is disabled. 2010-08-12 21:05:05 -07:00
Bobby Holley
27a2d4812b Bug 343515 - need API for tabbrowsers to tell docshells they're visible/hidden.r=gavin,sr=bz,a=blocker 2010-08-05 11:27:52 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Blake Kaplan
c7676ac219 Bug 580819 - Don't try to "replace" the transient about:blank content viewer when loading about:blank immediately after it. r=smaug 2010-07-21 16:26:27 -07:00
Mark Banner
0321cb04d3 Bug 579303 Fix docshells to respect SetAllowJavascript properly. r=ehsan,smag,a=bsmedberg 2010-07-23 07:40:19 +01:00
Blake Kaplan
1f6eec8ed2 Backed out changeset 50ea31d46c0e. The newly added assertion is asserting. 2010-07-22 21:30:56 -07:00
Blake Kaplan
d91d792e4c Bug 580819 - Don't try to "replace" the transient about:blank content viewer when loading about:blank immediately after it. r=smaug
--HG--
extra : rebase_source : fcc560fdc1a4231935a118da66106800d3839c02
2010-07-21 16:26:27 -07:00
Boris Zbarsky
29f6154921 Bug 579744. Extract the actual content type from the attribute value before using it as a type hint for the channel. r=jst 2010-07-22 17:33:38 -04:00
Justin Lebar
c59240efa2 Bug 530657 - Simply code which gets an nsIDOMDocument and QIs to an nsIDocument. r=sicking, approval2.0=benjamin
--HG--
extra : rebase_source : d6df1ebbf2cf3e7bca50fab22d1a0163a333561f
2010-07-19 10:31:50 -07:00
Justin Lebar
9601b70dc6 Bug 544535 - Ignore push/replaceState's title argument. r=sicking, approval2.0=benjamin
--HG--
extra : rebase_source : 3db157c08faee321e2ae1e86fc45d1290c8009ae
2010-07-19 14:46:01 -07:00
Benjamin Stover
727ca6c5da Bug 556400 - Set titles asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:41 -07:00
Benjamin Stover
e4051ec461 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Boris Zbarsky
7643835cf4 Bug 576833. Transfer the author style boolean across bfcache loads just like we do for normal navigation. r=jst 2010-07-15 09:59:24 -04:00
Dave Townsend
f1d4bafdbd Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Dave Townsend
1603750c26 Backed out changeset 07a9dcc28c5c from bug 566738 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %0C%19%86%CE%D8%F3%95%7FV%BA%3DsM%06%D4%EF%C8%B7%8Dq
2010-07-02 20:00:45 -07:00
Benjamin Stover
c41accdd7c Bug 566738 - Make setting titles asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:19:33 -07:00
Benjamin Stover
97eb3d6fee Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Doug Turner
a73902aba6 Merge with mc 2010-06-29 20:10:23 -07:00
Benjamin Stover
8150bfd360 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Doug Turner
c92986c46a Merge from mc 2010-06-29 14:39:57 -07:00
Benjamin Stover
41fbf65971 Bug 566738 - Add SetURITitle to IHistory r=sdwilsh, sr=bz 2010-06-29 14:12:41 -07:00
Benjamin Stover
86673a511e Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07:00
Jason Duell
e7064f2be4 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1277056918 -7200
Bug 537164 - e10s HTTP: caching.  r=jduell, sr=biesi
2010-06-23 23:55:19 -07:00
Jason Duell
d194b9d486 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Honza Bambas
424bc30c44 Bug 569227 - Join HttpChannelChild with its TabChild, r=smaug 2010-06-18 12:49:28 +02:00
Ehsan Akhgari
1c4e5eae5f Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay
--HG--
extra : rebase_source : 7d01d90f59e60b63e64b96bb655937fe0d0c879a
2010-06-04 17:03:50 -04:00
Ehsan Akhgari
fb10e0a996 Backed out changeset d1cbe16de6bf to fix oranges 2010-06-28 15:29:30 -04:00
Ehsan Akhgari
4ba6d6114b Bug 519928 - IFRAME inside designMode disables JavaScript, breaking current clickjacking defenses; r=Olli.Pettay 2010-06-04 17:03:50 -04:00
Doug Turner
26297a1c2a Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Doug Turner
d4af2b4341 Backing out 1a916e3c1ad1 2010-06-26 00:31:31 -07:00
Benjamin Stover
785d263fb3 Bug 566738 - Add SetURITitle to IHistory. r=sdwilsh sr=bz 2010-06-25 22:53:41 -07:00
Benjamin Stover
44b838b62d Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Jason Duell
84b443f1c0 # User Michal Novotny <michal.novotny@gmail.com>
# Date 1272456176 -7200
Bug 549241 - Channel classifier should run in chrome process. r=biesi, sr=jst
2010-05-21 14:03:02 -07:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Honza Bambas
7caac1e81b Bug 536466, r=bz 2010-05-11 18:00:53 +02:00
Boris Zbarsky
f7d7c95ec6 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Benjamin Smedberg
80b423e0a0 Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz 2010-06-10 12:42:16 -04:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Justin Lebar
809707c50c Bug 554155 - history.pushState should fire onLocationChange only once. r=smaug 2010-05-02 10:31:07 +02:00
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