Commit Graph

1937 Commits

Author SHA1 Message Date
Bill McCloskey
3cada6954a Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-08 10:27:49 -08:00
Jan de Mooij
048986ef1e Bug 1125423 part 6 - Remove nsGlobalWindow::OuterObject and ObjectToOuterObjectValue. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
6ab2859b19 Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke 2015-11-06 19:03:52 +01:00
Jan de Mooij
daa91d878a Bug 1125423 part 3 - Use IsWindow/IsWindowProxy functions instead of checking for Class hooks. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
8f0c056d43 Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
68d1fa5c75 Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke 2015-11-06 19:03:51 +01:00
Jonathan Watt
ad593bbd98 Bug 1220604 - Remove dead code from nsGlobalWindow::SetNewDocument. r=baku 2015-09-28 12:51:14 +01:00
Birunthan Mohanathas
94998cf5fe Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Xidorn Quan
b22afffd54 Bug 962249 followup - Fix the bug of Window.scroll{Max,Min}{X,Y} that they incorrectly return app units instead of css pixels. r=roc 2015-10-29 09:35:10 +09:00
Nicholas Nethercote
685046e077 Bug 1187782 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey. 2015-10-26 22:22:31 -07:00
Nicholas Nethercote
5805477aa5 Bug 1187782 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey. 2015-10-26 22:21:51 -07:00
Carsten "Tomcat" Book
d9a95b2300 Backed out changeset 90edb8c62dee (bug 1214293) for Valgrind test failures on a CLOSED TREE 2015-10-27 15:39:16 +01:00
Neil Deakin
69816328b4 Bug 1214293, initialize show focus rings state properly in all child frames, r=smaug 2015-10-27 08:53:00 -04:00
Xidorn Quan
95bd21485c Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz 2015-10-27 13:38:02 +09:00
Kyle Huey
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
William Chen
f8b76af24c Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku 2015-10-23 21:37:28 -07:00
Nathan Froyd
d7b3af33de Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Bobby Holley
6925386103 Bug 1216072 - Pass aCallerIsChrome in more places. r=bz 2015-10-19 13:57:01 -07:00
Nathan Froyd
e4e2da55c9 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
Bobby Holley
f72b145c44 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
4d9a384a6d Bug 1214491 - Remove CanCallerAccess check for XPIDL version of nsGlobalWindow::AddEventListener. r=bz 2015-10-14 16:23:23 -07:00
Bobby Holley
e6b88dde00 Bug 1214491 - Rejigger entry points for nsGlobalWindow::Close. r=bz 2015-10-14 16:23:23 -07:00
Boris Zbarsky
bc046e3aff 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
dc667287f6 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
b8efcfd366 Bug 1212148 - Outline DialogValueHolder::Get() and create the variant directly. r=bz 2015-10-07 13:11:09 -07:00
Bill McCloskey
9ca8b13cfa Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Eddy Bruel
ec8b2add25 Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey 2015-10-07 12:20:59 +02:00
Neil Deakin
0529dc8d93 Bug 1206559, forward PuppetWidget::SetFocus request to the parent process, r=smaug 2015-10-06 09:14:49 -04:00
Christoph Kerschbaumer
fd7b74a691 Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch - dom changes (r=smaug) 2015-10-02 09:10:02 -07:00
Bill McCloskey
f18cb757c6 Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-10-01 21:18:48 -07:00
Bobby Holley
a1ed0e1a48 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Nigel Babu
2c9b50ea24 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
13123afb09 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Bobby Holley
708ae67ade Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Tom Schuster
38239cfa9e Bug 603201 - Change GetProperty receiver argument to Value in the browser. r=smaug 2015-09-18 00:14:41 +02:00
Nicholas Nethercote
09b4a9e997 Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj. 2015-09-10 00:50:51 -07:00
Nicholas Nethercote
8925475dfe 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.
2015-09-09 23:30:13 -07:00
Masayuki Nakano
b28a957eb2 Bug 895274 part.208 Rename NS_NETWORK_UPLOAD_EVENT to eNetworkUpload r=smaug 2015-09-12 01:19:26 +09:00
Masayuki Nakano
eebcee1716 Bug 895274 part.207 Rename NS_NETWORK_DOWNLOAD_EVENT to eNetworkDownload r=smaug 2015-09-12 01:19:26 +09:00
Ms2ger
66498cefac Bug 1192774 - Rename nsOuterWindowProxy::GetWindow to GetOuterWindow and add an assertion; r=khuey 2015-09-10 13:49:19 +02:00
Boris Zbarsky
72bc187d3f 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
f4a1d433ff Bug 1200484 (part 12) - Use JS column numbers in nsJSTimeoutHandler. r=peterv. 2015-09-03 16:03:19 -07:00
Nicholas Nethercote
47c345ebaa 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.
2015-09-03 16:03:19 -07:00
Andrea Marchesini
fa931b8f4f Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug 2015-09-02 17:20:30 +01:00
Masayuki Nakano
9962de8d0d Bug 895274 part.79 Rename NS_DRAGDROP_END to eDragEnd r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
17f273c93e Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
fe9005bf09 Bug 895274 part.60 Rename NS_PAGE_UNLOAD to eUnload r=smaug 2015-09-02 15:07:59 +09:00
Xidorn Quan
6aa4a20ce7 Bug 1196163 part 3 - Derive value of window.fullScreen for content process from the sizemode of puppet widget. r=smaug 2015-08-29 11:12:41 +10:00
Masayuki Nakano
4d5cd63d14 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
cd786809b4 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00