Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Andrea Marchesini
57228a9b15
Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug
2017-09-13 05:59:06 +02:00
Sebastian Hengst
66969c6b7b
Backed out changeset 7b45c1aebf7f (bug 1359017)
2017-09-13 08:56:13 +02:00
Andrea Marchesini
68fed142b9
Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug
2017-09-13 05:59:06 +02:00
Sebastian Hengst
f155e6119f
Backed out changeset e28d6869f6a0 (bug 1359017)
2017-09-12 14:16:31 +02:00
Andrea Marchesini
92ba78b8c0
Bug 1359017 - onmessageerror for WindowEventHandlers in case StructuredClone algorithm fails when deserializing, r=masayuki, r=smaug
2017-09-12 11:57:26 +02:00
Thomas Nguyen
2e486247c5
Bug 1373735 - Skip checking mPrivateBrowsingId in case system principal r=baku
...
MozReview-Commit-ID: 2sDJIxALC9L
--HG--
extra : rebase_source : d95c066dc0cf8be10457efe2afbbfbbf21d08270
2017-07-18 14:58:19 +08:00
Bill McCloskey
f115503a0b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Andrea Marchesini
17b0547c06
Bug 1345961 - Fixing an assertion about OriginAttribute comparison in PostMessage, r=tjr
...
The OriginAttributes of the 2 windows must match but ignoring the
FirstPartDomain isolation.
2017-05-04 15:42:42 +02:00
Ben Kelly
29ca0de50c
Bug 1311324 P1 Update the MessageEvent webidl and implementation class. r=bz
2017-03-09 20:50:13 -05:00
Kris Maglione
45dbac3bdd
Bug 1314361 - Part 4: Stop setting addonId origin attribute. r=billm
2016-11-04 18:22:45 -07:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrew McCreight
fccb0645ed
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05:00
Kris Maglione
db20c25ff4
Bug 1308920: Part 2 - Support posting messages across windows with different addonId origins. r=billm
...
MozReview-Commit-ID: 89TD8x5cUlZ
--HG--
extra : rebase_source : b5876fc07a891be51b419810df2ae67f687c1c70
2016-11-01 19:04:13 -07:00
Andrea Marchesini
92035ed242
Bug 1313004 - ServiceWorkerMessageEvent can be generated code, r=qdot
2016-10-26 22:00:17 +02:00
Andrea Marchesini
c11a158627
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-25 07:48:05 +02:00
Sebastian Hengst
1d68ef32e7
Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout
2016-10-24 19:14:38 +02:00
Andrea Marchesini
1a3cb83d92
Bug 1310967 - Update MessageEvent to the latest spec, r=smaug
2016-10-24 17:10:46 +02:00
Andrea Marchesini
b88af2e644
Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug
2016-10-13 15:19:24 +02:00
Andrea Marchesini
a183983968
Bug 1264053 - MessagePort should support transferable objects in multi-e10s, r=sfink, r=smaug, r=jorendorff, r=janv
2016-07-21 15:29:42 +02:00
Boris Zbarsky
8d50e98257
Bug 1291437 followup. Add some comments explaining why we're initializing the AutoJSAPI in PostMessageEvent::Run the way we do. DONTBUILD
2016-08-02 13:28:17 -07:00
Boris Zbarsky
911ac9de42
Bug 1291437. Don't enter the compartment of a possibly-gray window object in PostMessageEvent::Run. r=smaug
2016-08-02 13:21:16 -07:00
Andrea Marchesini
17c4507220
Bug 1263405 - Some headers missing in dom/base, r=smaug
2016-04-11 12:02:35 -04:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
James Burke
9ea321cf7d
Bug 1139849 - postMessage to incorrect target domain should print a console security error r=bz
2016-01-29 13:32:01 -08: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
Andrea Marchesini
7373ebaca0
Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Kit Cambridge
a958ff06d5
Bug 1209361 - Add missing includes to dom/base
. r=mccr8
...
--HG--
extra : commitid : 3rsv1VgB0jB
extra : rebase_source : 677d913e8a0e0955963bbdb65d0e759e9148df7a
2015-09-28 21:31:56 -07:00
Andrea Marchesini
f0aa7a8c5f
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 11:27:56 +08:00
Wes Kocher
ab3e843b68
Backed out changeset ccfddcbccdac (bug 1204775) for sharedworker bustage
2015-09-15 11:08:09 -07:00
Andrea Marchesini
ff25288854
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 00:47:19 +08:00
Andrea Marchesini
efd3b25c78
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneUtils.cpp => dom/ipc/StructuredCloneIPCHelper.cpp
rename : dom/ipc/StructuredCloneUtils.h => dom/ipc/StructuredCloneIPCHelper.h
2015-09-02 17:20:30 +01:00
Andrea Marchesini
fdbfd864e7
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 17:19:13 +01:00
Nigel Babu
d5f46aaf6c
Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE
2015-08-27 15:04:25 +05:30
Andrea Marchesini
b68734b7da
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 09:06:09 +01:00
Andrea Marchesini
d0d22b2a08
Bug 1188265 - No manual JS_ClearPendingException when StructuredCloneHelper is used, r=smaug
2015-07-31 01:38:00 +01:00
Andrea Marchesini
c0a2c6f1d9
Bug 1184995 - StructuredCloneHelper for BroadcastChannel and DataStore, r=smaug
2015-07-28 08:38:16 +01:00
Andrea Marchesini
e3ad172cba
Bug 1184557 - part 1 - StructuredCloneHelper class for window to window postMessage, r=smaug
2015-07-22 19:37:18 +01:00
Ryan VanderMeulen
958aa765f5
Backed out changesets 69542d63fcc8 and 6326eaf87f86 (bug 1184557) for causing widespread debug test assertions.
...
CLOSED TREE
2015-07-23 13:04:14 -04:00
Andrea Marchesini
0d814f6934
Bug 1184557 - part 1 - StructuredCloneHelper class for window to window postMessage, r=smaug
2015-07-22 19:37:18 +01:00
Wes Kocher
b706a35c2b
Backed out changeset f6d29009ae0a (bug 1184557) for crashes in fetch-csp.https.html web platform tests CLOSED TREE
2015-07-22 13:57:09 -07:00
Andrea Marchesini
94ee9642d4
Bug 1184557 - StructuredCloneHelper class for window to window postMessage, r=smaug
2015-07-22 19:37:18 +01:00