Граф коммитов

3157 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin f2fcce14e4 Bug 1553384, update letterboxing to be fission compatible now that findbar isn't using the message manager. Add a findbar open/close test for letterboxing, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45757

--HG--
extra : moz-landing-system : lando
2019-09-18 09:33:52 +00:00
Neil Deakin b6a3fc1ce5 Bug 1553384, remove old find/findAgain methods in typeaheadfind in favour of a single find method, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41232

--HG--
extra : moz-landing-system : lando
2019-09-18 09:31:43 +00:00
Neil Deakin 4ca768c7f6 Bug 1553384, update find extension api to support out-of-process iframes. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D41229

--HG--
extra : moz-landing-system : lando
2019-09-17 23:31:34 +00:00
Neil Deakin 1ab71ae6f9 Bug 1553384, update findbar actors to inherit from JSWindowActor so that type ahead find works in out of process iframes, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41226

--HG--
extra : moz-landing-system : lando
2019-09-17 23:29:46 +00:00
Neil Deakin 9a9e65a7e5 Bug 1553384, find should iterate over each frame within a document in the parent process to allow out-of-process frames to be searched through, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41224

--HG--
extra : moz-landing-system : lando
2019-09-17 23:28:41 +00:00
Neil Deakin b802d67b49 Bug 1553384, when subframe iteration is not used, don't navigate up to the top window in the find highligher. However, as fission doesn't handle getting frame coordinates yet, allow some callers to get the top window anyway if available so that... r=mikedeboer
...coordinates are correct when fission is disabled, r?mikedeboer

Depends on D41221

Differential Revision: https://phabricator.services.mozilla.com/D41222

--HG--
extra : moz-landing-system : lando
2019-09-17 23:27:53 +00:00
Neil Deakin 41e758a65d Bug 1553384, when not searching subframes, used for out-of-process subframes, disable modal highlighting, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41220

--HG--
extra : moz-landing-system : lando
2019-09-17 23:26:03 +00:00
Neil Deakin 67ae7b2420 Bug 1553384, add a search subframes flag to the finder to opt in or out of subframe searching, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41218

--HG--
extra : moz-landing-system : lando
2019-09-18 09:31:21 +00:00
Mark Banner 9569721e58 Bug 1579420 - Fix remaining ESLint no-async-promise-executor issues in browser/ and toolkit/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D45010

--HG--
extra : moz-landing-system : lando
2019-09-16 17:26:58 +00:00
Brian Hackett 0a791285af Bug 1575306 - Suppress reporting of uncaught testing sentinel, r=bzbarsky.
Differential Revision: https://phabricator.services.mozilla.com/D45964

--HG--
extra : moz-landing-system : lando
2019-09-16 20:17:17 +00:00
Brindusan Cristian 073cc24f53 Backed out changeset 8f30450e231c (bug 1575306) for ESlint failure at PromiseTestUtils.jsm:99:31. CLOSED TREE 2019-09-16 22:30:52 +03:00
Brian Hackett 7a20c67cf9 Bug 1575306 - Suppress reporting of uncaught testing sentinel, r=bzbarsky.
Differential Revision: https://phabricator.services.mozilla.com/D45964

--HG--
extra : moz-landing-system : lando
2019-09-16 19:04:20 +00:00
Johann Hofmann ff1911cf74 Bug 1580319 - Clear PopupNotifications UI state when no checkbox is present. r=prathiksha
In getUserMedia we didn't use to have prompts without a checkbox, thus this bug couldn't manifest.
Now we do hide the checkbox for iframes, so this code path is triggered and doesn't properly
reset the UI state between prompts.

Differential Revision: https://phabricator.services.mozilla.com/D45911

--HG--
extra : moz-landing-system : lando
2019-09-16 09:44:07 +00:00
monikamaheshwari 9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Kristen Wright 2a7dbd7709 bug 1296898 - Memory api (pulled from erahm's experiment) as a part of the webextension api r=mixedpuppy
Webextension api to get memory usage. Also brings back memory.jsm, as it is used by the api. Adds test_ext_memory.js to test ext-memory.js' functionality and permissions.

Differential Revision: https://phabricator.services.mozilla.com/D38536

--HG--
extra : moz-landing-system : lando
2019-09-11 17:34:04 +00:00
Andrew McCreight a777ff11b6 Bug 1579897 - Make webIsolated= processes work in about:support. r=mconley,fluent-reviewers,flod
Remove the URLs so they can have a translated string in about:support.

Differential Revision: https://phabricator.services.mozilla.com/D45373

--HG--
extra : moz-landing-system : lando
2019-09-11 06:50:45 +00:00
Mike Conley 3d0ca8182e Bug 1566183 - Add a keyboard shortcut to enter Picture-in-Picture for first video of focused window. r=NeilDeakin,JSON_voorhees,flod
Differential Revision: https://phabricator.services.mozilla.com/D40082

--HG--
extra : moz-landing-system : lando
2019-09-05 17:40:02 +00:00
Razvan Maries 1ad3f5b235 Backed out changeset bb08767934a8 (bug 1566183) for causing perma fails on browser_duplicateIDs.js. CLOSED TREE 2019-09-05 20:30:40 +03:00
Mike Conley 61209ad7a6 Bug 1566183 - Add a keyboard shortcut to enter Picture-in-Picture for first video of focused window. r=NeilDeakin,JSON_voorhees,flod
Differential Revision: https://phabricator.services.mozilla.com/D40082

--HG--
extra : moz-landing-system : lando
2019-09-05 14:09:25 +00:00
Liang-Heng Chen 21ac75bbc5 Bug 1578769 - handle the "else" part of attributes; r=MattN
A `popupnotification` could be reused, we should remove/reset optional attributes to avoid unexpected behavior.

Differential Revision: https://phabricator.services.mozilla.com/D44686

--HG--
extra : moz-landing-system : lando
2019-09-05 08:42:29 +00:00
Mike Conley db96277530 Bug 1548296 - Attach Picture-in-Picture toggle on UAWidgetSetupOrChange event rather than canplay. r=JSON_voorhees
Videos can fire their "canplay" events even when they're not part of the DOM. This
means that videos that have already fired that event won't get the
PictureInPictureToggleChild properly attached after being inserted.

The UAWidgetSetupOrChange event, however, is fired for video events once they've
been bound to the DOM, so we can use that instead.

Differential Revision: https://phabricator.services.mozilla.com/D44541

--HG--
extra : moz-landing-system : lando
2019-09-04 21:06:26 +00:00
Brad Werth 53e3d54cec Bug 1548188 Part 2: Make test of find in vertical text also search for partial matches. r=mikedeboer
Depends on D44701

Differential Revision: https://phabricator.services.mozilla.com/D44702

--HG--
extra : moz-landing-system : lando
2019-09-04 19:51:01 +00:00
Robert Helmer 230a430565 Bug 1576507 - document FirstStartup module r=mythmon
Depends on D43366

Differential Revision: https://phabricator.services.mozilla.com/D44035

--HG--
extra : moz-landing-system : lando
2019-08-31 16:15:17 +00:00
Robert Helmer 60e539c00a Bug 1576507 - add Normandy to FirstStartup service. r=mythmon
Depends on D43570

Differential Revision: https://phabricator.services.mozilla.com/D43366

--HG--
extra : moz-landing-system : lando
2019-08-31 16:15:05 +00:00
Robert Helmer 4a60c06c56 Bug 1576507 - add new FirstStartup service and --first-startup post-install flag. r=mconley
FirstStartup provides an optional mechanism to run synchronous services
before the UI appears. This is intended to be called as a post-install
action from an installer, such as the Windows Stub Installer, to allow
for downloading critical data and performance tuning before the first
run of a new Firefox install.

Differential Revision: https://phabricator.services.mozilla.com/D43364

--HG--
extra : moz-landing-system : lando
2019-08-31 16:14:20 +00:00
Emma Malysz 4e26c4ce54 Bug 1576677, removes message property from all ACTORS in BrowserGlue.jsm and ActorManagerParent.jsm r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D43484

--HG--
extra : moz-landing-system : lando
2019-08-29 15:57:03 +00:00
Barret Rennie c48dcf7d7c Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091

--HG--
extra : moz-landing-system : lando
2019-08-28 18:55:45 +00:00
Dorel Luca b09fe526aa Backed out 4 changesets (bug 1510569) for build bustage. CLOSED TREE
Backed out changeset d7db6a1935ce (bug 1510569)
Backed out changeset 03b7cf756a7f (bug 1510569)
Backed out changeset fa318eec0e76 (bug 1510569)
Backed out changeset cecb17bd8c03 (bug 1510569)
2019-08-28 21:46:40 +03:00
Barret Rennie e0d50ea7ce Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:23 +00:00
Emilio Cobos Álvarez e57b14dc52 Bug 1576817 - Fix a regression from bug 1490974 where we'll fail to find visibility: visible descendants of visibility: hidden nodes. r=bradwerth
The split between IsDisplayedNode and IsVisibleNode is pretty intentional, since
visibility: visible descendants of visiblity: hidden ancestors are in fact
visible.

We skip fully-invisible ranges in here instead:

https://searchfox.org/mozilla-central/rev/325c1a707819602feff736f129cb36055ba6d94f/toolkit/components/find/nsFind.cpp#776

Differential Revision: https://phabricator.services.mozilla.com/D43745

--HG--
extra : moz-landing-system : lando
2019-08-28 15:15:23 +00:00
Emilio Cobos Álvarez ed9f59952f Bug 1576817 - Only allow finding editable anonymous nodes in form controls. r=bradwerth
We want to find the text inside the input that the user types, but not stuff
like the placeholder. So check that the anonymous subtree is editable, or skip
it otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D43744

--HG--
extra : moz-landing-system : lando
2019-08-28 15:35:48 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Oana Pop Rus 3223cd3dc2 Backed out 4 changesets (bug 1510569) for causing build bustage on a CLOSED TREE
Backed out changeset eae555c11f25 (bug 1510569)
Backed out changeset 2fb8938d16db (bug 1510569)
Backed out changeset b480af862022 (bug 1510569)
Backed out changeset 642cd6323cdc (bug 1510569)
2019-08-21 22:55:43 +03:00
Barret Rennie 52899c1e0d Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

Differential Revision: https://phabricator.services.mozilla.com/D35091

--HG--
extra : moz-landing-system : lando
2019-08-21 18:25:04 +00:00
Mark Banner 638d025a66 Bug 1575197 - Replace removed break statement when notifications are activated to avoid updating unnecessarily. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D42632

--HG--
extra : moz-landing-system : lando
2019-08-20 19:04:57 +00:00
Abdoulaye O. Ly 5ce82c5c12 Bug 1562990 - [Fission] Make AudioPlayback work with JSWindowActor. r=NeilDeakin,farre
Differential Revision: https://phabricator.services.mozilla.com/D36648

--HG--
extra : moz-landing-system : lando
2019-08-19 21:17:21 +00:00
Andrew McCreight b67d050045 Bug 1574543 - Add and use a Fission-compatible utility method to check if a remote type is for web content. r=mconley
Some tests check that the remote type is "web", but with Fission it
will instead start with "webIsolated=".

I fixed some of the errors in
browser_new_web_tab_in_file_process_pref.js and
browser_httpResponseProcessSelection.js, but there are other failures,
so they remain disabled.

Differential Revision: https://phabricator.services.mozilla.com/D42354

--HG--
extra : moz-landing-system : lando
2019-08-19 16:56:36 +00:00
Ciure Andrei 9a123fb597 Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE 2019-08-19 13:00:44 +03:00
Moritz Birghan 240771fa29 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-08-19 07:17:12 +00:00
Luca Greco e97147a160 Bug 1573828 - Ensure IndexedDB.jsm transaction.promiseComplete is rejected with an error object. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D42037

--HG--
extra : moz-landing-system : lando
2019-08-16 10:46:41 +00:00
Matt Woodrow 1c8509c472 Bug 1570147 - Use a Set for HiddenFrame.jsm, so that GC can't clean up frames that we're sitll waiting on. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D42253

--HG--
extra : moz-landing-system : lando
2019-08-16 03:23:28 +00:00
Ehsan Akhgari 3882adee6e Bug 1572925 - Make sure that about:support doesn't list the URL decorations pref as an important locked preference; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D42019

--HG--
extra : moz-landing-system : lando
2019-08-15 12:51:59 +00:00
Paul Zuehlcke 89fb47a8d9 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-15 14:32:48 +00:00
Ciure Andrei b454daea7a Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Paul Zuehlcke 93bacc1004 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:23 +00:00
Mike Conley d64c589ac1 Bug 1568320 - Add a context menu to the Picture-in-Picture toggle to allow for easy hiding. r=NeilDeakin,JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D40305

--HG--
extra : moz-landing-system : lando
2019-08-13 18:29:29 +00:00
Jared Wein 119b3dc08a Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 16:18:24 +00:00
Bogdan Tara 844afcfb06 Backed out 10 changesets (bug 1571567) complementary backout after es lint failure on the patch CLOSED TREE
Backed out changeset ce83fa75ae32 (bug 1571567)
Backed out changeset 7aa97ba7cce9 (bug 1571567)
Backed out changeset 777d79076e99 (bug 1571567)
Backed out changeset fbdf6b75a484 (bug 1571567)
Backed out changeset e2ed4620f232 (bug 1571567)
Backed out changeset 2c67015f12c6 (bug 1571567)
Backed out changeset 7ec086bb5bd5 (bug 1571567)
Backed out changeset 42df735c8556 (bug 1571567)
Backed out changeset 7d5fc57b2809 (bug 1571567)
Backed out changeset 606bafb8211c (bug 1571567)
2019-08-08 18:13:54 +03:00
Jared Wein 30f7f34419 Bug 1571567 - Fix no-fallthrough errors in /toolkit. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40746

--HG--
extra : moz-landing-system : lando
2019-08-08 01:38:50 +00:00
Andrew Swan 036b82a357 Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

Differential Revision: https://phabricator.services.mozilla.com/D40148

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 21:33:49 +00:00