Closed Bug 1945733 Opened 1 year ago Closed 1 year ago

Enable the check for cached script event counts if the navigation cache is enabled

Categories

(Remote Protocol :: Agent, task, P3)

task

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: arai, Assigned: arai)

Details

(Whiteboard: [webdriver:m15][webdriver:external])

Attachments

(1 file)

The following code expects failure for the cached script case, due to the number of events being unexpected.
The navigation cache will fix this, and the expectation there needs to reflect it.

https://searchfox.org/mozilla-central/rev/d5f93d53d7d005bd303925bc166163f158142cfd/remote/shared/listeners/test/browser/browser_CachedResourceListener.js#44-48

(type === "script" ? todo_is : is)(
  cachedEventCount,
  1,
  `[${type}] 1 cached event received for the second load`
);
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/9b47913d3cdd Enable the check for cached script event counts if the navigation cache is enabled. r=webdriver-reviewers,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Priority: -- → P3
Whiteboard: [webdriver:m15][webdriver:external]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: