Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Boris Zbarsky
60a196987f
Bug 1167489 and bug 1153672. Clamp the resolution of performance.now() calls to 5us, because otherwise we allow various timing attacks that depend on high accuracy timers. r=froydnj
2015-07-07 17:37:50 -04:00
Andrea Marchesini
c81e90485c
Bug 1155761 - User Timing API in Workers, r=ehsan
2015-05-25 17:53:07 +01:00
Hiroyuki Ikezoe
c680c760a3
Bug 1158731 - Buffer for Performance APIs (Resource Timing, User Timing) should be separeted. r=baku
2015-05-08 01:00:00 +02: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
23e24b9cc7
Bug 1158442 - Remove the "Performance Entry buffer size maximum reached" warning; r=baku
...
This happens far too often in our tests. For example, in our
mochitest-3 debug mac test, we hit this warning 4,472 times.
At this point, this warning is only adding unneeded noise, slowing down
the tests and increasing the size of the logs unnecessarily. Let's
remove it.
2015-04-27 13:08:27 -04:00
Valentin Gosu
7fbe955592
Bug 1139831 - end timestamps are before start timestamps. r=baku
2015-04-16 03:53:44 +03:00
Steve Fink
6df3ff0505
Bug 1125412 - Add a pref-gated performance.mozMemory for accessing internal memory usage/threshold info, r=smaug, sr=smaug
2015-03-23 12:19:52 -07: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
Valentin Gosu
0a676c7b85
Bug 1123920 - ConnectStart and ConnectEnd should call DomainLookupEndHighRes if null r=ehsan
2015-02-25 20:23:46 +02:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Kyle Machulis
ac67676c85
Bug 1115130 - Add logging for User Timing API; r=baku
2015-02-06 16:00:51 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
046308fdac
Backed out changeset 39f991c2bd71 (bug 1115130) for Werror bustage.
...
CLOSED TREE
2015-02-05 14:36:25 -05:00
Kyle Machulis
19df6a38c4
Bug 1115130 - Add logging for User Timing API; r=baku
2015-02-05 11:02:53 -08:00
Kyle Machulis
8cc8cce173
Bug 782751 - User Timing API Implementation; r=baku
2015-02-03 21:46:23 -08:00
Ryan VanderMeulen
0a82b2e2cc
Backed out 4 changesets (bug 782751, bug 1127948) for Gaia UI test failures.
...
Backed out changeset 4d8735e0cc30 (bug 1127948)
Backed out changeset de498dd4e303 (bug 782751)
Backed out changeset fe9436f5474c (bug 782751)
Backed out changeset fff8f6c32743 (bug 782751)
2015-01-30 14:16:40 -05:00
Kyle Machulis
b1a5b9bd1d
Bug 782751 - User Timing API Implementation; r=baku
2015-01-30 09:29:36 -08:00
Phil Ringnalda
bc2c77a8e3
Backed out 3 changesets (bug 782751) for various timing failures
...
Backed out changeset 14594507ec55 (bug 782751)
Backed out changeset e8659e5122e1 (bug 782751)
Backed out changeset c47168517080 (bug 782751)
2015-01-29 22:30:26 -08:00
Kyle Machulis
75d8e8d3f3
Bug 782751 - User Timing API Implementation; r=baku
2015-01-29 18:04:27 -08:00
Valentin Gosu
6837508863
Bug 1099092 - Navigation Timing has incorrect values when page is load via link with target=_blank attribute r=bz
2015-01-09 16:36:00 +02:00
Valentin Gosu
a90ceb8a06
Bug 1064706 - Save timing info in nsPerformanceTiming to avoid keeping a ref to the channel r=bz
2014-10-21 15:49:40 +03:00
Peter Van der Beken
3467274091
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
2014-10-07 11:44:49 +02:00
Valentin Gosu
78254a010d
Bug 1071527 - "dom.performance.enabled" set to "false" shows non-zero values for attributes. r=bz
2014-09-23 23:18:28 +03:00
Valentin Gosu
ac801f45f8
Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab
2014-05-15 08:26:07 +03:00
Valentin Gosu
744128da0d
Bug 936813 - Implement onresourcetimingbufferfull callback (part 2) r=bz
2014-05-10 05:12:06 +03:00
Valentin Gosu
b8b5500f70
Bug 936813 - Enforce buffer size for resource timing (part 1) r=bz
2014-05-10 05:11:54 +03:00
Birunthan Mohanathas
a993719744
Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug
2014-04-29 04:57:00 -04:00
Valentin Gosu
59e027d2fc
Bug 822480 - Fix e10s bits of Resource Timing implementation. r=bz, r=honzab
...
* Move nsITimedChannel to HttpBaseChannel which is inherited by HttpChannelChild
* Return mZeroTime instead of 0 in nsPerformanceTiming
* Pass redirect count from parent to child channel
2014-04-21 09:34:33 -04:00
Adrian Lungu
53c9888d1b
Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst
2013-10-15 18:35:44 -07: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
Boris Zbarsky
ae0180ee85
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Gabriele Svelto
4c7c7f557d
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
098de51886
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
ede887d01f
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ehsan Akhgari
6c2dd7f365
Bug 905353 - Minimize the #includes in dom/base; r=jst
2013-08-15 14:17:48 -04:00
Boris Zbarsky
5a57fe1c36
Bug 870667. Reinstate a way to turn off performance.timing bits using a pref. r=smaug
...
This is used by the Tor project, for example.
2013-05-10 18:57:58 -04: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
Masatoshi Kimura
7878ea38fd
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Trevor Saunders
7273f4ec95
bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8
2012-12-06 16:01:59 -05:00
Boris Zbarsky
cd63ad6e85
Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv
2012-09-11 20:08:24 +01:00
Olli Pettay
df75a8bf2c
Bug 765163, add missing #include, r=bustage
2012-07-20 20:40:13 +03:00
Ehsan Akhgari
aa8c09825d
Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky
2012-07-16 22:44:22 -04:00
Ehsan Akhgari
a3b31d18c5
Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky
2012-07-16 21:42:18 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gijs Kruitbosch
325abffb39
Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
2012-04-27 09:22:06 +02:00
Peter Van der Beken
22f5dbe67d
Stop including nsDOMClassInfo.h all over the place.
2011-10-03 21:11:31 +02:00
Igor Bazarny
118a677242
Bug 675615 - Fix web timing to support keep-alive connections, r=Olli.Pettay
2011-08-08 14:20:03 +02:00
Igor Bazarny
79aec53115
Bug 659126 - Implement additional NavigationTiming properties
...
r=smaug
2011-07-04 18:44:00 +02:00