Commit Graph

1948 Commits

Author SHA1 Message Date
Ehsan Akhgari
8ec3d68db3 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
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Blake Kaplan
62f9ceed14 Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm 2015-11-23 15:08:14 -08:00
sajitk
5fb2c53074 Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00
Boris Zbarsky
1fec018fcb 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
a14ba13b57 Bug 1223734 - AudioChannelService should not be re-initialized after the XPCOM shutdown, r=smaug 2015-11-16 17:34:52 +00:00
Nicholas Nethercote
ab29eab5df Bug 1224403 (part 5) - Make OnDefaultButtonLoaded() return/take a LayoutDeviceIntMargin. r=kats.
--HG--
extra : rebase_source : e12b1703343cc95b52b4a20bd56a3790def99325
2015-11-12 04:34:29 -08:00
Kyle Huey
bdbb2ec50a Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Bill McCloskey
4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Nicholas Nethercote
ad0dd8414a 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.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Bill McCloskey
dba8372445 Backout bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-11-08 12:24:42 -08:00
Bill McCloskey
2f8ca7a3ce Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-08 10:27:49 -08:00
Jan de Mooij
73b313f3b4 Bug 1125423 part 6 - Remove nsGlobalWindow::OuterObject and ObjectToOuterObjectValue. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
115d04ec63 Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke 2015-11-06 19:03:52 +01:00
Jan de Mooij
932f8cece3 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
fffc37012e 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
a84c33ecb0 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
56c5981cf3 Bug 1220604 - Remove dead code from nsGlobalWindow::SetNewDocument. r=baku 2015-09-28 12:51:14 +01:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Xidorn Quan
c5789b066e 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
--HG--
extra : source : 6e8a9147cab01c95c57f979c7831122c3c6cef19
2015-10-29 09:35:10 +09:00
Nicholas Nethercote
b6011893da Bug 1187782 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : 01299d13b755c9abf6706cd8b44448e980ff431f
2015-10-26 22:22:31 -07:00
Nicholas Nethercote
499c07231c Bug 1187782 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : e731e832371a92b40b1dd2591dffae1c5a682b3b
2015-10-26 22:21:51 -07:00
Carsten "Tomcat" Book
88714ae0a0 Backed out changeset 90edb8c62dee (bug 1214293) for Valgrind test failures on a CLOSED TREE 2015-10-27 15:39:16 +01:00
Neil Deakin
a38d52b60a Bug 1214293, initialize show focus rings state properly in all child frames, r=smaug 2015-10-27 08:53:00 -04:00
Xidorn Quan
1a693cf130 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
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
William Chen
16cbe794df Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
--HG--
extra : rebase_source : 1ca2e3a29733762d4bb2c335a0d6fcf5d7b03c0f
2015-10-23 21:37:28 -07:00
Nathan Froyd
9f16f39c05 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
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