Find
C
ase-sensitive
R
egexp search
Path
Showing
af3c77e2
:
Bug
2001527
: add smartwindow quick_prompt_displayed glean metric integration r=ai-frontend-reviewers,Mardak
firefox-main
/
devtools
/
server
/
actors
/
emulation
Navigation
Enable keyboard shortcuts
Name
Description
Size
Coverage
moz.build
355
-
responsive.js
This actor overrides various browser features to simulate different environments to test how pages perform under various conditions. The design below, which saves the previous value of each property before setting, is needed because it's possible to have multiple copies of this actor for a single page. When some instance of this actor changes a property, we want it to be able to restore that property to the way it was found before the change. A subtle aspect of the code below is that all get* methods must return non-undefined values, so that the absence of a previous value can be distinguished from the value for "no override" for each of the properties.
2825
94 %
touch-simulator.js
Simulate touch events for platforms where they aren't generally available.
6903
84 %