Skip to content

Commit 32a583c

Browse files
authored
Deploy September 16, 2025 (#5615)
Changes: [Markus Stange] Switch CSS back to using relative paths inside url(...) (#5594) [Markus Stange] Use dynamic imports for jszip (#5593) [Florian Quèze] Allow markers to provide a marker color. (#5607) [Ryan Hunt] Update iongraph-web to latest version (#5606) [Florian Quèze] Fix the color contrast of hovered colored markers. (#5609) [Florian Quèze] Scale custom marker graphs on values within the committed range. (#5587) [Markus Stange] Fix null marker stack substitution (#5613) [Florian Quèze] Track context menus should be accessible from anywhere in the track (#5562) [Markus Stange] Worker + compression cleanups (#5602)
2 parents 6d281ff + 4cb392a commit 32a583c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1052
-640
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@codemirror/lang-rust": "^6.0.2",
6464
"@codemirror/language": "^6.11.3",
6565
"@codemirror/state": "^6.5.2",
66-
"@codemirror/view": "^6.38.1",
66+
"@codemirror/view": "^6.38.2",
6767
"@firefox-devtools/react-contextmenu": "^5.2.3",
6868
"@fluent/bundle": "^0.19.1",
6969
"@fluent/langneg": "^0.7.0",
@@ -78,9 +78,9 @@
7878
"copy-to-clipboard": "^3.3.3",
7979
"core-js": "^3.45.1",
8080
"escape-string-regexp": "^4.0.0",
81-
"gecko-profiler-demangle": "^0.3.3",
81+
"gecko-profiler-demangle": "^0.4.0",
8282
"idb": "^8.0.3",
83-
"iongraph-web": "0.1.4",
83+
"iongraph-web": "0.1.15",
8484
"jszip": "^3.10.1",
8585
"long": "^5.3.2",
8686
"memoize-immutable": "^3.0.0",
@@ -114,15 +114,15 @@
114114
"@babel/preset-env": "^7.28.3",
115115
"@babel/preset-react": "^7.27.1",
116116
"@babel/preset-typescript": "^7.27.1",
117-
"@eslint/js": "^9.34.0",
117+
"@eslint/js": "^9.35.0",
118118
"@testing-library/dom": "^10.4.1",
119119
"@testing-library/jest-dom": "^6.8.0",
120120
"@testing-library/react": "^16.3.0",
121121
"@types/clamp": "^1.0.3",
122122
"@types/common-tags": "^1.8.4",
123123
"@types/jest": "^30.0.0",
124124
"@types/minimist": "^1.2.5",
125-
"@types/node": "^22.18.0",
125+
"@types/node": "^22.18.1",
126126
"@types/query-string": "^6.3.0",
127127
"@types/react": "^18.3.24",
128128
"@types/react-dom": "^18.3.1",
@@ -134,10 +134,10 @@
134134
"@typescript-eslint/parser": "^8.41.0",
135135
"alex": "^11.0.1",
136136
"autoprefixer": "^10.4.21",
137-
"babel-jest": "^30.0.5",
137+
"babel-jest": "^30.1.2",
138138
"babel-loader": "^10.0.0",
139139
"babel-plugin-module-resolver": "^5.0.2",
140-
"browserslist": "^4.25.2",
140+
"browserslist": "^4.25.4",
141141
"caniuse-lite": "^1.0.30001731",
142142
"circular-dependency-plugin": "^5.2.1",
143143
"codecov": "^3.8.3",
@@ -146,25 +146,25 @@
146146
"css-loader": "^7.1.2",
147147
"cssnano": "^7.1.1",
148148
"devtools-license-check": "^0.9.0",
149-
"eslint": "^9.34.0",
149+
"eslint": "^9.35.0",
150150
"eslint-config-prettier": "^10.1.8",
151151
"eslint-import-resolver-alias": "^1.1.2",
152152
"eslint-plugin-import": "^2.32.0",
153153
"eslint-plugin-jest": "^29.0.1",
154154
"eslint-plugin-jest-dom": "^5.5.0",
155155
"eslint-plugin-jest-formatting": "^3.1.0",
156156
"eslint-plugin-react": "^7.37.5",
157-
"eslint-plugin-testing-library": "^7.6.6",
157+
"eslint-plugin-testing-library": "^7.6.8",
158158
"espree": "^10.4.0",
159-
"fake-indexeddb": "^6.1.0",
160-
"fetch-mock": "^12.5.3",
159+
"fake-indexeddb": "^6.2.2",
160+
"fetch-mock": "^12.5.4",
161161
"file-loader": "^6.2.0",
162162
"glob": "^11.0.3",
163163
"globals": "^16.3.0",
164164
"html-webpack-plugin": "^5.6.4",
165165
"husky": "^4.3.8",
166-
"jest": "^30.0.5",
167-
"jest-environment-jsdom": "^30.0.5",
166+
"jest": "^30.1.3",
167+
"jest-environment-jsdom": "^30.1.2",
168168
"jest-extended": "^6.0.0",
169169
"json-loader": "^0.5.7",
170170
"local-web-server": "^5.4.0",
@@ -174,7 +174,7 @@
174174
"open": "^10.2.0",
175175
"patch-package": "^8.0.0",
176176
"postcss": "^8.5.6",
177-
"postcss-loader": "^8.1.1",
177+
"postcss-loader": "^8.2.0",
178178
"postinstall-postinstall": "^2.1.0",
179179
"prettier": "^3.6.2",
180180
"raw-loader": "^4.0.2",

src/actions/receive-profile.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44
import { oneLine } from 'common-tags';
55
import queryString from 'query-string';
6-
import JSZip from 'jszip';
6+
import type JSZip from 'jszip';
77
import {
88
insertExternalMarkersIntoProfile,
99
insertExternalPowerCountersIntoProfile,
@@ -1045,6 +1045,7 @@ async function _extractZipFromResponse(
10451045
// that comes from this realm.
10461046
const typedBuffer = new Uint8Array(buffer);
10471047
try {
1048+
const JSZip = await import('jszip');
10481049
const zip = await JSZip.loadAsync(typedBuffer);
10491050
// Catch the error if unable to load the zip.
10501051
return zip;
@@ -1235,6 +1236,7 @@ export function retrieveProfileFromFile(
12351236
if (_deduceContentType(file.name, file.type) === 'application/zip') {
12361237
// Open a zip file in the zip file viewer
12371238
const buffer = await fileReader(file).asArrayBuffer();
1239+
const JSZip = await import('jszip');
12381240
const zip = await JSZip.loadAsync(buffer);
12391241
await dispatch(receiveZipFile(zip));
12401242
} else {

src/components/app/BottomBox.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
}
7373

7474
.bottom-close-button {
75-
background-image: url(firefox-profiler-res/img/svg/close-dark.svg);
75+
background-image: url(../../../res/img/svg/close-dark.svg);
7676
}
7777

7878
.bottom-assembly-button {
79-
background-image: url(firefox-profiler-res/img/svg/asm-icon.svg);
79+
background-image: url(../../../res/img/svg/asm-icon.svg);
8080
}
8181

8282
.codeLoadingOverlay,
@@ -111,8 +111,8 @@
111111
width: 32px;
112112
height: 32px;
113113
flex-shrink: 0;
114-
background: url(firefox-profiler-res/img/spinner.png) center center / 32px
115-
32px no-repeat;
114+
background: url(../../../res/img/spinner.png) center center / 32px 32px
115+
no-repeat;
116116
content: '';
117117
}
118118

@@ -123,8 +123,8 @@
123123
width: 50px;
124124
height: 50px;
125125
flex-shrink: 0;
126-
background: url(firefox-profiler-res/img/svg/error.svg) center center / 32px
127-
32px no-repeat;
126+
background: url(../../../res/img/svg/error.svg) center center / 32px 32px
127+
no-repeat;
128128
content: '';
129129
filter: brightness(70%) drop-shadow(0 1px rgb(255 255 255 / 0.5));
130130
}

src/components/app/Details.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
}
2727

2828
.sidebar-open-close-button-isopen {
29-
background-image: url(firefox-profiler-res/img/svg/pane-collapse.svg);
29+
background-image: url(../../../res/img/svg/pane-collapse.svg);
3030
}
3131

3232
.sidebar-open-close-button-isclosed {
33-
background-image: url(firefox-profiler-res/img/svg/pane-expand.svg);
33+
background-image: url(../../../res/img/svg/pane-expand.svg);
3434
}

src/components/app/Home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
width: 20px;
146146
height: 20px;
147147
margin: 0 10px -4px 3px;
148-
background: url(firefox-profiler-res/img/svg/help-blue.svg);
148+
background: url(../../../res/img/svg/help-blue.svg);
149149
background-size: 100% 100%;
150150
}
151151

src/components/app/KeyboardShortcut.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@
9595

9696
/* Allow for the photon focus ring to fit in the space by using a 4px margin. */
9797
margin: 4px;
98-
background: url(firefox-profiler-res/img/svg/searchfield-cancel.svg) 10px
99-
center no-repeat;
98+
background: url(../../../res/img/svg/searchfield-cancel.svg) 10px center
99+
no-repeat;
100100
cursor: pointer;
101101
font-size: inherit;
102102
}

src/components/app/MenuButtons/Permalink.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/* This background image builds on the generic styles defined in
66
* MenuButtons/index.css when using an icon. */
77
.menuButtonsPermalinkButtonButton::before {
8-
background-image: url(firefox-profiler-res/img/svg/link-dark-12.svg);
8+
background-image: url(../../../../res/img/svg/link-dark-12.svg);
99
}
1010

1111
.menuButtonsPermalinkPanel .arrowPanelContent {

src/components/app/MenuButtons/Publish.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
/* These two background images build on the generic styles defined in
66
* MenuButtons/index.css when using an icon. */
77
.menuButtonsShareButtonButton::before {
8-
background-image: url(firefox-profiler-res/img/svg/share-dark-12.svg);
8+
background-image: url(../../../../res/img/svg/share-dark-12.svg);
99
}
1010

1111
.menuButtonsShareButtonButton-uploading::before {
12-
background-image: url(firefox-profiler-res/img/svg/sharing-animated-dark-12.svg);
12+
background-image: url(../../../../res/img/svg/sharing-animated-dark-12.svg);
1313
}
1414

1515
.menuButtonsShareButtonError {
@@ -27,7 +27,7 @@
2727
}
2828

2929
.menuButtonsShareButtonError::before {
30-
background-image: url(firefox-profiler-res/img/svg/error.svg);
30+
background-image: url(../../../../res/img/svg/error.svg);
3131
}
3232

3333
.menuButtonsPublishPanel {
@@ -46,7 +46,7 @@
4646
* This background image is 44x44, so this puts it 16px left of the text. */
4747
padding-left: 60px;
4848
margin: 0 0 0 -60px;
49-
background: url(firefox-profiler-res/img/svg/info.svg) left center no-repeat;
49+
background: url(../../../../res/img/svg/info.svg) left center no-repeat;
5050
line-height: 44px; /* This is the height of the background image */
5151
}
5252

@@ -107,15 +107,13 @@
107107
.menuButtonsPublishButtonsSvgUpload {
108108
width: 20px;
109109
height: 20px;
110-
background: url(firefox-profiler-res/img/svg/upload.svg) center center
111-
no-repeat;
110+
background: url(../../../../res/img/svg/upload.svg) center center no-repeat;
112111
}
113112

114113
.menuButtonsPublishButtonsSvgDownload {
115114
width: 20px;
116115
height: 20px;
117-
background: url(firefox-profiler-res/img/svg/download.svg) center center
118-
no-repeat;
116+
background: url(../../../../res/img/svg/download.svg) center center no-repeat;
119117
}
120118

121119
.menuButtonsDownloadSize {

src/components/app/MenuButtons/index.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,23 @@
9292
width: 12px;
9393
height: 12px;
9494
padding-left: 4px;
95-
background: url(firefox-profiler-res/img/svg/open-in-new-12.svg) no-repeat
96-
right / 12px;
95+
background: url(../../../../res/img/svg/open-in-new-12.svg) no-repeat right /
96+
12px;
9797
}
9898

9999
/* These classes define respective states for the metainfo button. They change
100100
* the icon whose generic styles are defined above. */
101101
.menuButtonsMetaInfoButtonButton::before {
102-
background-image: url(firefox-profiler-res/img/svg/info-12.svg);
102+
background-image: url(../../../../res/img/svg/info-12.svg);
103103
}
104104

105105
/* This is the revert button, appearing after publishing a profile. */
106106
.menuButtonsRevertButton::before {
107-
background-image: url(firefox-profiler-res/img/svg/undo-dark-12.svg);
107+
background-image: url(../../../../res/img/svg/undo-dark-12.svg);
108108
}
109109

110110
.menuButtonsRevertToFullView::before {
111-
background-image: url(firefox-profiler-res/img/svg/maximize-dark-12.svg);
111+
background-image: url(../../../../res/img/svg/maximize-dark-12.svg);
112112
}
113113

114114
.profileInfoUploadedActions {
@@ -135,8 +135,8 @@
135135
display: block;
136136
width: 32px;
137137
height: 32px;
138-
background: url(firefox-profiler-res/img/svg/cloud-dark-12.svg) no-repeat
139-
left / 32px;
138+
background: url(../../../../res/img/svg/cloud-dark-12.svg) no-repeat left /
139+
32px;
140140
content: '';
141141
opacity: 0.5;
142142
}

src/components/app/ProfileDeleteButton.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
/* Note: 20px is: 16px (icon width) + 4px (distance from the text) */
77
padding-left: 20px;
88
margin: 0;
9-
background: url(firefox-profiler-res/img/svg/check-dark.svg) no-repeat left /
10-
16px 16px;
9+
background: url(../../../res/img/svg/check-dark.svg) no-repeat left / 16px
10+
16px;
1111
white-space: nowrap;
1212
}
1313

@@ -16,8 +16,8 @@
1616
padding-left: 24px;
1717

1818
/* The icon is 4px below the top */
19-
background: url(firefox-profiler-res/img/svg/error-red.svg) no-repeat 0 4px /
20-
16px 16px;
19+
background: url(../../../res/img/svg/error-red.svg) no-repeat 0 4px / 16px
20+
16px;
2121
color: var(--red-60);
2222
overflow-wrap: break-word;
2323
}

0 commit comments

Comments
 (0)