Commit Graph

375 Commits

Author SHA1 Message Date
Jacek Caban
10c61ad307 Merge branch 'mozilla-central' 2016-03-06 06:37:22 +01:00
Jacek Caban
8d90872877 Merge branch 'mozilla-central' 2016-03-04 06:38:14 +01:00
Jacek Caban
8a59f97641 Merge branch 'mozilla-central' 2016-03-03 06:19:08 +01:00
James Willcox
7eadb241b5 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
Hiroyuki Ikezoe
0c2cd4d99f Bug 1244897 - Use TimerlineConsumers in PopProfileTimelineMarkers to ensure that all methods acquire TimelineConsumers Mutex. r=vporof
MozReview-Commit-ID: 5VzLfT5SUjI
2016-03-01 19:54:47 +09:00
Jacek Caban
87827c4d0a Merge branch 'mozilla-central' 2016-02-01 17:45:27 +01:00
Kyle Huey
ce39f191af Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
J. Ryan Stinnett
bbd3805682 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
Jacek Caban
0ae6ba790d Merge branch 'mozilla-central' 2016-01-14 19:19:17 +01:00
Jacek Caban
907fa3be50 Merge branch 'mozilla-central' 2015-12-17 06:07:55 +01:00
Jacek Caban
157206d279 Merge branch 'mozilla-central' 2015-12-04 09:55:08 +01:00
Jacek Caban
ac9e0a739a Merge branch 'mozilla-central' 2015-12-03 11:35:09 +01:00
Jacek Caban
e8dae03d68 Merge branch 'mozilla-central' 2015-12-01 14:38:19 +01:00
Jacek Caban
16082a9d13 Merge branch 'mozilla-central' 2015-12-01 14:37:46 +01:00
Carsten "Tomcat" Book
a5dcef39f3 Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Jacek Caban
1ed52f4776 Merge branch 'mozilla-central' 2015-11-17 13:59:12 +01:00
Ehsan Akhgari
860a734ba5 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
Yoshi Huang
b657390188 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Jacek Caban
57348851ea Merge tag 'FIREFOX_AURORA_44_BASE' 2015-10-30 10:43:02 +01:00
Henry
ba8ab9e42a Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
Jacek Caban
b0b4671dba Merge branch 'mozilla-central' 2015-10-19 06:19:39 +02:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Jacek Caban
894decdd9b Merge branch 'mozilla-central' 2015-10-07 20:05:24 +02:00
Wes Kocher
b3e106628e Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
Nathan Froyd
806d8619d3 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.

 # 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
2015-10-07 16:50:25 -04:00
Victor Porof
306f80152f Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel 2015-10-21 23:10:05 +02:00
Jacek Caban
841ef033bd Merge branch 'mozilla-central' 2015-10-05 17:03:02 +02:00
Jacek Caban
0bb1fe6ef2 Merge branch 'mozilla-central' 2015-09-25 12:58:47 +02:00
Dragana Damjanovic
bac26b3abb Bug 1211269 - Store the information whether the channel is LOAD_REPLACE into history entry. r=bz 2015-10-05 12:33:00 +02:00
Jacek Caban
19b46f2145 Merge branch 'mozilla-central' 2015-09-22 13:19:36 +02:00
Christoph Kerschbaumer
0915c70baf Bug 1119386 - Part 1: Use document's principal for favicons in docshell (r=smaug) 2015-11-24 13:31:42 -08:00
Kate McKinley
cc8ba632d1 Bug 1191460 Rebased patch and added userContextId to origin attributes. (r=tanvi,r=sicking) 2015-11-24 10:40:02 +09:00
Dragana Damjanovic
18917d6b29 Bug 1185256 - Save originURI to the history. r=bz 2015-09-30 08:54:39 +02:00
Jacek Caban
9cc3cc22dc Merge branch 'mozilla-central' 2015-08-17 19:20:56 +02:00
Yoshi Huang
07934840bb Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Nigel Babu
1ad7b0ee66 Backed out changeset 1b5c66916877 (bug 1237081) for mochitest browser-chrome bustage 2016-01-06 12:01:27 +05:30
Andrea Marchesini
f62eeead15 Bug 1237081 - Remove the getter of userContextId from nsIDocShell. r=smaug 2016-01-05 14:22:00 -05:00
Andrea Marchesini
c511e31661 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
Jacek Caban
8b58300d99 Merge branch 'mozilla-central' 2015-07-28 19:04:23 +02:00
Tim Nguyen
6f32982b69 Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Ehsan Akhgari
380cdc7d57 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
Jacek Caban
6a0d7ae8f5 Merge branch 'mozilla-central' 2015-06-26 05:58:08 +02:00
Jacek Caban
5d90685914 Merge branch 'mozilla-central' 2015-06-24 05:14:37 +02:00
Jacek Caban
42e1fedf7d Merge branch 'mozilla-central' 2015-06-15 09:10:19 +02:00
Yoshi Huang
32d10d93aa Bug 1227861 - Add OriginAttributes getter/setter into nsIDocShell. r=smaug, sicking 2016-02-16 15:04:14 +08:00
Ehsan Akhgari
27d787f322 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
Nikhil Marathe
295faeeca9 Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan 2015-06-12 16:28:13 -07:00
Andrea Marchesini
7790d14a6c Bug 110567 - Remove nsIDocShell::GetURLSearchParams(), r=smaug 2015-06-24 06:49:07 -07:00
Jacek Caban
5bdac49fb5 Merge branch 'mozilla-central' 2015-05-09 15:21:40 +02:00
Nick Fitzgerald
64150353a4 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