Граф коммитов

520 Коммитов

Автор SHA1 Сообщение Дата
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Dragana Damjanovic dd.mozilla@gmail.com e69b13996a Bug 225910 - Use nsIURI's GetRef and GetHasRef in nsDocShell. r=bz
--HG--
extra : rebase_source : 46d7974884b96bd55add4a6c24e2a2ccb8570b4c
2016-04-01 03:37:00 +02:00
Franziskus Kiefer ad50543437 Bug 1226928 - dochsell changes for content-signing on remote about:newtab, r=bz,mconley 2016-03-14 11:57:03 +01:00
Yoshi Huang e8cb28ed02 Bug 1252811 - remove mIsInIsolatedMozBrowser from nsDocShell. r=smaug 2016-03-07 12:21:49 +08:00
Yoshi Huang ce8e69a274 Bug 1227861 - Add OriginAttributes getter/setter into nsIDocShell. r=smaug, sicking 2016-02-16 15:04:14 +08:00
James Willcox 73d84cb178 Bug 518805 - Don't do meta refreshes when backgrounded r=bz
This is controlled by browser.meta_refresh_when_inactive.disabled, which
is false (allow refreshes) on desktop, and true (disable refreshes) on Fennec
2016-03-02 16:32:27 -06:00
J. Ryan Stinnett 777c113bb3 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Hiroyuki Ikezoe 09b0051cfd Bug 1244897 - Use TimerlineConsumers in PopProfileTimelineMarkers to ensure that all methods acquire TimelineConsumers Mutex. r=vporof
MozReview-Commit-ID: 5VzLfT5SUjI

--HG--
extra : rebase_source : 12df03d9d05698057686113145ddb33b3dd5e0ea
2016-03-01 19:54:47 +09:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Nigel Babu 442c7ab5e1 Backed out changeset 1b5c66916877 (bug 1237081) for mochitest browser-chrome bustage
--HG--
extra : commitid : HyS2gutZZNx
2016-01-06 12:01:27 +05:30
Andrea Marchesini ed29611caa Bug 1237081 - Remove the getter of userContextId from nsIDocShell. r=smaug
--HG--
extra : rebase_source : 2909919577005b2a988eeb82d8e6414dadfb44d9
2016-01-05 14:22:00 -05:00
Andrea Marchesini cb358b3a57 Bug 1193854 - Restoring userContextIds with the browser session - part 1 - store the userContextId in sessionStore, r=smaug, r=ttaubert 2016-01-05 21:00:33 +00:00
Tim Nguyen cf7f672f1c Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Ehsan Akhgari f9035eb119 Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -05:00
Kate McKinley 20bcd25937 Bug 1191460 Rebased patch and added userContextId to origin attributes. (r=tanvi,r=sicking) 2015-11-24 10:40:02 +09:00
Carsten "Tomcat" Book 4478aaa8da Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Yoshi Huang 4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Henry daec939f23 Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
Christoph Kerschbaumer 9552d92516 Bug 1119386 - Part 1: Use document's principal for favicons in docshell (r=smaug) 2015-11-24 13:31:42 -08:00
George Wright 92df2e4ade Bug 1098131 - Don't invalidate layers when simply changing SizeMode r=smaug,jimm 2015-11-09 21:38:21 -05:00
Gijs Kruitbosch 35bed1c0ce Bug 1209591 - allow loadURI consumers to expose whether an error page was immediately loaded as result of an error, r=smaug,mak
--HG--
extra : commitid : 9tlkWrUKl12
extra : rebase_source : bb5b476dc28cebc66a99d23934a5214530e9a008
extra : amend_source : f62e5a91df5af9eea893fbb9a13980e9fdd56a38
2015-10-27 16:44:24 +01:00
Victor Porof 9dc0ce6b1a Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Dragana Damjanovic ba3f41bc1e Bug 1211269 - Store the information whether the channel is LOAD_REPLACE into history entry. r=bz 2015-10-05 12:33:00 +02:00
Dragana Damjanovic 5f14316a80 Bug 1185256 - Save originURI to the history. r=bz
--HG--
extra : rebase_source : 4321df591ab16127ca4cd6549fcdca7e20c2e890
2015-09-30 08:54:39 +02:00
Yoshi Huang d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Ehsan Akhgari 0bc360edc4 Bug 1204581 - Add a deprecation warning for the usage of AppCache when service worker fetch interception is enabled; r=mcmanus,baku 2015-09-24 10:09:10 -04:00
Andrea Marchesini 9462aa8c25 Bug 1163545 - Bypass AppCache completely when Service Workers supported & registered, r=jdm 2015-09-18 10:18:38 +08:00
Victor Porof 7456418a9e Bug 1200119 - Add a way to create usable markers from different threads, r=tromey 2015-09-11 17:03:06 +02:00
Victor Porof e14eb49e91 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof c78fbabbef Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof a79634e0d2 Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey 2015-08-25 08:51:58 +03:00
William Chen 0625e989b4 Bug 1131470 - Part 5: Handle changes to active orientation lock. r=smaug
--HG--
extra : rebase_source : 51fb1484301d8b2afa518396f52a1bd0378f326d
2015-08-18 15:28:01 -07:00
Ehsan Akhgari 4db099dbd2 Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped.  This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Victor Porof 8f1e61795d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof 05bbc587a6 Bug 1183235 - Keep the dochsell-specific markers inside a ObservedDocShell managed list instead of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof a714287abf Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof c08ba2500f Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof 81a5c929bd Bug 1183219 - Backed out last 5 changesets for bustage, r=me on a CLOSED TREE 2015-07-18 10:21:09 -04:00
Victor Porof cddc9e87fc Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof fdcffbe3d1 Bug 1183235 - Keep the dochsell-specific markers inside a ObservedDocShell managed list instead of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof da659206bb Bug 1183231 - Maintain a list of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof 58593a8714 Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof 373125241c Bug 1183223 - Create a markers directory temporarily inside docshell/base where all marker logic should go into, r=smaug
--HG--
rename : docshell/base/AutoTimelineMarker.cpp => docshell/base/timeline/AutoTimelineMarker.cpp
rename : docshell/base/AutoTimelineMarker.h => docshell/base/timeline/AutoTimelineMarker.h
rename : docshell/base/TimelineMarker.cpp => docshell/base/timeline/TimelineMarker.cpp
rename : docshell/base/TimelineMarker.h => docshell/base/timeline/TimelineMarker.h
2015-07-17 15:51:19 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini b4745b397a Bug 110567 - Remove nsIDocShell::GetURLSearchParams(), r=smaug 2015-06-24 06:49:07 -07:00
Nikhil Marathe 0db24a2c7c Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan
--HG--
extra : rebase_source : 6309f011f978f08c4f104123910f7d8d9e56045a
2015-06-12 16:28:13 -07:00
Nick Fitzgerald 9a58f89b9d Bug 1141614 - Part 1: Maintain a list of docshells whose timeline markers are being observed; r=smaug 2015-06-10 14:05:52 -07:00
Ryan VanderMeulen 9a2838c071 Backed out 5 changesets (bug 1141614) for browser_timelineMarkers-02.js failures.
Backed out changeset 1db2b848699a (bug 1141614)
Backed out changeset 9becec7879dc (bug 1141614)
Backed out changeset fff492fc48ce (bug 1141614)
Backed out changeset f49e64db4a66 (bug 1141614)
Backed out changeset 63199013dac2 (bug 1141614)

CLOSED TREE
2015-06-09 13:20:24 -04:00
Nick Fitzgerald ac6fdc2468 Bug 1141614 - Part 1: Maintain a list of docshells whose timeline markers are being observed; r=smaug 2015-06-08 12:40:07 -07:00