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
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
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
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
b0815a186e
Bug 1425458 - Resource timing entries Workers - part 5 - dispatch resourcetimingbufferfull on workers, 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
a1fb457571
Bug 1425458 - Resource timing entries Workers - part 5 - dispatch resourcetimingbufferfull on workers, 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
Andrea Marchesini
e162c04cba
Bug 1159003 - Remove Performance::GetAsISupports(), r=bz
2017-07-20 19:05:38 +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
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
Andrea Marchesini
42d73e42ca
Bug 1278838
- move workers/performance tests in dom/performance/tests, r=smaug
...
--HG--
rename : dom/workers/test/sharedworker_performance_user_timing.js => dom/performance/tests/sharedworker_performance_user_timing.js
rename : dom/workers/test/test_sharedWorker_performance_user_timing.html => dom/performance/tests/test_sharedWorker_performance_user_timing.html
rename : dom/workers/test/test_performance_observer.html => dom/performance/tests/test_worker_observer.html
rename : dom/workers/test/test_worker_performance_now.html => dom/performance/tests/test_worker_performance_now.html
rename : dom/workers/test/test_worker_performance_now.js => dom/performance/tests/test_worker_performance_now.js
rename : dom/workers/test/test_performance_user_timing.html => dom/performance/tests/test_worker_user_timing.html
rename : dom/workers/test/performance_observer.html => dom/performance/tests/worker_performance_observer.html
rename : dom/workers/test/worker_performance_observer.js => dom/performance/tests/worker_performance_observer.js
rename : dom/workers/test/worker_performance_user_timing.js => dom/performance/tests/worker_performance_user_timing.js
2016-06-09 19:05:16 +02:00
Andrea Marchesini
64734bf74c
Bug 1278838
- Remove separate worker binding for Performance API, r=smaug
...
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00