Luca Greco
b14d9e44e8
Bug 1815688
- Fix typo and add explicit descriptions to GeckoView mochitest test_ext_tabs_insertCSS.html. r=willdurand,geckoview-reviewers,m_kato
...
Depends on D166461
Differential Revision: https://phabricator.services.mozilla.com/D169199
2023-03-02 12:17:05 +00:00
Mark Banner
6044092bf9
Bug 1819597 - Convert security to ES modules. r=keeler,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D171333
2023-03-02 07:54:35 +00:00
Makoto Kato
8eaf133428
Bug 1819494 - Add functional test for GeckoSessionSettings.setDisplayMode. r=geckoview-reviewers,owlish
...
There is no tests for display mode with web content. So we should add
it.
Differential Revision: https://phabricator.services.mozilla.com/D171298
2023-03-02 04:22:56 +00:00
Makoto Kato
263e20dd87
Bug 1527022
- Pass AccessibilityTest on Android 11 or early. r=eeejay,geckoview-reviewers,owlish
...
When getting virtual ID of a11y tree, we use internal method via
reflection. But `AccessibilityNodeInfo.getChildId` is hidden now.
As workaround, since `mChildNodeIds` is still `@UnsupportedAppUsage`,
we can use it to get child node id.
This has another fix. Clipboard access requires foreground on Android 10+.
So we have to set window foucs when using clipboard.
Also, `AccessibilityTest` won't work on Android 12 since more methods
seem to be hidden from Android 12.
(by `@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R)`).
Differential Revision: https://phabricator.services.mozilla.com/D170550
2023-03-02 03:15:43 +00:00
Gijs Kruitbosch
b02604d95a
Bug 1819728 - make E10sUtils.getRemoteURIObject easier to use when passing a subset of options, r=nika,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D170923
2023-03-01 21:29:53 +00:00
Makoto Kato
051c921a72
Bug 1813573 - Part 2. Restart vsync when refresh rate is changed. r=geckoview-reviewers,owlish
...
When refresh rate is changed, `DisplayListener` is called. So we restart vsync
when refresh rate may be changed.
Differential Revision: https://phabricator.services.mozilla.com/D168666
2023-03-01 03:12:32 +00:00
Hiroyuki Ikezoe
9d1e021d6b
Bug 1762255 - Convert MobileViewport intrinric size to app units and use it in the comparison. r=botond,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D169288
2023-02-28 02:54:05 +00:00
owlishDeveloper
a2d875255c
Bug 1806740 - Add API to expose hasRuleForBrowsingContext r=geckoview-reviewers,amejiamarmol,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D167890
2023-02-28 00:00:06 +00:00
Calixte
7e593130e6
Bug 1810106 - Enable pdf.js by default in GeckoView r=marco,geckoview-reviewers,ohall,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D171088
2023-02-27 17:49:55 +00:00
Iulian Moraru
cccc83c1cd
Backed out changeset 7a0e9a32199b (bug 1806740) for causing gv-junit failures. CLOSED TREE
2023-02-27 20:47:05 +02:00
owlishDeveloper
3bb59795be
Bug 1806740 - Add API to expose hasRuleForBrowsingContext r=geckoview-reviewers,amejiamarmol,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D167890
2023-02-27 17:25:10 +00:00
Mathew Hodson
9e8aaaf74e
Bug 1818579 - Move Storage API pref to StaticPrefList.yaml on Android. r=geckoview-reviewers,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D170843
2023-02-27 12:34:27 +00:00
Makoto Kato
aa3ccd258b
Bug 1618885 - Remove unused is_fennec. r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,sgalich,robwu,calu
...
is_fennec is unused now, let's remove it.
Differential Revision: https://phabricator.services.mozilla.com/D170849
2023-02-27 01:44:18 +00:00
Cristian Tuns
3e4ccaf3f0
Backed out changeset e3c8167a7df6 (bug 1806740) for causing gv-junit-nofis failures in GeckoSessionTestRuleTest#checkCookieBannerRuleForSession CLOSED TREE
2023-02-24 15:54:31 -05:00
owlishDeveloper
87659a6ea2
Bug 1806740 - Add API to expose hasRuleForBrowsingContext r=geckoview-reviewers,amejiamarmol,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D167890
2023-02-24 19:13:41 +00:00
Hiroyuki Ikezoe
98ea9b2281
Bug 1663444 - Expand the clip rect for async zoom container including the dynamic toolbar area. r=geckoview-reviewers,owlish,botond
...
Differential Revision: https://phabricator.services.mozilla.com/D168638
2023-02-23 00:05:09 +00:00
Roger Yang
6f6189d4d0
Bug 1809269 - Add bypass load URI delegate in load flags. r=jonalmeida,amejiamarmol
...
Differential Revision: https://phabricator.services.mozilla.com/D169865
2023-02-22 21:10:53 +00:00
Arturo Mejia
7e62be4d03
Bug 1801615 - Remove GeckoSession.SelectionActionDelegate.Selection.clientRect r=geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D170259
2023-02-22 01:39:28 +00:00
Emilio Cobos Álvarez
627efca14c
Bug 1817381 - Remove DOMWindowUtils.fullZoom. r=jfkthame,layout-reviewers,extension-reviewers,rpl,geckoview-reviewers,m_kato
...
Callers just want the actual full zoom, not the one including the OS
text-scale.
Android doesn't have OS zoom to begin with, so this can't change
behavior, but the desktop caller passes the usual full zoom here[1], so
we're making the behavior match.
[1]: https://searchfox.org/mozilla-central/rev/9de332d5c8faac58dc1232b8a6383ce6cb1400f4/browser/components/extensions/parent/ext-tabs.js#1011
Depends on D170196
Differential Revision: https://phabricator.services.mozilla.com/D170197
2023-02-21 17:24:00 +00:00
Marian-Vasile Laza
7ccec0b37b
Backed out changeset 343daddee430 (bug 1817381) for mochitest failures on test_bug574663.html. CLOSED TREE
2023-02-21 10:41:53 +02:00
Emilio Cobos Álvarez
1f4a94702f
Bug 1817381 - Remove DOMWindowUtils.fullZoom. r=jfkthame,layout-reviewers,extension-reviewers,rpl,geckoview-reviewers,m_kato
...
Callers just want the actual full zoom, not the one including the OS
text-scale.
Android doesn't have OS zoom to begin with, so this can't change
behavior, but the desktop caller passes the usual full zoom here[1], so
we're making the behavior match.
[1]: https://searchfox.org/mozilla-central/rev/9de332d5c8faac58dc1232b8a6383ce6cb1400f4/browser/components/extensions/parent/ext-tabs.js#1011
Depends on D170196
Differential Revision: https://phabricator.services.mozilla.com/D170197
2023-02-21 05:37:35 +00:00
Calixte
ad10f879f5
Bug 1817400 - Add pdfjs files in GV for in early betas r=marco,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D170194
2023-02-17 13:12:38 +00:00
Rob Wu
81490d37d5
Bug 1811947 - Add permission warning for declarativeNetRequestFeedback r=rpl,geckoview-reviewers,calu
...
... and make the permission available by default, not gated on the extra
pref, to make sure that the permission warning shows up.
In the future, the DNR API will also use this permission even for
non-debugging APIs (e.g. bug 1745772), as mentioned in the bug.
Differential Revision: https://phabricator.services.mozilla.com/D169213
2023-02-14 12:36:56 +00:00
Gijs Kruitbosch
387cf24ca0
Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
...
Depends on D168396
Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 23:50:41 +00:00
Gijs Kruitbosch
c41ccf9cc7
Bug 1810141 - switch consumers where there isn't an obvious URI object to use to fixupAndLoadURIString, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,owlish
...
This also updates layoutdebug.js, which in some ways pretends to be like a browser window but
is its own special snowflake. I kept the method naming conventions similar to the main
browser window.
Depends on D168394
Differential Revision: https://phabricator.services.mozilla.com/D168395
2023-02-13 23:50:40 +00:00
Gijs Kruitbosch
9e07759558
Bug 1810141 - fix loadURI callers that already have an nsIURI reference or where creating one is clearly safe, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,m_kato
...
There are 3 types of changes in this commit:
- from `loadURI(foo.spec)` to `loadURI(foo)`, as there's already a URI
- from `loadURI("string")` to `loadURI(Services.io.newURI("string"))` as the URL is hardcoded
- one or two where there is perhaps an intermediate variable but the patch
context should still make it trivial to ascertain the change is correct.
Depends on D168393
Differential Revision: https://phabricator.services.mozilla.com/D168394
2023-02-13 23:50:40 +00:00
Cristina Horotan
5f4356e527
Backed out 9 changesets (bug 1810141) for several test failures on a CLOSED TREE
...
Backed out changeset 8781a0d1254d (bug 1810141)
Backed out changeset 131037295784 (bug 1810141)
Backed out changeset 3852fbe290f4 (bug 1810141)
Backed out changeset 118f131a524a (bug 1810141)
Backed out changeset ab5d76846e10 (bug 1810141)
Backed out changeset dce3aa683445 (bug 1810141)
Backed out changeset 4dc41d90dbb3 (bug 1810141)
Backed out changeset 50b57ba1a061 (bug 1810141)
Backed out changeset 569de94781e4 (bug 1810141)
2023-02-13 16:05:30 +02:00
Gijs Kruitbosch
ff1cc20bd7
Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish
...
Depends on D168396
Differential Revision: https://phabricator.services.mozilla.com/D168397
2023-02-13 12:55:26 +00:00
Gijs Kruitbosch
bb42efb76d
Bug 1810141 - switch consumers where there isn't an obvious URI object to use to fixupAndLoadURIString, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,owlish
...
This also updates layoutdebug.js, which in some ways pretends to be like a browser window but
is its own special snowflake. I kept the method naming conventions similar to the main
browser window.
Depends on D168394
Differential Revision: https://phabricator.services.mozilla.com/D168395
2023-02-13 12:55:25 +00:00
Gijs Kruitbosch
6add9ed34d
Bug 1810141 - fix loadURI callers that already have an nsIURI reference or where creating one is clearly safe, r=mossop,geckoview-reviewers,extension-reviewers,settings-reviewers,mconley,m_kato
...
There are 3 types of changes in this commit:
- from `loadURI(foo.spec)` to `loadURI(foo)`, as there's already a URI
- from `loadURI("string")` to `loadURI(Services.io.newURI("string"))` as the URL is hardcoded
- one or two where there is perhaps an intermediate variable but the patch
context should still make it trivial to ascertain the change is correct.
Depends on D168393
Differential Revision: https://phabricator.services.mozilla.com/D168394
2023-02-13 12:55:24 +00:00
Mark Banner
987cc68356
Bug 1816200 - Remove unnecessary .eslintrc.js file for geckoview. r=geckoview-reviewers,m_kato
...
The files within the associated directory are all modules files, and therefore would need debug/warn importing into their scopes,
rather than being available on the global.
Differential Revision: https://phabricator.services.mozilla.com/D169529
2023-02-13 08:12:06 +00:00
Calixte
357a4769c7
Bug 1815872 - Test org.mozilla.geckoview.test.PdfCreationTest#saveAPdfDocument must only run on nightly r=geckoview-reviewers,ohall
...
Differential Revision: https://phabricator.services.mozilla.com/D169323
2023-02-09 14:32:30 +00:00
Calixte
cee860693a
Bug 1815730
- Enable pdf.js by default in GeckoView for nightly and early beta r=marco,geckoview-reviewers,ohall
...
Differential Revision: https://phabricator.services.mozilla.com/D169211
2023-02-08 19:00:32 +00:00
Calixte
5272dbf105
Bug 1815195 - Get the bytes from pdf.js when saving a PDF in GeckoView r=geckoview-reviewers,ohall
...
Differential Revision: https://phabricator.services.mozilla.com/D168972
2023-02-08 11:21:35 +00:00
Csoregi Natalia
13e65ad3f7
Backed out changeset a20d64d6501c (bug 1815195) for geckoview failures on PdfCreationTest. CLOSED TREE
2023-02-08 04:00:32 +02:00
Calixte
6dac2c2b1a
Bug 1815195 - Get the bytes from pdf.js when saving a PDF in GeckoView r=geckoview-reviewers,ohall
...
Differential Revision: https://phabricator.services.mozilla.com/D168972
2023-02-07 21:44:50 +00:00
Roger Yang
1705e2a046
Bug 1815313 - Add test for invalid schemes in onLoadRequest. r=jonalmeida
...
Differential Revision: https://phabricator.services.mozilla.com/D169080
2023-02-07 20:10:55 +00:00
Makoto Kato
0017a4ddb8
Bug 1814805 - Move GeckoViewModule to ESM. r=geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D168762
2023-02-06 06:39:04 +00:00
Marian-Vasile Laza
143a8465ea
Backed out 4 changesets (bug 1809570) for causing *.webm reftest failures. CLOSED TREE
...
Backed out changeset 849d3490fd92 (bug 1809570)
Backed out changeset 394165fce635 (bug 1809570)
Backed out changeset bbccf0693489 (bug 1809570)
Backed out changeset 8b60bf251af0 (bug 1809570)
2023-02-03 21:14:25 +02:00
Calixte
41eb47c48a
Bug 1810761 - Add API to save a pdf file opened in pdf.js r=pdfjs-reviewers,geckoview-reviewers,marco,ohall,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D168413
2023-02-03 10:01:34 +00:00
az
7b199e2b6c
Bug 1809570 - Add utility functions to distinguish between SW/HW codec support on Android r=geckoview-reviewers,owlish
...
Depends on D166238
Differential Revision: https://phabricator.services.mozilla.com/D166239
2023-02-03 06:17:25 +00:00
Makoto Kato
9019c908b2
Bug 1585452 - Check onHistoryStateChange call. r=geckoview-reviewers,ohall
...
When purgeHistory test is failure, we seem to try to load next page before
history delegate is called. So we should wait for onHistoryStateChange is
called.
Differential Revision: https://phabricator.services.mozilla.com/D168528
2023-02-02 02:21:11 +00:00
Neil Deakin
9c2e7458ba
Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato
...
Most usage is a straight replacement but gtk needs extra changes as it transfers plain text in UTF8 natively and needs to be converted into UTF16, and Windows uses single-byte characters for RTF and CF_HTML formats so we preserve this.
Differential Revision: https://phabricator.services.mozilla.com/D158587
2023-02-01 23:30:55 +00:00
John Lin
9170e7ddaa
Bug 1808789 - handle 'key required' event from CDM. r=geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D166472
2023-02-01 22:32:01 +00:00
Hiroyuki Ikezoe
a427410211
Bug 1813879 - Invoke setVerticalClipping(0) on `onShowDynamicToolbar`. r=geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D168343
2023-02-01 21:05:12 +00:00
Sandor Molnar
8a73bab4e7
Backed out changeset ec733bc94063 (bug 1806740) for causing android gv-junit failures. CLOSED TREE
2023-02-01 22:50:48 +02:00
owlishDeveloper
619d2ca635
Bug 1806740 - Add API to expose hasRuleForBrowsingContext r=geckoview-reviewers,amejiamarmol,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D167890
2023-02-01 18:34:06 +00:00
Norisz Fay
8bd3dcfe2c
Backed out changeset 26c3fcaa9203 (bug 1806740) for causing Rules related gv-junit failures CLOSED TREE
2023-02-01 01:27:25 +02:00
owlishDeveloper
0de8f43e58
Bug 1806740 - Add API to expose hasRuleForBrowsingContext r=geckoview-reviewers,amejiamarmol,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D167890
2023-01-31 19:57:09 +00:00
Sylvestre Ledru
f89e562859
Bug 1810263 - Fix broken Link in "GeckoView For Gecko Engineers" r=geckoview-reviewers,calu DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D168251
2023-01-31 08:01:10 +00:00