Luke Wagner
786af33c6f
Bug 1239601 - improve the UniquePtr situation (r=jandem)
2016-01-15 18:26:20 -06:00
Jonathan Kew
657b233fdc
Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk
2015-12-03 13:19:50 +00:00
Xidorn Quan
17c95b4c73
Bug 1189622 part 2 - Allow widget's MakeFullScreen to fail, and call FinishFullscreenChange directly if that happens. r=smaug
2016-01-12 15:18:47 +11:00
Xidorn Quan
a52e7eefb5
Bug 1189622 part 1 - Ensure the in-fullscreen-change flag is set before calling the second phase. r=smaug
2016-01-12 15:18:47 +11:00
Kyle Huey
532219e569
Bug 1059469: Part 1 - Add a log module for dump() calls. r=bent
2016-01-06 13:18:29 -08:00
Eitan Isaacson
9f4053e5dd
Bug 1230533 - Cancel speech when controlling window goes away. r=smaug
...
Don't allow bfcache when there is an active or queued utterance in the window.
2016-01-05 18:01:24 -08:00
Jeff Walden
4f31020ada
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
2015-12-28 16:15:52 -06:00
Kearwood (Kip) Gilbert
2773eeacb8
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07:00
Masatoshi Kimura
82fdbd1aa9
Bug 1234700 - Hide window.showModalDialog when e10s is enabled. r=jimm
2015-12-29 23:47:46 +09:00
Alastor Wu
7ab51e23c1
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
2015-12-24 17:28:45 +08:00
Sebastian Hengst
80da64a12f
Backed out changesets 961f205d340d, 14a4637e9d96 and 14a4637e9d96 (bug 1228564) for failing Android M(4) test_browserElement_inproc_AudioChannel.html. r=backout
2015-12-27 22:28:08 +01:00
Alastor Wu
b238891922
Bug 1228564 - part 2 : check audio capturing when the agent is registered/unregistered. r=baku.
2015-12-24 17:28:45 +08:00
Alastor Wu
b5f30bca1a
Bug 1234735 - Remove redundant spaces in nsGlobalWindow. r=baku
2015-12-23 10:34:54 +08:00
Ting-Yu Lin
c4c4aa42d2
Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
...
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
db46f1d573
Backed out changeset 9f30d3caa231 (bug 1221459)
2015-12-22 14:03:21 +05:30
Ting-Yu Lin
c4d155eb8e
Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
...
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Ms2ger
14d8fc53b7
Bug 1232598 - Remove the aCalleePrincipal argument to nsGlobalWindow::OpenInternal; r=jst
2015-12-18 11:08:19 +01:00
Nathan Froyd
815f82b509
Bug 1218454 - part 1 - move DialogValueHolder::Get out-of-line; r=bz
...
No reason for one ::Get to be out-of-line and the other not. This
change means that nsGlobalWindow.h doesn't depend on nsContentUtils.
2015-10-26 12:55:45 -04:00
Ehsan Akhgari
42c5fc7bc4
Bug 1201127 - Return the same ServiceWorkerRegistration object from service worker APIs dealing with the same underlying registration object; r=jdm
2015-11-26 15:13:33 -05:00
Yoshi Huang
47c69d1edb
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Blake Kaplan
a4c9ffea9d
Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm
2015-11-23 15:08:14 -08:00
sajitk
e7c3cfa4d5
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Boris Zbarsky
11cee47d40
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
Andrea Marchesini
0b4b3db183
Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug
2015-11-16 17:34:52 +00:00
Nicholas Nethercote
76cc8f39f7
Bug 1224403 (part 5) - Make OnDefaultButtonLoaded() return/take a LayoutDeviceIntMargin. r=kats.
2015-11-12 04:34:29 -08:00
Kyle Huey
3958e63bd8
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Bill McCloskey
4dee4d6fa4
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-11-11 18:04:21 -08:00
Nicholas Nethercote
c3c2a5bf71
Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
2015-11-09 21:37:32 -08:00
Bill McCloskey
c623df7bff
Backout bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process
2015-11-08 12:24:42 -08:00
Bill McCloskey
d8b6200961
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-11-08 10:27:49 -08:00
Jan de Mooij
cad5d09857
Bug 1125423 part 6 - Remove nsGlobalWindow::OuterObject and ObjectToOuterObjectValue. r=bz
2015-11-06 19:03:52 +01:00
Jan de Mooij
7f8111c3cb
Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke
2015-11-06 19:03:52 +01:00
Jan de Mooij
24de1247fd
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
eae167fd59
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
af31342c5b
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
972e3fa567
Bug 1220604 - Remove dead code from nsGlobalWindow::SetNewDocument. r=baku
2015-09-28 12:51:14 +01:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Xidorn Quan
4cf241f274
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
8992e1d51d
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
99c32f93ac
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
c07e2b500f
Backed out changeset 90edb8c62dee (bug 1214293) for Valgrind test failures on a CLOSED TREE
2015-10-27 15:39:16 +01:00
Neil Deakin
70b01bc553
Bug 1214293, initialize show focus rings state properly in all child frames, r=smaug
2015-10-27 08:53:00 -04:00
Xidorn Quan
33146e9023
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
8f8794e1c7
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
William Chen
39c5f1512f
Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
2015-10-23 21:37:28 -07:00
Nathan Froyd
c4e1d071a7
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
154321f25b
Bug 1216072 - Pass aCallerIsChrome in more places. r=bz
2015-10-19 13:57:01 -07:00
Nathan Froyd
4e6d8f6705
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
bce9c05c8a
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
7ecc8c0b67
Bug 1214491 - Remove CanCallerAccess check for XPIDL version of nsGlobalWindow::AddEventListener. r=bz
2015-10-14 16:23:23 -07:00