Tom Ritter
e19e7123c5
Bug 1440195 Add a random context seed to the Performance APIs r=baku
...
We attach it to WorkerPrivate and DOMNavigationTiming so it will be re-used
when it should.
WorkerPrivate is used in the Performance APIs, Performance Storage Worker,
and Event.
DOMNavigationTiming is used only in the Performance APIs, but the crucial
part is that when the individual DOMNavigationTiming object is re-used,
so will the context seed. This in particular came up with the
nav2_test_document_open.html Web Platform Test which illustrated the fact
that even if you .open() a new document, the performance navigation data
is not supposed to change.
MozReview-Commit-ID: GIv6biEo2jY
2018-03-13 12:36:34 -05:00
Valentin Gosu
e671e91192
Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
...
MozReview-Commit-ID: FsEeeAOqDwY
2017-10-18 14:52:03 +02:00
Sebastian Hengst
b30f02ac7f
Backed out changeset 490375161b03 (bug 1405961) for failing mochitest dom/tests/mochitest/general/test_resource_timing.html both in normal and in headless mode. r=backout
2017-10-17 14:45:13 +02:00
Valentin Gosu
47519d87d4
Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
...
MozReview-Commit-ID: FsEeeAOqDwY
2017-10-17 01:36:26 +02:00
Sebastian Hengst
3eb5099edf
Backed out changeset 690513d3ec06 (bug 1405961) for failing modified mochitest dom/tests/mochitest/general/test_performance_nav_timing_before_onload.html. r=backout on a CLOSED TREE
2017-10-17 00:48:36 +02:00
Valentin Gosu
ba46bca8b4
Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
...
MozReview-Commit-ID: FsEeeAOqDwY
2017-10-12 17:52:59 +02:00
Valentin Gosu
1942061bc8
Bug 1403926 - Make sure PerformanceNavigationTiming timestamps are correct r=baku
...
MozReview-Commit-ID: 9qtfwaqSY4J
2017-10-04 04:05:39 +02:00
Wei-Cheng Pan
6562261154
Bug 1387625 - Fix TIME_TO_DOM_LOADING_MS record timing. r=smaug
...
nsDocument::mTiming can be nullptr when the document is still loading, so we
should not record ready state probes in nsDOMNavigationTiming.
Also stops recording probes from parent process because we only need data from
real web contents.
MozReview-Commit-ID: 8XUHC8yKobO
2017-08-23 11:09:24 +08:00
Perry Jiang
268e825361
Bug 1377251 - Follow-up: replace timeToNonBlankPaint's duration with timestamp. r=qDot
...
MozReview-Commit-ID: 6IOHKPeV81r
2017-07-12 10:18:14 -07:00
Perry Jiang
a91002a8b6
Bug 1377251 - Expose TIME_TO_NON_BLANK_PAINT as Performance Entry behind pref. r=qDot
2017-07-05 16:51:50 -07:00
Wes Kocher
a43241d03f
Backed out changeset 5f7d4b62f6e4 (bug 1377251) for test_toJSON.html failures a=backout
...
MozReview-Commit-ID: JdRvGn6MQXn
2017-07-07 17:08:35 -07:00
Perry Jiang
4ff9c28002
Bug 1377251 - Expose TIME_TO_NON_BLANK_PAINT as Performance Entry behind pref. r=qdot
...
MozReview-Commit-ID: 4WPeEzBnGnk
2017-07-05 16:51:50 -07:00
Wei-Cheng Pan
6c5df0fdf2
Bug 1344893 - Part 1: Report Navigation Timing into Telemetry. r=smaug, data-review=bsmedberg
...
We only need metric from top level content document, but we dont have
any information about it in nsDOMNavigationTiming, so I add a weak
reference which points to nsDocShell.
MozReview-Commit-ID: GiJigRLYHNV
2017-04-19 02:00:00 -04:00
Markus Stange
abbe5b208a
Bug 1307242 - Add a non-blank paint telemetry probe for foreground root content documents. r=bkelly, f=bsmedberg
...
This adds a probe called TIME_TO_NON_BLANK_PAINT_MS which reports time to
non-blank paint for root content documents whose docshell was active for the
entire time between navigation start and first non-blank paint.
MozReview-Commit-ID: 7JQdk5vHr1O
2016-11-10 14:26:54 -05:00
Markus Stange
b9a18a1510
Bug 1307242 - Add infrastructure for measuring time to non-blank paint. r=bkelly
...
MozReview-Commit-ID: LZBQOvKZYes
2016-11-10 16:00:45 -05:00
Andrea Marchesini
6360c16cce
Bug 1279194 - Get rid of nsDOMPerformanceNavigationType, r=smaug
2016-06-10 16:29:46 +02:00
Andrea Marchesini
3baba3c2bd
Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug
2016-06-09 12:43:02 +02:00
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
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
Ehsan Akhgari
a7f747ec15
Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Adrian Lungu
53c9888d1b
Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst
2013-10-15 18:35:44 -07:00
Daniel Holbert
f167e2a388
Bug 984786 part 4: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /dom. r=smaug
2014-04-02 09:21:03 -07:00
Boris Zbarsky
6049b95ac2
Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey
2013-08-23 22:42:40 -04:00
Ehsan Akhgari
6c2dd7f365
Bug 905353 - Minimize the #includes in dom/base; r=jst
2013-08-15 14:17:48 -04:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Boris Zbarsky
3d3f058246
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Chris Jones
41f367b6fd
Revert e3e9040a6eb9 for M2 failures
2012-08-08 21:58:23 -07:00
Boris Zbarsky
3beaa1f31b
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Ms2ger
26fa23777d
Bug 743573 - Fix a number of build warnings in dom/; r=mounir
2012-08-07 09:06:29 +02: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
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07: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
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Kyle Huey
8ea5673c76
Remove some silly LOCAL_INCLUDES from content/base/src. r=me
2011-09-15 16:47:29 -07: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
Mounir Lamouri
c9e61d6f91
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-20 12:18:54 -07:00
Ehsan Akhgari
c9daca5445
Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD
2011-07-19 16:25:54 -04:00
Mounir Lamouri
895290b984
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-19 11:22:43 -07:00
Mounir Lamouri
a685a5428c
Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage.
2011-07-19 10:49:48 -07:00
Mounir Lamouri
90cadc846b
Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst
2011-07-18 17:05:10 -07:00
Igor Bazarny
79aec53115
Bug 659126 - Implement additional NavigationTiming properties
...
r=smaug
2011-07-04 18:44:00 +02:00
Igor Bazarny
5fa36a007a
Bug 668513 - make the w3c tests for navigationtiming pass
...
r=smaug
2011-07-04 11:30:43 +02:00
Igor Bazarny
c17ceb8b6d
bug 570341 Initial implementation of web timing specification
...
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00