Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Olli Pettay
25c8782343
Bug 1674254 - Inside a WebWorker context, calling performance.addEventListener throws a generic NS_ERROR_FAILURE, r=barret
...
Differential Revision: https://phabricator.services.mozilla.com/D97805
2020-11-20 22:39:58 +00:00
Sean Feng
2ce0e3da25
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-10-27 16:25:50 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Sean Feng
981acf390f
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-10-23 19:25:36 +00:00
Dorel Luca
72ef712fd0
Backed out 10 changesets (bug 1518999) for GeckoView failures in PanZoomControllerTest.scroll. CLOSED TREE
...
Backed out changeset 7b5bdd071d05 (bug 1518999)
Backed out changeset 401e488734dd (bug 1518999)
Backed out changeset c13e51e17329 (bug 1518999)
Backed out changeset 2a2d67ba15b8 (bug 1518999)
Backed out changeset 3d4d84003227 (bug 1518999)
Backed out changeset 972731762965 (bug 1518999)
Backed out changeset f21b13582dad (bug 1518999)
Backed out changeset 13a4c749a802 (bug 1518999)
Backed out changeset 5a6cea5fd344 (bug 1518999)
Backed out changeset c3bb552e76a3 (bug 1518999)
2020-09-17 02:58:34 +03:00
Sean Feng
11a2849f32
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-09-14 15:13:18 +00:00
Emilio Cobos Álvarez
8a9cac4917
Bug 1662277 - Make IntersectionObserver entries have the same timestamp as other timestamp-returning things during the "update the rendering steps". r=sefeng
...
This is per spec, see the link in the test. I wouldn't see much point on
doing this for IntersectionObserver on its own, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=1518999#c28
Though I see the point of doing this for the paint timing API, and I
guess for consistency we should do it here too.
Differential Revision: https://phabricator.services.mozilla.com/D88926
2020-09-01 15:02:54 +00:00
Cosmin Sabou
2a9db10f24
Backed out 7 changesets (bug 1518999) for causing browsertime failures. CLOSED TREE
...
Backed out changeset d93cb254eef5 (bug 1518999)
Backed out changeset a9715e73e862 (bug 1518999)
Backed out changeset e28081d16e3c (bug 1518999)
Backed out changeset c9d88f3f1f5b (bug 1518999)
Backed out changeset 9836adcc4e83 (bug 1518999)
Backed out changeset 9f01755d327f (bug 1518999)
Backed out changeset ef494065b8e2 (bug 1518999)
2020-08-28 06:27:11 +03:00
Sean Feng
61ec0bd3c3
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-27 14:50:43 +00:00
Cosmin Sabou
7b214fd81a
Backed out 6 changesets (bug 1518999) for geckoview failures on scrollToVerticalOnZoomedContentAuto.
...
Backed out changeset 10bf1552e301 (bug 1518999)
Backed out changeset e62cd63e3595 (bug 1518999)
Backed out changeset 1bf0b02bb0e0 (bug 1518999)
Backed out changeset 2203a9c52afa (bug 1518999)
Backed out changeset 10f07ca7a246 (bug 1518999)
Backed out changeset b90cf6b54c09 (bug 1518999)
2020-08-25 01:02:36 +03:00
Sean Feng
517cde9bae
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-24 16:03:31 +00:00
Csoregi Natalia
c1ed2ba64f
Backed out 6 changesets (bug 1518999) for marionette failures on test_refresh_firefox.py. CLOSED TREE
...
Backed out changeset eb8e5411868e (bug 1518999)
Backed out changeset 0924e0169dcb (bug 1518999)
Backed out changeset b7de245b329c (bug 1518999)
Backed out changeset f2a6a3797ef1 (bug 1518999)
Backed out changeset 123403a14312 (bug 1518999)
Backed out changeset 1968b8ca14d7 (bug 1518999)
2020-08-18 23:53:26 +03:00
Sean Feng
d914187ce2
Bug 1518999 - Implement PerformancePaintTiming for FirstContentfulPaint r=smaug,mstange
...
Spec: https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
We only support FirstContentfulPaint at the moment.
Differential Revision: https://phabricator.services.mozilla.com/D66463
2020-08-06 16:13:44 +00:00
Sean Feng
7f368c5aa7
Bug 1653165 - Update PerformanceNavigationTiming before load event fires r=baku
...
Currently, we are not only updating the timing, but also sending
the timing to observers, which is not correct. According
to the Processing Modal of PerformanceNavigationTiming
(https://www.w3.org/TR/navigation-timing-2/#processing-model ),
Queuing the task should be happened after user agent completes
the load event.
Differential Revision: https://phabricator.services.mozilla.com/D85507
2020-08-13 07:49:50 +00:00
sefeng
66114f4029
Bug 1634854 - Make performance.observe queues task when buffered is set r=baku
...
Spec: https://w3c.github.io/performance-timeline/#observe-method
Per sepc, when the buffered flag is set, a PerformanceObserver
task should be queued to notify the observer for buffered entires.
Differential Revision: https://phabricator.services.mozilla.com/D75574
2020-05-18 11:53:06 +00:00
Tom Tung
b05759de17
Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku
...
Note that this patch implements a member function CrossOriginIsIsolated in
PerformanceWorker and PerformanceMainThread. In PerformanceMainThread, we need
to cache boolean for CrossOriginIsIsolated() so that we don't need to find the
owning global on every callsites.
Differential Revision: https://phabricator.services.mozilla.com/D63904
--HG--
extra : moz-landing-system : lando
2020-03-25 14:09:42 +00:00
Andrea Marchesini
bb718d74fc
Bug 1490044 - Remove DOMPrefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33510
--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Will Hawkins
f2dbed5cf9
Bug 1525051: Fix resource-timing/buffer-full-inspect-buffer-during-callback.html WPT test. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26399
--HG--
extra : moz-landing-system : lando
2019-04-08 23:21:08 +00:00
Dorel Luca
82007d97cd
Backed out changeset cd466be3bacb (bug 1525051) for mochitest failures in dom/tests/mochitest/general/test_performance_timeline.html. CLOSED TREE
2019-04-03 13:35:03 +03:00
Will Hawkins
0ccb72a315
Bug 1525051: Fix resource-timing/buffer-full-inspect-buffer-during-callback.html WPT test. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D21156
--HG--
extra : moz-landing-system : lando
2019-03-15 04:26:41 +00:00
Boris Zbarsky
1c3e10afc5
Bug 1535384 part 1. Eliminate some easy cases of MOZ_CAN_RUN_SCRIPT_BOUNDARY on webidl callbacks. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23771
--HG--
extra : moz-landing-system : lando
2019-03-19 05:24:39 +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
Andrea Marchesini
8ab9f07dd8
Bug 1462879 - PerformanceNavigationTiming must be notified correctly - part 1 - notify, r=smaug, r=valentin
2018-08-04 08:54:58 +02:00
Andi-Bogdan Postelnicu
88cc63910d
Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
...
--HG--
extra : rebase_source : 249fc26e50bded4e94f5effa4308af0f1e54b908
2018-06-16 17:21:46 +03:00
Andrea Marchesini
94d0c55042
Bug 1462880 - Set Performance Resource Timing buffer size to 250, r=bz
...
Spec issue: https://github.com/w3c/resource-timing/pull/155
2018-05-19 08:49:20 +02: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
Tom Ritter
ce3c0e4f8f
Bug 1443943 Allow internal callers of performance.now() to opt-out of clamping/jittering r=bholley
...
PresShell only uses performane.now to track refresh times, and notify internal
observers. We can provide more accurate times by not clamping and jittering
these numbers.
MozReview-Commit-ID: FkDGJhrLeAy
--HG--
extra : rebase_source : 99c571d1e5df53f51b4be0304df3818c161d2972
2018-03-09 20:12:53 -06:00
Tom Ritter
ba0e15150d
Bug 1443943 Port the performance APIs only to only clamping/jittering on non-System Principal r=baku
...
MozReview-Commit-ID: FKYLI5Yc1kX
--HG--
extra : rebase_source : a50952a233eff12c523bb9d9006d3143fa744005
2018-03-09 09:29:33 -06:00
Andrea Marchesini
dce09604e1
Bug 1436744
- Get rid of WorkerCheckAPIExposureOnMainThreadRunnable, r=catalinb
2018-02-12 21:02:22 +01:00
Andrea Marchesini
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
0356adb210
Bug 1425458 - Resource timing entries Workers - part 3 - PerformanceStorageWorker, r=smaug
2018-01-24 17:17:32 +01:00
Andrea Marchesini
2f72a5e897
Bug 1425458 - Resource timing entries Workers - part 1 - PerformanceStorage on main-thread, r=smaug
2018-01-24 17:17:31 +01:00
Brindusan Cristian
368c3d5b6b
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
662a5542a3
Bug 1425458 - Resource timing entries Workers - part 3 - PerformanceStorageWorker, r=smaug
2018-01-24 17:17:32 +01:00
Andrea Marchesini
6ade04534b
Bug 1425458 - Resource timing entries Workers - part 1 - PerformanceStorage on main-thread, r=smaug
2018-01-24 17:17:31 +01:00
Valentin Gosu
f59511657b
Bug 1263722 - Implement performance navigation timing r=baku
...
MozReview-Commit-ID: 9rJ3J6SqiDX
* * *
[mq]: test.patch
MozReview-Commit-ID: IYXp5G3iNSi
--HG--
extra : rebase_source : 42ef00dea8c7dff60743c1119faf4a76e8f59ae5
2016-04-17 22:03:28 +02:00
Sebastian Hengst
b9a549d819
Backed out changeset 6827b7bf9116 (bug 1263722) for leaks detected on mochitest shutdown. r=backout
2017-09-25 09:57:13 +02:00
Valentin Gosu
d5c34da10e
Bug 1263722 - Implement performance navigation timing r=baku
...
MozReview-Commit-ID: 9rJ3J6SqiDX
* * *
[mq]: test.patch
MozReview-Commit-ID: IYXp5G3iNSi
--HG--
extra : rebase_source : 5f2efdcf2cbd9f3b80752b59f083e32654a32e61
2016-04-17 22:03:28 +02:00
Andrea Marchesini
d06ba4ca6f
Bug 1382768 - Performance API must be a memory reporter, r=bz
2017-07-27 09:05:51 +02:00
Andrea Marchesini
e162c04cba
Bug 1159003 - Remove Performance::GetAsISupports(), r=bz
2017-07-20 19:05:38 +02:00
Andrea Marchesini
6f4d5069c8
Bug 1159003 - setResourceTimingBufferSize shouldn't affect user timing, but we should clean user markers if we have memory pressure, r=bz
2017-07-20 12:57:08 +02:00
Ryan VanderMeulen
3e946fc60d
Backed out changesets f4378a5e6c7f and b7d81fea0b33 (bug 1159003) for causing bug 1383553.
2017-07-25 21:50:06 -04:00
Andrea Marchesini
9bdc9f9ef2
Bug 1159003 - Remove Performance::GetAsISupports(), r=bz
2017-07-20 19:05:38 +02:00
Andrea Marchesini
b02308d651
Bug 1159003 - setResourceTimingBufferSize shouldn't affect user timing, but we should clean user markers if we have memory pressure, r=bz
2017-07-20 12:57:08 +02:00
Kyle Machulis
37abc6d73b
Bug 1378537 - Store PerformanceEntry objects in AutoTArray; r=smaug
...
Storing PerformanceEntry objects in an AutoTArray (currently sized to
match our limit for resource timing entries) should omit some
per-entry allocations and give us a small speedup with creating
entries in tight loops.
MozReview-Commit-ID: LNgVhMn461g
--HG--
extra : rebase_source : 10250c2fad5ebaf0e89bf9759d157b7d1d855ffa
2017-07-05 15:15:08 -07:00
Andrea Marchesini
2733271b7f
Bug 1344669 - Remove Performance::IsEnabled, r=qdot
2017-03-07 08:50:40 +01:00
Andrea Marchesini
ed7e7b4ae2
Bug 1323941 - navigationStart should not be exposed to workers as timing attribute, r=bz
2016-12-17 07:51:22 +01:00
Andrea Marchesini
4c69bb647d
Bug 1322292 - Some fixes for the Performance API in workers - part 1 - Centralized Performance.now(), r=bz
2016-12-16 09:07:04 +01:00
Andrea Marchesini
3c9042f49b
Bug 1322966 - Cleanup performance.cpp, r=qdot
2016-12-13 02:27:28 +01:00