wuggy
a2a4c62a9b
Refactor PerformanceObserver to use hash tables for entry type validation and improve ThrottleInputStream state management
2026-04-26 11:13:27 -07:00
ownedbywuigi
8046f8b4aa
try to fix the images not rendering on yeezy.com
2026-03-27 17:07:32 +00:00
roytam1
904406a497
Merge remote-tracking branch 'origin/tracking' into custom
2025-01-20 21:13:46 +08:00
Moonchild
139e7a7ac6
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-20 21:12:18 +08:00
roytam1
c6517989ab
Merge remote-tracking branch 'origin/tracking' into custom
2024-11-29 21:00:51 +08:00
Moonchild
24f3a981b6
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-29 20:53:06 +08:00
roytam1
8183d7b70c
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-21 11:53:44 +08:00
Brian Smith
bb656856b6
Issue #2282 - Part 2 - Re-add some timer clamping that got clobber erroneously.
2023-10-21 11:04:56 +08:00
Brian Smith
373fb9ae07
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-21 11:04:41 +08:00
roytam1
71c59df1f7
Merge remote-tracking branch 'origin/tracking' into custom
2023-10-06 09:17:27 +08:00
Moonchild
cdb890bdc3
[DOM] Fix deprot in PerformanceMark.cpp
2023-10-06 09:15:14 +08:00
roytam1
30236b0f05
Merge remote-tracking branch 'origin/tracking' into custom
2023-09-20 09:31:36 +08:00
Brian Smith
470af6ba50
Issue #2282 - Performance observer safety checks. Both fixes from later revisions, without the Dispatch API changes.
2023-09-20 09:28:26 +08:00
roytam1
1956d3d66b
Merge remote-tracking branch 'origin/tracking' into custom
2023-08-08 10:09:40 +08:00
Brian Smith
dd4c0a44b6
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-08 09:42:31 +08:00
roytam1
56216e737f
Merge remote-tracking branch 'origin/tracking' into custom
2023-07-14 10:22:44 +08:00
Brian Smith
1f5eaee101
Issue #2255 - Use Maybe<> in the Performance API.
2023-07-14 10:19:49 +08:00
roytam1
75bef7b736
Bug 1378537 - Store PerformanceEntry objects in AutoTArray; r=smaug
2023-04-13 16:44:14 +08:00
roytam1
16a1923c3b
Bug 1159003 - Remove Performance::GetAsISupports(), r=bz
2023-04-13 16:43:07 +08:00
roytam1
bc3eb89dee
Bug 1159003 - setResourceTimingBufferSize shouldn't affect user timing, but we should clean user markers if we have memory pressure, r=bz
2023-04-13 16:42:19 +08:00
roytam1
5a74c0114b
Issue UXP#2053: fix deprots
2023-04-12 10:35:49 +08:00
roytam1
265490b550
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-12 10:05:03 +08:00
Moonchild
7823439b1b
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-12 10:04:05 +08:00
FranklinDM
ef8e3b5419
Issue #2053 - Part 5: Throw a DOMException instead of a JS exception for some errors
2023-04-12 10:03:50 +08:00
FranklinDM
a0d52c0094
Issue #2053 - Part 4b: Fix measure name to timestamp conversion
...
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1772417
2023-04-12 10:03:34 +08:00
FranklinDM
4fc9cde7c1
Issue #2053 - Part 4a: Align IsPerformanceTimingAttribute to user-timing spec
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1772417
2023-04-12 10:03:17 +08:00
FranklinDM
3b57ba1415
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-12 10:02:58 +08:00
FranklinDM
23519e0c22
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-12 10:02:42 +08:00
roytam1
cad030d6cc
Merge remote-tracking branch 'origin/tracking' into custom
2023-01-19 09:43:10 +08:00
Moonchild
d8756a58db
[DOM] Add some null checks for PerformanceWorkers
2023-01-19 09:41:54 +08:00
roytam1
866ded0b0a
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-07 11:03:19 +08:00
Moonchild
5dfded811d
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-07 10:36:23 +08:00
roytam1
1822f2031e
Merge remote-tracking branch 'origin/tracking' into custom
2022-07-30 08:49:22 +08:00
Moonchild
bf58945866
[DOM] Add extra check for performance API Next Hop protocol
2022-07-30 08:43:44 +08:00
roytam1
f3c7008077
Merge remote-tracking branch 'origin/tracking' into custom
2022-05-05 09:16:13 +08:00
Moonchild
50965fb223
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-05 09:10:09 +08:00
roytam1
56aaf6a15a
Merge remote-tracking branch 'origin/master' into custom
2020-09-25 22:18:48 +08:00
Moonchild
0cd673d720
Issue #1656 - Part 6: Clean up the build files
2020-09-25 22:04:23 +08:00
Moonchild
8c395520d9
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-25 22:04:12 +08:00
Roy Tam
1453f13d33
Merge remote-tracking branch 'origin/master' into custom
2020-05-02 09:19:25 +08:00
Moonchild
f5938791ba
Issue #80 - De-unify dom/performance
2020-05-02 08:23:51 +08:00
Roy Tam
43b8e8fb16
Merge remote-tracking branch 'origin/master' into custom
2020-02-21 07:18:31 +08:00
wolfbeast
10e1c09fec
Issue #316 - Be more gentle with the CC and nursery.
2020-02-21 07:05:20 +08:00
wolfbeast
1e553d0e73
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-21 07:05:16 +08:00
Roy Tam
c07540b2d5
addendum to git rev aeda91f1d0
2019-11-04 15:06:34 +08:00
wolfbeast
39d5eb7759
Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
2019-02-16 00:27:49 +08:00
wolfbeast
d37f6a30b3
Clamp resolution in PerformanceNavigationTiming.
2019-02-16 00:07:11 +08:00
Gaming4JC
d4ac94cf3e
Remove support and tests for HSTS priming from the tree. Fixes #384
2019-02-15 23:59:39 +08:00
wolfbeast
5830ff1f2b
Remove missed MOZ_WIDGET_GONK ifdef
...
Tag #288
2019-02-15 23:57:13 +08:00
janekptacijarabaci
e8dbb561f6
moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
...
https://github.com/MoonchildProductions/moebius/pull/161
2019-02-15 23:53:43 +08:00