Bobby Holley
3f0e560af7
Bug 1216072 - Pass aCallerIsChrome in more places. r=bz
2015-10-19 13:57:01 -07: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
Bobby Holley
cfa69d93e9
Bug 1215398 - Hoist the IsCallerChrome call in CanMoveResizeWindows to the script-only entry points. r=bz
2015-10-16 16:35:30 -07:00
Bobby Holley
4d5db59c95
Bug 1214491 - Remove CanCallerAccess check for XPIDL version of nsGlobalWindow::AddEventListener. r=bz
2015-10-14 16:23:23 -07:00
Bobby Holley
79e78b4bf9
Bug 1214491 - Rejigger entry points for nsGlobalWindow::Close. r=bz
2015-10-14 16:23:23 -07:00
Boris Zbarsky
a63708d836
Bug 1212360. Split up the MozStorageChanged event into separate events for sessionstorage and localstorage. r=khuey
2015-10-09 16:48:10 -04:00
Andrew McCreight
ae5fe6a2ad
Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
...
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
bc16e7c355
Bug 1212148 - Outline DialogValueHolder::Get() and create the variant directly. r=bz
2015-10-07 13:11:09 -07:00
Bill McCloskey
c5d5457154
Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process
2015-10-07 11:15:11 -07:00
Eddy Bruel
41c0e5355c
Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey
2015-10-07 12:20:59 +02:00
Neil Deakin
8760ec0272
Bug 1206559, forward PuppetWidget::SetFocus request to the parent process, r=smaug
2015-10-06 09:14:49 -04:00
Christoph Kerschbaumer
9db34a3597
Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch - dom changes (r=smaug)
2015-10-02 09:10:02 -07:00
Bill McCloskey
207404ad2d
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-10-01 21:18:48 -07:00
Bobby Holley
e91aae8249
Bug 1208622 - Separate API entry points. r=bz
2015-09-30 16:31:46 -07:00
Nigel Babu
2ea092cec1
Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
...
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
46f21127a1
Bug 1208622 - Separate API entry points. r=bz
2015-09-28 22:51:30 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Tom Schuster
e3fbb8bc43
Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug
2015-09-18 00:14:41 +02:00
Nicholas Nethercote
f429eae6a5
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Nicholas Nethercote
cfe5f5f4f8
Bug 1203427 (part 2) - Remove an argument to nsTimeout::InitTimer. r=mccr8.
...
The first argument to this method is always nsGlobalWindow::TimerCallback, and
hard-wiring this makes subsequent patches simpler.
--HG--
extra : rebase_source : 02bf490ff6dd4e5d5cafe9ce9266dc978b26c7e3
2015-09-09 23:30:13 -07:00
Masayuki Nakano
585a5b420d
Bug 895274 part.208 Rename NS_NETWORK_UPLOAD_EVENT to eNetworkUpload r=smaug
2015-09-12 01:19:26 +09:00
Masayuki Nakano
a7aae5c117
Bug 895274 part.207 Rename NS_NETWORK_DOWNLOAD_EVENT to eNetworkDownload r=smaug
2015-09-12 01:19:26 +09:00
Ms2ger
1d0ade5a5c
Bug 1192774 - Rename nsOuterWindowProxy::GetWindow to GetOuterWindow and add an assertion; r=khuey
2015-09-10 13:49:19 +02:00
Boris Zbarsky
169e4d2bc6
Bug 633154. When alerts/prompts/confirms are suppressed, just return silently instead of throwing. r=sicking
2015-09-08 21:23:55 -04:00
Nicholas Nethercote
c52a8f22b4
Bug 1200484 (part 12) - Use JS column numbers in nsJSTimeoutHandler. r=peterv.
...
--HG--
extra : rebase_source : 9c08cae753b7162cc77c1ac2df4fbc17fac4ad83
2015-09-03 16:03:19 -07:00
Nicholas Nethercote
9d90c4df35
Bug 1200484 (part 11) - Set source location when initializing an nsJSScriptTimeoutHandler from a Function. r=peterv.
...
Because we currently set the source location of a nsJSScriptTimeoutHandler when
initializing from an expression, but not when initializing from a function,
which is an undesirable inconsistency. This requires plumbing through the
JSContext in a few places.
--HG--
extra : rebase_source : 247b510d99164c3139d381c4f13aa6c493a52043
2015-09-03 16:03:19 -07: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
Masayuki Nakano
d2a0b19a04
Bug 895274 part.79 Rename NS_DRAGDROP_END to eDragEnd r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
e1d00d44c8
Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug
2015-09-02 15:07:59 +09:00
Masayuki Nakano
6421cfec57
Bug 895274 part.60 Rename NS_PAGE_UNLOAD to eUnload r=smaug
2015-09-02 15:07:59 +09:00
Xidorn Quan
1307ce03af
Bug 1196163 part 3 - Derive value of window.fullScreen for content process from the sizemode of puppet widget. r=smaug
...
--HG--
extra : source : a5467f9cc338445857242dcdb4e7a2a95f290da0
2015-08-29 11:12:41 +10:00
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
b3c538f248
Bug 895274 part.16 Rename NS_RESIZE to eResize r=smaug
2015-08-29 08:58:28 +09:00
Michael Layzell
d412cade2c
Bug 1145744 - Update CacheStorage to use common StorageAllowedForWindow logic, r=bkelly
2015-08-28 10:10:33 -04:00
Michael Layzell
c98f12f1ae
Bug 536509 - Update localStorage to use common StorageAllowedForWindow logic, r=ehsan
2015-08-28 10:10:28 -04:00
Andrew McCreight
b5f56d32a3
Bug 1194270 - Tell the cycle collector about more fields of nsGlobalWindow. r=khuey
...
Also, remove what looks like an obsolete pre-cycle-collector comment about cyclical ownership.
--HG--
extra : histedit_source : a76351d706ada84e7257bdc3b592ac54e8bbec27
2015-08-25 11:19:00 -04:00
Andrea Marchesini
fdbfd864e7
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 17:19:13 +01:00
Ryan VanderMeulen
4ade9738fe
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-08-27 11:59:01 -04:00
Xidorn Quan
02e64b9ce8
Bug 1177155 part 1 - Defer resize reflow and freeze refresh driver during window fullscreen change. r=smaug
...
--HG--
extra : source : 4b2ad889658bdb2b0f03c9476db0ceb2d81611e9
2015-08-27 23:14:49 +10:00
Yoshi Huang
4347bb2318
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Andrea Marchesini
813316efe8
Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug
...
CLOSED TREE
2015-08-26 09:21:00 -04:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09: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
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
12efacfa8c
Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley
2015-08-24 01:31:00 -04:00
Xidorn Quan
ec86ab61bc
Bug 1192667 - Trigger fullscreen transition when exiting fullscreen via F11. r=smaug
...
--HG--
extra : source : 041406794ef17af9e2245598d79d9df9e6107717
2015-08-24 09:35:31 +10:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00