Moonchild
0603b037ef
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-18 16:15:51 +01:00
Moonchild
e2714e6938
Issue #2255 - Follow-up: Check if we actually have a non-null global object.
...
This should avoid the intermittent crashes that are still being reported
on this issue that end up crashing because of a proxied object that can't
be unwrapped after being passed around.
2024-11-27 18:27:00 +01:00
Brian Smith
ccbeea30aa
Issue #2282 - Part 2 - Re-add some timer clamping that got clobber erroneously.
2023-10-20 05:00:04 -05:00
Brian Smith
398486a64b
Issue #2282 - Align the Performance Observer navigation and resource with the spec.
...
This now passes the conformance tests.
https://bugzilla.mozilla.org/show_bug.cgi?id=1425458
Resource timing entries Workers - part 2 - PerformanceTimingData.
https://bugzilla.mozilla.org/show_bug.cgi?id=1462605
PerformanceNavigationTiming.name must be the value of the address of the current document.
https://bugzilla.mozilla.org/show_bug.cgi?id=1462883
Update PerformanceTimingData::mReportCrossOriginRedirect in SetPropertiesFromHttpChannel.
https://bugzilla.mozilla.org/show_bug.cgi?id=1462879
PerformanceNavigationTiming must be notified correctly - part 1 - notify.
2023-10-20 04:21:49 -05:00
Moonchild
78120a7693
[DOM] Fix deprot in PerformanceMark.cpp
2023-10-05 23:10:36 +02:00
Brian Smith
01ee4539cb
Issue #2282 - Performance observer safety checks.
...
Both fixes from later revisions, without the Dispatch API changes.
2023-09-07 15:31:26 -05:00
Brian Smith
e748187360
Issue #2282 - - Properly implement Performance Timeline Level 2 w3c spec.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1539006
Do not throw from PerformanceObserver.observe when none of the entryTypes are known.
https://bugzilla.mozilla.org/show_bug.cgi?id=1403027
Implement PerformanceObserver::takeRecords().
https://bugzilla.mozilla.org/show_bug.cgi?id=1436692
"server" is not a valid PerformanceEntry type.
https://bugzilla.mozilla.org/show_bug.cgi?id=1463065
Fix a null ptr crash in PerformanceObserver::Observe.
https://bugzilla.mozilla.org/show_bug.cgi?id=1631346
2023-08-02 02:41:40 -05:00
Brian Smith
f0b08a209d
Issue #2255 - Use Maybe<> in the Performance API.
2023-07-12 14:25:06 -05:00
Moonchild
eb5c408991
Issue #2053 - Follow-up: Clear the performance entries buffer if full.
...
Also enlarged the buffer to 16k entries which should be enough for all
legitimate use of performance measurements (and then some).
This throws a quota exceeded error if sites want to record more entries
into the buffer and just clears it (similar to Moz's behaviour under
memory pressure) ready for fresh entries to be added again.
2023-04-13 17:22:41 +02:00
Moonchild
2f258b259f
Issue #2053 - Follow-up: Make the default ResourceTimingBufferSize larger
...
Contrary to setting no limit by default, we're giving it a reasonable
default size to prevent runaway memory usage when websites just keep
recording ad infinitum.
2023-04-11 23:38:10 +02:00
FranklinDM
9e976ddf7f
Issue #2053 - Part 5: Throw a DOMException instead of a JS exception for some errors
2023-04-10 18:22:55 +08:00
FranklinDM
ac1fd1133c
Issue #2053 - Part 4b: Fix measure name to timestamp conversion
...
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1772417
2023-04-10 18:22:54 +08:00
FranklinDM
65203af3dc
Issue #2053 - Part 4a: Align IsPerformanceTimingAttribute to user-timing spec
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1772417
2023-04-10 18:22:54 +08:00
FranklinDM
19a7544fdf
Issue #2053 - Part 3: Update PerformanceMark to User Timing L3
...
There are a few minor differences between this and Mozilla's implementation:
(a) The type error messages were not hardcoded to the Performance class and were moved to Errors.msg or domerr.msg instead.
(b) Resist fingerprinting-pref changes were skipped.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1724645
2023-04-10 18:22:53 +08:00
FranklinDM
d4138780ee
Issue #2053 - Part 2: Update PerformanceMeasure to User Timing L3
...
There are a few minor differences between this and Mozilla's implementation:
(a) The type error messages were not hardcoded to the Performance class and were moved to Errors.msg instead.
(b) PerformanceMeasureOptions is used directly and doesn't use the the Maybe<> container class. I haven't found the reason yet, but PerformanceMeasureOptions is disallowed from having a copy constructor and without that, it isn't possible to use it with Maybe<>... There doesn't seem to be any problem with using it directly, though.
(c) Resist fingerprinting-pref changes were skipped.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1762482
2023-04-10 18:22:53 +08:00
Moonchild
76f10666f4
[DOM] Add some null checks for PerformanceWorkers
2023-01-18 17:54:34 +01:00
Moonchild
92452d7614
Issue #80 - reinstated unified building for some large chunks of our code.
...
This should reduce compile complexity saving time and reducing linker stress.
2022-09-04 11:50:24 +00:00
Moonchild
515ba7c887
[DOM] Add extra check for performance API Next Hop protocol
2022-07-27 02:39:58 +00:00
Moonchild
eecc234b44
No issue - Align our resource timing with the updated Fetch spec.
...
This makes FetchStart use StartTime() when the TAO check fails for
PerformanceResourceTiming
Given the recent Fetch spec updates, Step 8.1 in
https://fetch.spec.whatwg.org/#finalize-and-report-timing specifies that start
time(StartTime) and post-redirect start time(FetchStart) should be start time
when the TAO check fails.
2022-05-04 17:24:10 +00:00
Moonchild
d5a2c45aad
Issue #1656 - Part 6: Clean up the build files
2020-09-23 15:52:00 +00:00
Moonchild
a680bdc637
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-23 13:55:00 +00:00
Moonchild
484e7e65a7
Issue #80 - De-unify dom/performance
2020-04-22 19:19:55 +00:00
wolfbeast
d53b11c9dc
Issue #316 - Be more gentle with the CC and nursery.
2020-02-20 16:47:04 +01:00
wolfbeast
59f7a2cdb4
Issue #316 - Make the memory GC performance object conditional (WIP)
...
This was only added for GCubench and likely interfering with building
without devtools-server.
2020-02-20 12:00:26 +01:00
wolfbeast
1f9ab3a6e6
Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
2019-01-18 22:43:29 +01:00
wolfbeast
8844d3c616
Clamp resolution in PerformanceNavigationTiming.
2018-07-01 16:16:26 +02:00
Gaming4JC
bd85173562
Remove support and tests for HSTS priming from the tree. Fixes #384
2018-05-26 15:42:45 -04:00
wolfbeast
a6de084670
Remove missed MOZ_WIDGET_GONK ifdef
...
Tag #288
2018-05-13 21:48:05 +02:00
janekptacijarabaci
306db80410
moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
...
https://github.com/MoonchildProductions/moebius/pull/161
2018-04-29 14:15:18 +02:00
janekptacijarabaci
089a0bd9a4
Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp()
...
https://hg.mozilla.org/mozilla-central/rev/301231f4165a
2018-04-29 12:32:19 +02:00
janekptacijarabaci
85a83305dd
Bug 1322292 - Some fixes for the Performance API in workers - part 1 - Centralized Performance.now()
...
https://hg.mozilla.org/mozilla-central/rev/291a68ca4825
2018-04-29 12:26:49 +02:00
janekptacijarabaci
30cf4c5d93
Bug 1313420 - Implement Performance.timeOrigin - part 4 - tests
...
https://hg.mozilla.org/mozilla-central/rev/49305a317143
2018-04-29 12:20:22 +02:00
janekptacijarabaci
1ad6dc807c
Bug 1313420 - Implement Performance.timeOrigin - part 3 - tests
...
https://hg.mozilla.org/mozilla-central/rev/0f869d4c93ef
2018-04-29 12:19:25 +02:00
janekptacijarabaci
d564205c58
Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests
...
https://hg.mozilla.org/mozilla-central/rev/c22f17e0db9d
2018-04-29 12:18:35 +02:00
janekptacijarabaci
98438fa32e
Bug 1313420 - Implement Performance.timeOrigin - part 1
...
https://hg.mozilla.org/mozilla-central/rev/cf0f72f0b0be
2018-04-29 12:15:36 +02:00
janekptacijarabaci
39d4a11267
Bug 1323941 - navigationStart should not be exposed to workers as timing attribute
...
https://hg.mozilla.org/mozilla-central/rev/6be7eb833b11
2018-04-29 12:11:55 +02:00
janekptacijarabaci
7ee501103a
Bug 1322966 - Cleanup performance.cpp
...
https://hg.mozilla.org/mozilla-central/rev/0ad76084c4c3
2018-04-29 12:07:20 +02:00
janekptacijarabaci
de9560af3e
Bug 1317297 - nextHopProtocol is an empty string for local fetch
...
https://hg.mozilla.org/mozilla-central/rev/9e5cd2bf4d66
2018-04-29 11:59:22 +02:00
janekptacijarabaci
e040ed9250
moebius#158: The Performance Resource Timing (added support for "workerStart")
...
https://github.com/MoonchildProductions/moebius/pull/158
2018-04-29 11:49:50 +02:00
janekptacijarabaci
bdb4ff5816
moebius#157: The Performance Observer (improvements)
...
https://github.com/MoonchildProductions/moebius/pull/157
2018-04-22 04:25:34 +02:00
janekptacijarabaci
a10b23932c
Set "secureConnectionStart" to 0 for pages with HTTP scheme
...
Issue #67
2018-03-17 13:35:25 +01:00
janekptacijarabaci
e3da3bec40
Round down to the nearest 2ms (instead of 1ms)
...
Issue #67
https://github.com/MoonchildProductions/UXP/pull/34/commits/c8355b22c047c9737e32f096b816edbb8b0fa181
https://github.com/MoonchildProductions/UXP/commit/a32b7f7c4e4e31669e0787e6321d74e4db71e514
https://github.com/MoonchildProductions/UXP/commit/f0b727eac28244e0fa24a6107dee44e83ad0f561
2018-03-17 11:09:13 +01:00
Tom Ritter
ea3585702f
Bug 1437105 - Remove flaky timing tests from ESR branch that sometimes fail with time clamping. r=baku, a=test-only
...
Because we hardcode time clamping in ESR (as opposed to having a pref) I
don't see a way to guarentee that this test won't fail when we lose the
race and clamp downwards.
MozReview-Commit-ID: IMwejbOBmDu
2018-03-14 13:17:37 +01:00
Tom Ritter
a32b7f7c4e
Bug 1430173 - Reduce the precision of all explicit clocks to 2ms. r=baku, a=RyanVM
...
Backport to ESR where we don't have the ResistFingerprinting component.
MozReview-Commit-ID: 9bjycHjR3SF
--HG--
extra : transplant_source : %EA%03%21%0A%E9%3F%8E%CD%7C%D79f%96%85%96%00%5D%7F%95X
2018-03-14 11:27:26 +01:00
janekptacijarabaci
c8355b22c0
Rewrite the comment, use maxResolutionMs
2018-03-02 07:27:21 +01:00
janekptacijarabaci
d7d79119ec
Rounding to 1ms
2018-03-01 21:17:42 +01:00
janekptacijarabaci
644e9db109
DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
...
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2018-03-01 11:52:50 +01:00
Matt A. Tobin
5f8de423f1
Add m-esr52 at 52.6.0
2018-02-02 04:16:08 -05:00