Kathy Brade
d3a1d9ec91
Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam
2015-06-07 09:02:00 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Ehsan Akhgari
2acefe2331
Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku
2015-01-06 11:52:45 -05:00
Ehsan Akhgari
6be3d83434
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 20:49:25 -04:00
Phil Ringnalda
36b0901dec
Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
...
CLOSED TREE
Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982 )
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
b781feb7c0
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Benoit Jacob
7bbd89e2ca
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Boris Zbarsky
b95c359828
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Masayuki Nakano
2a76e478e7
Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
2014-04-01 15:13:50 +09:00
Boris Zbarsky
1a0e58e622
Bug 950315 part 1. Convert a bunch of event targets to passing a Window or nsDOMEventTargetHelper directly to the constructor of their ancestor nsDOMEventTargetHelper. r=smaug
2014-01-06 21:53:23 -05:00
Paul Rouget
6fec9c7b62
Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz
2013-11-07 14:40:23 +01:00
Boris Zbarsky
226054774f
Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
...
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Andrew McCreight
3cb760f961
Bug 906272 - Remove unused CC declarations for nsScreen. r=khuey
2013-08-19 14:18:07 -07:00
Ehsan Akhgari
6c2dd7f365
Bug 905353 - Minimize the #includes in dom/base; r=jst
2013-08-15 14:17:48 -04:00
Mounir Lamouri
ab9e5b46e0
Bug 851642 - Make sure fullscreenchange event is sent even when the document is being removed from the doctree. r=smaug
...
... instead of relying on nsScreen being destroyed which was causing flaky
behaviour on Firefox Android (based on GC) and was creating a race condition bug
on Firefox OS.
2013-05-13 12:00:42 +01:00
Boris Zbarsky
ebafdd1727
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Boris Zbarsky
dab80b3782
Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug
2013-04-16 17:16:08 -04:00
Masatoshi Kimura
7878ea38fd
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Boris Zbarsky
fdb8227130
Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
00cb797cf0
Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
2012-11-09 07:43:58 -08:00
Ms2ger
95053222fd
Bug 793244 - Part b: Convert Screen to WebIDL; r=bz
2012-10-14 09:40:11 +02:00
Ms2ger
66de7fafc3
Bug 793244 - Part a: Rewrite mozLockOrientation to match WebIDL requirements; f=mounir r=bz
2012-10-14 09:39:34 +02:00
Mounir Lamouri
c79223f845
Bug 787538 - Make sure the event listener is disconnected if the screen lock is rejected by the backend. r=jlebar
2012-09-11 14:15:43 +01:00
Kyle Huey
5cc0526d33
Bug 687332: Part 2 - Move event handlers off of DOM objects and keep track of them solely in the event listener manager. r=smaug,bz
2012-08-30 20:45:16 -07:00
Mounir Lamouri
a4d1bf5d67
Bug 764753 - Unlock screen orientation when the document is left without explicitly exiting fullscreen. r=smaug
2012-06-22 10:52:47 +02:00
Ehsan Akhgari
744e754a48
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Jones
08bc295eab
Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir
2012-05-08 14:36:07 -07:00
Kan-Ru Chen
f66743752d
Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking
2012-04-03 01:51:00 -04:00
Mounir Lamouri
bf278d43dc
Bug 740188 - Screen Orientation API locking (3/3): revert orientation when fullscreen is left. r=smaug
2012-03-29 09:31:11 -07:00
Mounir Lamouri
4de8388076
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Mounir Lamouri
a5114e68e8
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00
Mark Finkle
335c2f59ce
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Mounir Lamouri
37a3053c3b
Bug 720799 - Don't use mDocShell in nsScreen. r=jst,jlebar
2012-03-14 19:14:53 +01:00
Mounir Lamouri
4f1bcedcbe
Bug 720794 - Part 2 (DOM) - Implement reading and event parts of Screen Orientation API. r=jst sr=sicking
2012-03-14 11:10:48 +01:00
Justin Lebar
3dcde4d38a
Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
2011-12-05 01:07:00 +08:00
Marco Bonardo
5c2568d9e0
Backout 407fba8cbd5a (bug 702256) for build failure on Windows.
2011-12-05 13:48:59 +01:00
Justin Lebar
0fd476e25d
Bug 702256 - "[Gonk] Add DOM API for turning screen on/off and adjusting the screen's brightness" r=cjones,mounir
2011-12-05 01:07:00 +08:00
Zack Weinberg
0797b06d99
Bug 651017, part 5: mechanical changes.
2011-04-16 18:22:44 -07:00
Benjamin Smedberg
28a78c0c2c
Bug 481102 - Reorganize dom/public, dom/public/base, and dom/src/base to dom/base, r+sr=jst
2009-03-11 10:10:19 -04:00