Commit Graph

573 Commits

Author SHA1 Message Date
Justin Lebar
fd3b50e945 Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz
--HG--
extra : rebase_source : 2af3094ea2dc95e30db3a9aa4d36766718efa009
2011-08-01 19:45:47 -04:00
Justin Lebar
f12a40a987 Backing out cfea4859f458, 883e581e0849 due to permaorange on moth opt. 2011-08-02 13:23:11 -04:00
Justin Lebar
d3ddbf1365 Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug 2011-05-13 15:42:36 -04:00
Justin Lebar
a895a1311d Bug 646641 - Part 1: SHEntries for the same document should share bfcache state. r=smaug 2011-05-09 17:59:49 -04:00
Boris Zbarsky
100cd4b0dd Bug 675587. Change the location on hash changes even if we can't scroll right then. r=jlebar 2011-08-01 13:43:23 -04:00
Dão Gottwald
165f87025b Backed out changeset 7ad075ec023b 2011-07-31 21:40:55 +02:00
Justin Lebar
a705cbbdb9 Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-31 13:17:55 -04:00
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Matt Brubeck
f77383a536 Back out f57324fe25c9 (Bug 673467) because of mochitest-1 failures 2011-07-26 15:17:02 -07:00
Justin Lebar
22a16aaeef Bug 673467 - Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-26 13:07:48 -04:00
Patrick McManus
2b8561c7ca bug 628561 release http persistent connection on force reload r=bz
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.
2011-07-22 12:31:37 -04:00
Ed Morley
1e063d88b5 Bug 671282 - Replace nsDebugAutoBoolTrueSetter in docshell and AutoBoolSetter in SMIL with AutoRestore; r=bz 2011-07-19 12:04:55 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Justin Lebar
dc90d67bd7 Bug 669671 - When navigating to a history entry created via pushState or touched by replaceState, we should not force the load from cache. r=bz 2011-07-07 09:12:14 -04:00
Igor Bazarny
07804c8f55 Bug 659126 - Implement additional NavigationTiming properties
r=smaug
2011-07-04 18:44:00 +02:00
Igor Bazarny
a2f1b7e521 Bug 668513 - make the w3c tests for navigationtiming pass
r=smaug

--HG--
extra : rebase_source : 791001cf9c9fa54448d9f5f25cf92de4b8cc8d5e
2011-07-04 11:30:43 +02:00
Marco Bonardo
d6c4314155 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Honza Bambas
27509e418e bug 658894 - Collect basic telemetry for HTTP requests and page load. r=jduell 2011-07-01 22:22:18 +02:00
Olli Pettay
209c56c874 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Joe Drew
334e33649c Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Honza Bambas
e60c86ffac Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell+tglek 2011-06-28 16:49:45 +02:00
Boris Zbarsky
07f402e920 Bug 650806. Make sure to only trigger links if their owner document's inner window is still the docshell's current inner window when OnLinkClickSync fires. r=jst 2011-06-26 12:48:37 -04:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Jan Varga
9ed93f386e Bug 635673 - Content inside xul:iframe with type=content is always able to resize top chrome window. r=bz 2011-06-25 13:42:41 +02:00
Masayuki Nakano
501d9048c0 Bug 666901 docshell should use mozilla::Preferences r=bz 2011-06-25 10:55:46 +09:00
Steffen Wilberg
b89e00e5c6 Bug 641195: Remove about:licence, but keep about:license. r=bsmedberg 2011-06-25 09:56:11 +02:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Jesse Ruderman
1f09e65b01 Add crashtest from bug 614499 2011-06-20 11:42:05 -07:00
Neil Rashbrook
290b3487bf Bug 664125 Offline error pages should appear for non-cacheable channels too r=bz 2011-06-16 21:26:22 +01:00
Dão Gottwald
9875ff106c Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02:00
Honza Bambas
cc9f417012 Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas
fb3dc85ca9 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
dbd7510b38 Bug 662200: Update the session history object for reloads. r=bz 2011-06-07 13:04:13 -07:00
Oonishi Atsushi
a32cac7d4c Bug 311007 - Add onLocationChange2 which distinguishes between same-document and different-document location changes to web progress listeners. r=smaug, sr=bzbarsky 2011-06-04 05:31:07 +09:00
Mounir Lamouri
dbc8f56eea Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Kyle Huey
66beef1008 Bug 662125: Fix nsDocShell::ConfirmRepost to initialize a PRBool before passing it through XPConnect. r=bz 2011-06-06 10:58:49 -07:00
Justin Lebar
b195c39d86 Bug 662170 - Navigating to anchor '#' should scroll to top of the page. r=bz 2011-06-08 14:08:29 -04:00
Patrick McManus
06671ee90a Bug 662414 - Provide error page for new necko error NS_ERROR_CORRUPTED_CONTENT. r=jduell 2011-06-08 09:35:26 +02:00
Daniel Holbert
06ac82fb3e Bug 662094 followup: Fix incorrect nsresult in previous patch (to get sameExceptHashes=false, when mCurrentURI is null). r=bz 2011-06-06 14:45:56 -07:00
Daniel Holbert
b7d1c5f2e9 Bug 662094: Don't call nsContentUtils::SplitURIAtHash on null nsDocShell::mCurrentURI, to fix spammed NS_ENSURE_* warning at startup. r=bz 2011-06-06 11:02:44 -07:00
Mounir Lamouri
1669495b78 Bug 565541 (1/2) - Add targetableShellCount to nsIDocShellTreeOwner. r=bz
Basically, this will return a the number of tabs when nsIDocShellTreeOwner is
a nsContentTreeOwner.

--HG--
extra : rebase_source : b998c4bd81fc95a099dbcd246f4a3df85acd861e
2011-04-14 14:27:53 -07:00
Ed Morley
ba1cdb5896 Bug 617539 - Integrate nsIMarkupDocumentViewer_MOZILLA_2_0_BRANCH back into the main interface; r=smontagu 2011-05-30 18:36:23 +02:00
Ms2ger
6469ece53a Bug 631269 - Reduce duplicate code in CloneAndReplaceChild; r=bz 2011-05-28 09:43:55 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Philipp von Weitershausen ext:(%2C%20Justin%20Lebar%20%3Cjustin.lebar%40gmail.com%3E)
5ae81a5495 Bug 420605 - Notify the favicon service when we do a hash navigation so fragment history entries get favicons correctly. r=sicking 2011-05-22 12:51:55 -04:00
Justin Lebar
95fbf4179e Bug 653741 - You should be able to scoll back to the current anchor by focusing the location bar and pressing <enter>. r=bz
--HG--
extra : rebase_source : fde3ce1083868e7d398c626628344bc521224666
2011-05-09 17:59:16 -04:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Justin Lebar
110b9f1823 Bug 655270 - push/replaceState should update the favicon. r=mak, sr=gavin 2011-05-20 08:37:02 -04:00
Justin Lebar
00e27b8bef Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking
--HG--
extra : rebase_source : 72b12b4f2ff34510c350dc529b736f694b35bf6e
2011-05-09 14:54:36 -04:00
Justin Lebar
51df3f318b Bug 656354 - Guard against null pointer dereference in nsDocShell::SetDocCurrentStateObject. r=sicking
--HG--
extra : rebase_source : 74ea820470f5bf8f11d9d61ecfa7dc93207fa3fc
2011-05-17 16:25:06 -04:00
Gavin Sharp
dd3b8d223c Bug 656815: make loading javascript: URIs in a docshell work for DISALLOW_INHERIT_OWNER loads, r=bz
--HG--
extra : rebase_source : 6b0e289ac80ffab967813b06e2e28f2842921b70
2011-05-13 10:40:22 -07:00
Gavin Sharp
f6fa25a9a0 Bug 656433: don't allow URIs loaded into the location bar to inherit the currently loaded document's principal, r=bz, r=dao
--HG--
extra : rebase_source : 3eed0612c5740d6a52ba5898d7ae130cfadd9641
2011-05-12 10:52:25 -07:00
Justin Lebar
f454c06deb Backing out rev 355db79ef6b6 due to orange.
--HG--
extra : rebase_source : 196fc1d1d009a9d9c02c5b2132e6d30721594fd6
2011-05-15 21:51:04 -04:00
Justin Lebar
9ce61756db Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking 2011-05-09 14:54:36 -04:00
Justin Lebar
0421065dcb Bug 646422 - push/replaceState should inform global history of the new URI's title. r=mak 2011-05-15 20:29:18 -04:00
Daniel Holbert
b731b2c2da Bug 654015 patch 1: Stop loading in nsDocShell::CreateAboutBlankContentViewer to avoid unbalanced PageShow notifications. r=bz 2011-05-12 10:50:08 -07:00
Boris Zbarsky
014edefda3 Bug 508369 part 1. Move the detection of loads inheriting a principal later in InternalLoad so that we catch ones that pass in a non-null owner directly. r=jst 2011-05-11 11:28:53 -04:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Edmund Wong
9d6d399f4f Bug 366774 - Removed unused preference bidi.characterset. r=smontagu 2011-05-10 20:24:43 +02:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Ms2ger@gmail.com
f7ccb3b375 Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz 2011-05-08 10:33:18 +02:00
Philip Chee
23f205a495 Backed out changeset: 582c92878440 2011-04-25 02:16:43 +08:00
Edmund Wong
98a08144f2 Bug 366774 - Removed unused preference bidi.characterset.(p1) r=smontagu 2011-04-25 01:55:41 +08:00
Justin Lebar
5bc75b222e Bug 647273 - Remove nsIContentUtils and nsIContentUtils2. r=sicking
--HG--
extra : rebase_source : 8a99a1401b7d7427bed4a136e0b38c475f6473a2
2011-04-14 13:58:36 -07:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Justin Lebar
331607e5aa Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Justin Lebar
f50c4cd27d Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Zack Weinberg
51864c09d8 Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
c957ae039e Bug 641426. Part 5: Avoid operator== where possible to distinguish between 'equal edges' and 'equal areas' for rectangles. r=dbaron,sr=cjones 2011-04-19 15:07:23 +12:00
Ehsan Akhgari
ef53848cec Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Mounir Lamouri
66e8d3d1e7 Bug 625760 - Make "Remote XUL unsupported" error page localizable. r=sicking 2011-04-06 14:20:23 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Peter Van der Beken
4d0735697c Fix for bug 637116 (Leak documents+windows with replaceState, focus, event handler closure). r=mrbkap.
--HG--
extra : rebase_source : 57090db5f6805d70811dc5753e2bc91feb65c0b5
2011-03-03 12:55:55 +01:00
Boris Zbarsky
aae915ec33 Bug 629559. Clone child session history entries on anchor navigation. r=dtownsend,smaug
--HG--
rename : dom/tests/mochitest/general/historyframes.html => docshell/test/historyframes.html
rename : dom/tests/mochitest/general/test_framedhistoryframes.html => docshell/test/test_framedhistoryframes.html
rename : dom/tests/mochitest/general/test_windowedhistoryframes.html => docshell/test/test_windowedhistoryframes.html
2011-03-30 13:40:48 -04:00
Ms2ger
3aac8958f3 Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Ms2ger
9c14371d3a Bug 571685 - Move remainders of webshell into /docshell/base; r=bzbarsky
--HG--
rename : webshell/public/nsIClipboardCommands.idl => docshell/base/nsIClipboardCommands.idl
rename : webshell/public/nsIContentViewerContainer.idl => docshell/base/nsIContentViewerContainer.idl
rename : webshell/public/nsIDocumentLoaderFactory.idl => docshell/base/nsIDocumentLoaderFactory.idl
rename : webshell/public/nsILinkHandler.h => docshell/base/nsILinkHandler.h
rename : webshell/public/nsIRefreshURI.idl => docshell/base/nsIRefreshURI.idl
rename : webshell/public/nsIWebShellServices.h => docshell/base/nsIWebShellServices.h
2011-03-29 22:24:53 -04:00
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
51ecdf79a2 Bug 617539 - Fold nsIContentViewer_MOZILLA_2_0_BRANCH, r=sicking 2011-03-25 11:03:34 -04:00
Benjamin Smedberg
db7fa48a66 Bug 617539 - Fold in nsIDocShell_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:34 -04:00
Mitchell Field
8a39ea72b9 Merge mozilla-central to build-system. 2011-03-13 04:21:37 +11: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
Justin Dolske
9b24f36cf1 Bug 613800 - A Race Condition when closing inactive tab with alerts in OnBeforeUnload; r=jst a=blocking-final 2011-02-15 19:35:28 -05: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