mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-20 03:51:20 +00:00
no-bug: Sync upstream Firefox to version 150.0.2 (gh-13601)
This commit is contained in:
@@ -34,8 +34,8 @@ Zen is a firefox-based browser with the aim of pushing your productivity to a ne
|
||||
|
||||
### Firefox Versions
|
||||
|
||||
- [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `150.0.1`! 🚀
|
||||
- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 150.0.1`!
|
||||
- [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `150.0.2`! 🚀
|
||||
- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 150.0.2`!
|
||||
|
||||
### Contributing
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
e097b3c5ca4139a5b88052379a776782e078356b
|
||||
73901ca17f4a2159dd4488cea8684e9abbfdcc89
|
||||
@@ -313,16 +313,18 @@ class nsZenGlanceManager extends nsZenDOMOperatedFeature {
|
||||
// content process since it does not take into account scroll. This way, we can
|
||||
// be sure that the coordinates are correct.
|
||||
const tabPanelsRect = gBrowser.tabpanels.getBoundingClientRect();
|
||||
const zoomLevel =
|
||||
this.#currentParentTab?.linkedBrowser.browsingContext.fullZoom || 1;
|
||||
const rect = new DOMRect(
|
||||
data.clientX + tabPanelsRect.left,
|
||||
data.clientY + tabPanelsRect.top,
|
||||
data.width,
|
||||
data.height
|
||||
data.clientX / zoomLevel + tabPanelsRect.left,
|
||||
data.clientY / zoomLevel + tabPanelsRect.top,
|
||||
data.width / zoomLevel,
|
||||
data.height / zoomLevel
|
||||
);
|
||||
return await this.#imageBitmapToObjectURL(
|
||||
await window.browsingContext.currentWindowGlobal.drawSnapshot(
|
||||
rect,
|
||||
1,
|
||||
zoomLevel,
|
||||
"transparent",
|
||||
undefined
|
||||
)
|
||||
|
||||
@@ -66,11 +66,13 @@ export class ZenGlanceChild extends JSWindowActorChild {
|
||||
) {
|
||||
rect = originalTargetRect;
|
||||
}
|
||||
// Change the rect to make sure we take into account zoom.
|
||||
const zoom = this.browsingContext.fullZoom;
|
||||
this.sendAsyncMessage("ZenGlance:RecordLinkClickData", {
|
||||
clientX: rect.left,
|
||||
clientY: rect.top,
|
||||
width: rect.width,
|
||||
height: rect.height,
|
||||
clientX: rect.left * zoom,
|
||||
clientY: rect.top * zoom,
|
||||
width: rect.width * zoom,
|
||||
height: rect.height * zoom,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"binaryName": "zen",
|
||||
"version": {
|
||||
"product": "firefox",
|
||||
"version": "150.0.1",
|
||||
"candidate": "150.0.1",
|
||||
"version": "150.0.2",
|
||||
"candidate": "150.0.2",
|
||||
"candidateBuild": 1
|
||||
},
|
||||
"buildOptions": {
|
||||
@@ -20,7 +20,7 @@
|
||||
"brandShortName": "Zen",
|
||||
"brandFullName": "Zen Browser",
|
||||
"release": {
|
||||
"displayVersion": "1.19.11b",
|
||||
"displayVersion": "1.19.12b",
|
||||
"github": {
|
||||
"repo": "zen-browser/desktop"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user