Commit graph

1798 commits

Author SHA1 Message Date
Francois Marier
6806fa1bec Bug 529697 - (CSP 1.1) Implement form-action directive [3/4], r=unfocused
Make the cspFrameAncestorsBlock error page generic and use it with
the form-action directive too.
2014-11-15 03:08:00 +01:00
Francois Marier
162f0e0a1c Bug 529697 - (CSP 1.1) Implement form-action directive [2/4], r=smaug
Check CSP when submitting HTML forms.
2014-11-18 01:13:00 +01:00
Christoph Kerschbaumer
ba415e054d Bug 1083422 - Add triggering Principal to nsILoadInfo - update consumers (r=bz) 2014-11-14 08:57:26 -08:00
Christoph Kerschbaumer
d5cbc137e2 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Kannan Vijayan
4ac6dd569f Bug 1050774 - Record script execution in timeline view. r=bholley 2014-11-13 16:22:24 -05:00
Olli Pettay
65ad793583 Bug 1090918 - Multiple History items when visiting links and using 'Back', r=bz
--HG--
extra : rebase_source : ce5b34fff505a4dc0d98b8cc384e84d33bc0aed1
2014-11-13 20:19:20 +02:00
Tom Tromey
7411f6252f Bug 1096329 - Check ToJSValue result in PopProfileTimelineMarkers. r=smaug 2014-11-11 11:30:00 -05:00
James Kitchener
a7839118a6 Bug 971432 - Move baseURI to nsILoadInfo. r=bz 2014-11-05 01:34:00 +01:00
Ryan VanderMeulen
6de5c1cb7e Merge inbound to m-c. a=merge 2014-10-29 16:49:04 -04:00
Morris Tseng
fc246a326d Bug 1088559 - Also dispatch NotifyAsyncPanZoomStarted/NotifyAsyncPanZoomStopped to nsDocShell's child. r=roc 2014-10-29 02:03:00 -04:00
Blake Kaplan
afa69fda4d Bug 1049299 - Correctly calculate 3rd-party cookie status for content-process HTTP channels. r=jduell 2014-10-28 14:23:00 +01:00
Tom Tromey
78bd7d3f09 Bug 1089643 - don't use decltype. r=smaug 2014-10-27 07:04:00 +01:00
Nicholas Nethercote
c24a781566 Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Tom Tromey
f067fa09ee Bug 1050501 - add timeline marker from EventListenerManager. r=smaug r=paul 2014-10-28 12:18:00 +01:00
Paul Rouget
2f39e96d72 Bug 1050502 - [timeline] display console.time/timeEnd calls as markers. r=pbrosset,r=vporof,r=baku 2014-10-22 23:51:00 +02:00
Kearwood (Kip) Gilbert
d657e33227 Bug 1010538 - Part 5 - Enable automatic smooth scrolling for anchor links. r=mstange
- When an anchor link is clicked, the SCROLL_SMOOTH_AUTO flag is now set by
  PresShell::GoToAnchor when calling PresShell::ScrollContentIntoView.
- Added an arguement, aAnimateScroll, to PresShell:GoToAnchor to indicate that
  the scroll may be animated.  This will only be set to true when an anchor
  link is clicked.  Opening a page with an anchor link will not trigger
  such animations.
2014-09-15 15:54:42 -07:00
Tom Tromey
631882b0cd Bug 1070089 - change timeline markers to have a consistent epoch (carrying forward r=smaug) 2014-10-17 16:02:42 -07:00
Christoph Kerschbaumer
9090067df3 Bug 1063197 - Callsites of NS_NewInputStreamChannel in /docshell/ (r=bz) 2014-10-16 11:17:29 -07:00
Christoph Kerschbaumer
29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Olli Pettay
dd8c29571f Bug 855443 - Assertion failure in nsSHEntry.cpp, don't just append a new SHEntry to parent if we already have an SHEntry for the loading page, r=bz
--HG--
extra : rebase_source : 8f8d0df030a3205d9d9845e90c849bf94115ff1b
2014-10-15 13:10:04 +03:00
Tom Tromey
dc1e15620c Bug 1071056 - preserve unpaired START markers until next pop. r=bgirard 2014-10-14 13:06:19 +02:00
Fabrice Desré
441a8d0a8a Bug 832700 - Add private browsing to b2g, API implementation r=ehsan,smaug 2014-10-10 14:28:04 -07:00
L. David Baron
e28dbab13c Bug 1047928 patch 12 - Optimize nsDocShell::SetDeviceSizeIsPageSize better, since changing results of media queries should not require forcing restyling if media queries don't change. r=bzbarsky 2014-10-08 14:27:04 -07:00
L. David Baron
66d8fd50f4 Bug 1047928 patch 11 - Fix indentation. r=bzbarsky 2014-10-08 14:27:04 -07:00
L. David Baron
6cd790c1a2 Bug 1047928 patch 10 - Pass restyle hint to nsPresContext::MediaFeatureValuesChanged. r=bzbarsky
This patch is not intended to contain any changes in behavior.

The behavior changes in these callers are in the following 4 patches.
2014-10-08 14:27:03 -07:00
Eric Rahm
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Gijs Kruitbosch
aff56ac9f2 Bug 1057166 - move FHR reporting out of docshell and fix test to work in e10s, r=bz
--HG--
extra : rebase_source : d5b9122803f306ab08deb85b953bbc7129e182f0
2014-09-11 14:50:55 +01:00
Gijs Kruitbosch
c7d764da67 Backed out changeset 3cc898b3ef5d (bug 1057166) for build bustage
--HG--
extra : rebase_source : 724c8cb9e4c021a523a58af7e2f53a23aaa1901a
2014-10-01 11:46:28 +01:00
Gijs Kruitbosch
22e6962ade Bug 1057166 - move FHR reporting out of docshell and fix test to work in e10s, r=bz 2014-09-11 14:50:55 +01:00
Dave Townsend
8b46b5daab Bug 999239: Copy session history when recreating browser element for the remote -> non-remote transition. r=bz, r=felipe, sr=gavin 2014-09-25 11:35:45 -07:00
peter chang
ae05a3086a Bug 1020801 - Notify the ScrollViewChange DOM event when APZ starts/stops to change the transform. r=ehsan 2014-09-23 06:37:00 -04:00
Patrick Brosset
21fbda20ef Bug 1065954 - Avoid drawing start/end markers in the timeline if no layer in the inspected docshell was painted. r=BenWa 2014-09-23 01:47:00 -04:00
Christoph Kerschbaumer
1df11d07a4 Bug 1038756: Refactor SetUpChannelOwner to ChannelShouldInheritPrincipal (r=bz) 2014-07-17 16:07:58 -07:00
Christoph Kerschbaumer
007a6cc8b4 Bug 1038756: Callsites creating a channel in /docshell/ (r=bz) 2014-09-21 09:40:48 -07:00
Jan Beich
8b4aaabb65 Bug 1065251 - Unbreak build on non-SPS platforms after bug 1050376. r=bgirard 2014-09-09 23:56:00 +02:00
Patrick Brosset
fb1884e4ec Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Gijs Kruitbosch
cd02e570d5 Bug 1046022 - fix LoadURI to not let people load anything inside onbeforeunload, r=bz 2014-09-02 23:16:23 +01:00
Carsten "Tomcat" Book
caccb79579 Backed out changeset 48816257a7b0 (bug 1050376) for bc2 test failures 2014-09-09 11:15:18 +02:00
Patrick Brosset
4cc3ab22b1 Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 09:48:36 +02:00
Boris Zbarsky
2eaef1e702 Bug 974857. Compare attempted anchor traversals to both the actual page URI and the exposable URI, and do an anchor scroll if either one matches. r=smaug 2014-09-05 14:28:46 -04:00
Christoph Kerschbaumer
68de320099 Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Birunthan Mohanathas
77bfad00a6 Bug 1045801 - Rename SafeCast to AssertedCast. r=Waldo 2014-08-25 12:17:32 -07:00
peter chang
341859dcfa Bug 1054901 - Add AsyncPanZoomStarted/Stopped notifications to scroll observers. r=roc 2014-08-22 04:32:00 -04:00
David Keeler
0862853fee bug 1049946 - don't expose the "Add Exception" button in about:certerror for HSTS sites when browser.xul.error_pages.expert_bad_cert is set r=jst 2014-08-07 11:00:00 -07:00
Georgios Kontaxis
9bddbaa73e Bug 1048643: extended nsDocShell with flags to indicate tracking protection status (similar to mixed content blocked/loaded status) 2014-08-07 13:35:03 -07:00
Andrea Marchesini
a87ad490c6 Bug 1037715 - Implement .searchParams on Location, r=bz, r=ehsan 2014-08-07 17:45:21 -07:00
Bob Owen
c98076ab44 Bug 1046647 - Part 5: Replace nsCxPusher in nsDocShell OnLinkClickEvent::Run. r=bholley 2014-08-05 17:18:38 +01:00
Bob Owen
325adb5305 Bug 1046647 - Part 4: Replace nsCxPusher in nsDocShell::AddState. r=bholley 2014-08-05 17:18:30 +01:00
Reuben Morais
23013891ef Bug 1044490 - Follow app redirects during <meta refresh> navigation. r=bz 2014-08-04 22:00:50 -03:00
Boris Zbarsky
e72f8e97bc Bug 1045096. Make sure initial about:blank in iframes have a nsDOMNavigationTiming object, so we don't end up with window.performance throwing when accessed on their window. r=smaug 2014-08-04 01:25:30 -04:00
Bob Owen
5c01bd6fa7 Bug 1045646 - Part 3: Replace AutoPushJSContext in nsHTTPIndex::OnFTPControlLog. r=bholley 2014-08-01 09:11:55 +01:00
Olli Pettay
bb5f6c0cd7 Bug 1031303 - mContext can be null when nsGlobalWindow::SetNewDocument is called, r=jst 2014-07-31 23:15:57 +03:00
Bobby Holley
f6516d5622 Bug 1022229 - Borrow App ID and mozBrowser-ness when creating sandbox null principals. r=bz 2014-07-29 08:47:52 -07:00
Ryan VanderMeulen
9a8cfb647e Backed out 5 changesets (bug 1022229) for non-unified bustage.
Backed out changeset d79b991a8d96 (bug 1022229)
Backed out changeset 34f9a0e7dbde (bug 1022229)
Backed out changeset 37fbaf69c6e0 (bug 1022229)
Backed out changeset d6111b0603f5 (bug 1022229)
Backed out changeset 154922edf5fe (bug 1022229)
2014-07-28 15:08:51 -04:00
Bobby Holley
0f8a49569d Bug 1022229 - Borrow App ID and mozBrowser-ness when creating sandbox null principals. r=bz 2014-07-28 10:37:54 -07:00
Andrea Marchesini
3d909148b5 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Wes Kocher
be4af0e0fd Merge m-c to inbound 2014-07-22 18:39:17 -07:00
Jim Mathies
e5f4ec183a Bug 948574 - Provide limited access to nsISiteSecurityService apis in the child, and prevent the direct creation of nsISiteSecurityService. r=bz, sr=ptheriault, original author: David Keeler <dkeeler@mozilla.com> 2014-07-22 07:17:45 -05:00
Trevor Saunders
dfb8d4ea04 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Georgios Kontaxis
c748a72277 Bug 1029887: Keep track of DOM nodes blocked by NS_ERROR_TRACKING_URI (r=khuey,smaug) 2014-06-24 17:37:03 -07:00
Gijs Kruitbosch
343ce35d7f Bug 693808 - part 1: entering numbers+Enter in the location bar should bring search results immediately if domain is not whitelisted, r=bz 2014-04-24 23:42:00 +01:00
Boris Zbarsky
be2d883ce6 Bug 965413 part 12. Use a LoadInfo in SetUpChannelOwner. r=smaug 2014-07-10 02:56:38 -04:00
Boris Zbarsky
5527482017 Bug 965413 part 5. Teach the docshell code that sets up session history entries about nsILoadInfo. r=smaug
For now just preserve the old behavior of storing the principal in the session history.
2014-07-10 02:56:37 -04:00
Ms2ger
a3e4dc8bdc Bug 1020163 - Replace some callers of GetParent() with GetParentDocshell() in nsDocShell. r=jst
This allows simplifying the callers and avoiding some QI calls.
2014-06-29 18:42:49 +02:00
Gijs Kruitbosch
789560010d Bug 982428 - allow fixing up URIs with schemes that we can't handle, r=bz 2014-06-19 19:22:45 +01:00
Benoit Jacob
5023541089 Bug 1028588 - Fix dangerous public destructors in docshell/ - r=smaug 2014-06-23 14:49:08 -04:00
David Keeler
b76e545dd2 bug 1025330 - expose the failed channel in nsIDocShell for error pages r=bz 2014-06-19 13:55:55 -07:00
Makoto Kato
14f6f74d38 Bug 530396 - don't send a Referer header for rel="noreferrer" links; r=smaug 2014-05-20 09:26:59 -04:00
"Kan-Ru Chen (陳侃如)"
8f452f1067 Bug 879475 - Part 006. Fix http auth prompts for nested content processes r=honzab
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:36 +08:00
Mike Conley
1da1d37e14 Bug 1021466 - Part 1: Make it possible to stash opener and newly created TabParent's inside DocShell. r=smaug. 2014-06-05 22:49:43 -04:00
Jeremy Poulin
21428535f7 Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Tim Taubert
7185561a51 Bug 1012221 - Setting browser.send_pings.max_per_link to -1 should allow for an unlimited number of pings r=jst 2014-05-18 10:06:42 +02:00
Matt Woodrow
4f06bca31f Bug 854421 - Part 12: Use the view tree to find the subdocument frame in nsDocShell. r=tn 2014-05-30 16:38:48 +12:00
Trevor Saunders
a7a065cd75 bug 966084 - don't QI the result of win->GetFrameElementInternal() when its not required r=smaug 2014-01-23 16:14:29 -05:00
Trevor Saunders
78966cf36b bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Neil Rashbrook
ef8d375d0b Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
d9e420fc7c Bug 869836 - Part 12: Use Assign('c') instead of AssignLiteral("c"). r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Neil Rashbrook
71828ecc1c Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Gijs Kruitbosch
db892a8095 Bug 1013457 - remove browser.frames.enabled pref, r=bz 2014-05-23 10:54:58 +01:00
Birunthan Mohanathas
952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
58641805f1 Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Robert Longson
1ae2b317ca Bug 953360 - <a ping> attribute should split on white space not only space r=jst 2014-05-18 09:51:16 +02:00
Nick Lebedev
c49e263d0f Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Bob Owen
c188e4e5b0 Bug 996280 - Use the docshell's sandbox flags if we can't get the active document in IsSandboxedFrom(). r=smaug 2014-05-06 19:48:33 +01:00
Bobby Holley
8ba3be8772 Bug 997987 - Cache the system principal on nsContentUtils and remove nsIScriptSecurityManager::SubjectPrincipalIsSystem. r=Ms2ger,sr=bz 2014-05-06 15:43:03 -07:00
Bobby Holley
5a3bee8d99 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Steven MacLeod
68cd3b0f84 Bug 981900 - Add OnHistoryReplaceEntry to nsISHistoryListener to handle history.replaceState. r=smaug 2014-04-24 15:12:15 -04:00
Adrian Lungu
864ffca9e7 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Gabor Krizsanits
732591ddc0 Bug 996069 - Part2: minor cleanup in docshell. r=bz 2014-04-16 22:29:34 +02:00
Gabor Krizsanits
2434cfbdd2 Bug 996069 - Part1: nsContentUtils::IsSystemOrExpandedPrincipal. r=bz 2014-04-16 22:29:12 +02:00
Gabor Krizsanits
9cb5c0ec46 Bug 821809 - Part2: Excluding nsEP from principal inheriting. r=bz 2014-04-10 19:52:45 +02:00
Neil Rashbrook
936188506a Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Masayuki Nakano
f6885469a0 Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Bobby Holley
dffeca26fa Bug 986542 - Don't categorically disable script for detached docshells. r=bz 2014-03-23 12:54:18 -03:00
Makoto Kato
094de05309 Bug 968647 - Part 1. Add position change notification for IME. r=roc 2014-02-28 16:45:01 +09:00