Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GV] Ignore editable annotations on GeckoView #19316

Closed

Conversation

calixteman
Copy link
Contributor

No description provided.

@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @calixteman received. Current queue size: 0

Live output at: http://54.241.84.105:8877/13a4e942e3cc793/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @calixteman received. Current queue size: 0

Live output at: http://54.193.163.58:8877/cff383abd7a2fdc/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/13a4e942e3cc793/output.txt

Total script time: 10.79 mins

  • Integration Tests: FAILED

@Snuffleupagus
Copy link
Collaborator

Unfortunately I don't believe that this patch works as-is, since "normal" Firefox and GeckoView uses the same built pdf.mjs and pdf.worker.mjs files.
The only thing currently unique to GeckoView is the viewer, see

pdf.js/gulpfile.mjs

Lines 581 to 597 in b521885

function createGVWebBundle(defines, options) {
const viewerFileConfig = createWebpackConfig(
defines,
{
filename: "viewer-geckoview.mjs",
library: {
type: "module",
},
},
{
defaultPreferencesDir: options.defaultPreferencesDir,
}
);
return gulp
.src("./web/viewer-geckoview.js", { encoding: false })
.pipe(webpack2Stream(viewerFileConfig));
}

Hence, in order for this to work, we'd need to introduce a new createGVMainBundle (similar to createMainBundle) and update the packaging code in mozilla-central to use that in GeckoView.

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/cff383abd7a2fdc/output.txt

Total script time: 24.95 mins

  • Integration Tests: FAILED

@calixteman
Copy link
Contributor Author

Unfortunately I don't believe that this patch works as-is, since "normal" Firefox and GeckoView uses the same built pdf.mjs and pdf.worker.mjs files. The only thing currently unique to GeckoView is the viewer, see

pdf.js/gulpfile.mjs

Lines 581 to 597 in b521885

function createGVWebBundle(defines, options) {
const viewerFileConfig = createWebpackConfig(
defines,
{
filename: "viewer-geckoview.mjs",
library: {
type: "module",
},
},
{
defaultPreferencesDir: options.defaultPreferencesDir,
}
);
return gulp
.src("./web/viewer-geckoview.js", { encoding: false })
.pipe(webpack2Stream(viewerFileConfig));
}

Hence, in order for this to work, we'd need to introduce a new createGVMainBundle (similar to createMainBundle) and update the packaging code in mozilla-central to use that in GeckoView.

Ah... yes you're right.

@calixteman calixteman closed this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants