Граф коммитов

55 Коммитов

Автор SHA1 Сообщение Дата
Markus Stange f3d9f254c8 Bug 1506976 - Make FirstContentfulPaint timing measure until the composite end of the paint. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D18880

--HG--
extra : moz-landing-system : lando
2019-02-12 19:09:06 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Randell Jesup 3a05a3fb0f Bug 1298381: Implement TimeToFirstContentfulPaint behind a pref r=mattwoodrow,smaug 2018-10-18 16:16:45 -04:00
Ciure Andrei 0e8da4cf69 Backed out changeset 91659baa6ddb (bug 1298381) for nsDisplayList.h perma failures CLOSED TREE 2018-11-14 23:48:31 +02:00
Randell Jesup a37d80eed4 Bug 1298381: Implement TimeToFirstContentfulPaint behind a pref r=mattwoodrow,smaug 2018-10-18 16:16:45 -04:00
Randell Jesup 92bdcfd0ad Bug 1299118: non-spec TimeToFirstInteractive implementation behind a pref r=mstange,bholley 2018-10-11 13:23:28 -04:00
shindli 0f211616dc Backed out 3 changesets (bug 1299118) for ES lint failures
Backed out changeset 14451eb9a2b8 (bug 1299118)
Backed out changeset e5adc30bdf7f (bug 1299118)
Backed out changeset 8f7bb583fbb5 (bug 1299118)
2018-10-11 20:47:58 +03:00
Randell Jesup 2271cd99ed Bug 1299118: non-spec TimeToFirstInteractive implementation behind a pref r=mstange,bholley 2018-10-11 13:23:28 -04:00
Bobby Holley 3cbcfdf4cd Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange
MozReview-Commit-ID: E6QPjgfUKdo
2018-04-27 11:15:27 -07:00
Tom Ritter 6ebcecc30e 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

--HG--
extra : rebase_source : da2ad8d9d6e0172679c6af14dba72938e9d2012c
2018-03-13 12:36:34 -05:00
Valentin Gosu 128fd96763 Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
MozReview-Commit-ID: FsEeeAOqDwY

--HG--
extra : rebase_source : 7b93f5967e184b4f7a86e07dd61c0d7af0fcf867
2017-10-18 14:52:03 +02:00
Sebastian Hengst 6cbbcb376d 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
--HG--
extra : amend_source : 193a2645db24088370bf0a7c4db28f44c1b67cd8
2017-10-17 14:45:13 +02:00
Valentin Gosu d1d5800ba9 Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
MozReview-Commit-ID: FsEeeAOqDwY

--HG--
extra : rebase_source : 303980bbfe5c396fb466541cf69bb7c070812a34
2017-10-17 01:36:26 +02:00
Sebastian Hengst 7686ba4103 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
--HG--
extra : rebase_source : dad8f71a4de9f4c3955dee91b52db3fa97587fb1
2017-10-17 00:48:36 +02:00
Valentin Gosu b3c9da152f Bug 1405961 - Remove assertion and ensure PerformanceNavigationTiming can be used before onLoad completes r=baku
MozReview-Commit-ID: FsEeeAOqDwY

--HG--
extra : rebase_source : 8bf8995e2a4a91cf0d8d66e37c0a2a6c4dd118b9
2017-10-12 17:52:59 +02:00
Valentin Gosu da8e71fd84 Bug 1403926 - Make sure PerformanceNavigationTiming timestamps are correct r=baku
MozReview-Commit-ID: 9qtfwaqSY4J

--HG--
extra : rebase_source : 1c8b29a9cc0aec9e33dadbea8808dfda9f9a6888
2017-10-04 04:05:39 +02:00
Wei-Cheng Pan fad0962338 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

--HG--
extra : rebase_source : 2227ba85d55496f2e8dfa4aa91d8f9f966684c6f
2017-08-23 11:09:24 +08:00
Perry Jiang afb3b422d6 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 211a8becfd 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 1786eb88fb 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 5ed2e8ed69 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 1978d62be4 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 3994547b42 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

--HG--
extra : rebase_source : 66be2aab4c4a32d20fb44c88c5270c5b5cfc0b81
extra : histedit_source : 5d6bef86d4a2a2250405d24ce28c6bfd9d654f8d
2016-11-10 14:26:54 -05:00
Markus Stange 22f951e2b3 Bug 1307242 - Add infrastructure for measuring time to non-blank paint. r=bkelly
MozReview-Commit-ID: LZBQOvKZYes

--HG--
extra : rebase_source : 4bf315aab5b663fbc82b11d1961b7a6e98800d6d
extra : histedit_source : 02c003a780c0ba217d17f1c009252217010dd84e
2016-11-10 16:00:45 -05:00
Andrea Marchesini dd368c9569 Bug 1279194 - Get rid of nsDOMPerformanceNavigationType, r=smaug 2016-06-10 16:29:46 +02:00
Andrea Marchesini e7022433c4 Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug 2016-06-09 12:43:02 +02:00
Birunthan Mohanathas a8939590de 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 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Ehsan Akhgari 883849ee32 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 4354953b4f 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 864ffca9e7 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Daniel Holbert 6ede97af2d 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 7393f81fff 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 99058b577c Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Ehsan Akhgari e368dc9c85 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 71ec9e6ab2 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 a6ec6f5d33 Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky cc86c6a349 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 94bf1722ed Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Ehsan Akhgari 8bb5b583b2 Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky 2012-07-16 22:44:22 -04:00
Ehsan Akhgari 091ebe183f Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky 2012-07-16 21:42:18 -04:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gijs Kruitbosch b2fd1edcc9 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Kyle Huey 2f25c40d87 Remove some silly LOCAL_INCLUDES from content/base/src. r=me 2011-09-15 16:47:29 -07:00
Igor Bazarny 6ce6bafa91 Bug 675615 - Fix web timing to support keep-alive connections, r=Olli.Pettay 2011-08-08 14:20:03 +02:00
Mounir Lamouri 57fe0a2e82 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Ehsan Akhgari 8aa36b3b5c Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri b6d655dff0 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00