Skip to content

Commit

Permalink
feat: capture all W3C fields in ResourceEvents (#489)
Browse files Browse the repository at this point in the history
* fix: replace ResourceEvent with W3C compliant PerformanceResourceTimingEvent (breaking)

* fix: firefox

* chore: add version 2.0.0

* chore: dispatch omitted resource fields to event bus

* chore: remove internalMessage

* chore: cleanup

* fix: flaky ms edge integ test

* chore: add unit tests for event type validation

* fix: integ test port

* fix: flaky ms edge integ test

* chore: add links to stylesheet filetype

* chore: test

* fix: disable flaky tests on edge

* chore: add integ test for value check

* fix: port

* chore: remove server timing for now

* chore: observe()

* chore: restore ignore comment

* chore: add length check to integ test

* Revert "chore: add length check to integ test"

This reverts commit 5061775.

* chore: change title to PerformanceResourceTimingEvent

* chore: remove version and add enum for initiatorType

* fix: isPutRumEvents()

* Revert "fix: isPutRumEvents()"

This reverts commit 3e29234.

* chore: add initiatorType "other"

* chore: add runtime check for resource

* chore: restore name

* chore: restore name

* Add a wait to see if it fixes integ tests

---------

Co-authored-by: Quinn Hanam <[email protected]>
  • Loading branch information
williazz and qhanam committed Feb 20, 2024
1 parent 4857774 commit 72db907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/event-plugins/__tests__/ResourcePlugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
record
} from '../../../test-utils/test-utils';
import { PERFORMANCE_RESOURCE_EVENT_TYPE } from '../../utils/constant';
import { ResourceEvent } from '../../../events/resource-event';
import { PerformanceResourceTimingEvent } from '../../../events/performance-resource-timing';
import { PerformancePluginConfig } from 'plugins/utils/performance-utils';

const buildResourcePlugin = (config?: Partial<PerformancePluginConfig>) => {
Expand Down

0 comments on commit 72db907

Please sign in to comment.