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

20 Коммитов

Автор SHA1 Сообщение Дата
Patrick McManus 68feec6d49 Bug 1256022 - dom/network slow GC on mochitest fix r=dragana 2016-03-21 13:10:30 -04:00
Patrick McManus 0e38e0d4ae Bug 1256022 - backout f57f85dc94e4 r=backout 2016-03-23 13:06:05 -04:00
Patrick McManus 12d98ad561 Bug 1256022 - dom/network slow GC on mochitest fix r=dragana 2016-03-21 13:10:30 -04:00
Boris Zbarsky 1228b7cbd3 Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm 2016-03-10 18:07:28 -05:00
J. Ryan Stinnett 764b9f1ffa Bug 1238160 - Set frame type on TabContext. r=billm,mayhemer
This change renames TabContext::IsBrowserElement to IsIsolatedMozBrowserElement.
Other methods that pass these values around also have name changes.

Adds TabContext::IsMozBrowserElement which is set by the frame loader for all
browser frames.  This is in contrast to its previous implementation, which has
since been renamed IsIsolatedMozBrowserElement, since it checks isolated state
in OriginAttributes.

TabContext methods related to browser elements (and their callers) are updated
to use IsIsolatedMozBrowserElement when check isolation / origins and
IsMozBrowserElement when checking frame types.

MozReview-Commit-ID: DDMZTkSn5yd
2016-03-02 10:35:56 -06:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Nathan Froyd c381a6b86c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Birunthan Mohanathas 9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +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
Andrew Sutherland 89f5039a0c Bug 1210330 - TCPSocket data event should be an ArrayBuffer in non-e10s case too. r=jdm
The conversion to WebIDL introduced a minor regression where the "data" event
carried a Uint8Array payload instead of an ArrayBuffer. This patch corrects
the type and introduces a fix.
2015-10-14 14:05:36 -04:00
Phil Ringnalda 39d48b3bb0 Back out changeset 81b6dbef4fb1 (bug 1210330) for Android and b2g mochitest-chrome failures in test_tcpsocket_jsm.html
CLOSED TREE
2015-10-13 19:40:20 -07:00
Andrew Sutherland 57c195d477 Bug 1210330 - TCPSocket data event should be an ArrayBuffer in non-e10s case too. r=jdm
The conversion to WebIDL introduced a minor regression where the "data" event
carried a Uint8Array payload instead of an ArrayBuffer.  This patch corrects
the type and introduces a fix.
2015-10-13 20:48:49 -04:00
Josh Matthews 1497313299 Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz 2015-09-22 08:45:00 -04:00
Nigel Babu 8852703ac2 Backed out changeset 37c89ad82a13 (bug 1207090) for hazards bustage ON A CLOSED TREE
--HG--
extra : rebase_source : 25a1aed587390254f54c73f87451440dd32ed4f3
extra : amend_source : 1210caccf9a96a464febeac9a1ee11ca0388f490
2015-09-29 11:42:44 +05:30
Josh Matthews e202227bd2 Bug 1207090 - Expose TCPSocket to chrome contexts. r=bz 2015-09-22 08:45:00 -04:00
Randell Jesup 73b9d568ed Bug 950660: Part 3 - make TCPSocket/TCPSocketChild interface an IDL interface r=jdm 2015-09-20 23:05:20 -04:00
Randell Jesup 4c2a61d99a Bug 950660: Part 2 - Change TCPSocket interface to TCPSocketChild and unbitrot r=jdm 2015-09-20 23:05:20 -04:00
Josh Matthews fbb088e702 Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz 2015-03-25 10:36:56 -04:00
Josh Matthews eb2db2dd0f Bug 885982 - Part 2: Convert TCPServerSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:36:24 -04:00
Josh Matthews 6d8316690f Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:35:59 -04:00