Commit Graph

331 Commits

Author SHA1 Message Date
Dale Harvey
7ac7aeb879 Bug 1627544 - Update about:protection to use new Region.jsm r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D76948
2020-05-28 16:32:18 +00:00
Erica Wright
929e460619 Bug 1639616 - Turn Monitor cache back on. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D76495
2020-05-25 10:46:19 +00:00
prathiksha
b4dd37fef1 Bug 1624969 - Update monitor card in the protections dashboard. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D75970
2020-05-25 08:26:57 +00:00
Gijs Kruitbosch
6fa5c7eb3e Bug 1635106 - fix spellchecker lifetime handling vs. the context menu, r=nika
This changes both the spellchecker parent code that interfaces with the
InlineSpellCheckerParent actor, and the child code interfacing with the
ContextMenuChild actor, to ensure they get notified when either actor
goes away.

It maintains the "uninit" messages to clear out spellcheck data when the
context menu goes away (while the window / actors remain intact).

It also adds some belts-and-suspenders type checks that allow us to
recover if we ever get in a bad state again, instead of stubbornly
throwing exceptions and breaking the UI for users.

Differential Revision: https://phabricator.services.mozilla.com/D75228
2020-05-22 08:35:57 +00:00
Mike Conley
f9808d0cfe Bug 1639923 - Move new WebRTC UI strings from preview into the locales folder. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D76397
2020-05-21 21:22:23 +00:00
Csoregi Natalia
cf7c236c65 Backed out changeset d75769547bb8 (bug 1635106) for failures on browser_contextmenu_input.js. CLOSED TREE 2020-05-21 01:50:22 +03:00
Gijs Kruitbosch
461e96206a Bug 1635106 - fix spellchecker lifetime handling vs. the context menu, r=nika
This changes both the spellchecker parent code that interfaces with the
InlineSpellCheckerParent actor, and the child code interfacing with the
ContextMenuChild actor, to ensure they get notified when either actor
goes away.

It maintains the "uninit" messages to clear out spellcheck data when the
context menu goes away (while the window / actors remain intact).

It also adds some belts-and-suspenders type checks that allow us to
recover if we ever get in a bad state again, instead of stubbornly
throwing exceptions and breaking the UI for users.

Differential Revision: https://phabricator.services.mozilla.com/D75228
2020-05-20 21:20:10 +00:00
pbz
ab0ae62c5f Bug 1562600 - WebRTCParent: Get document URI from WindowGlobalParent instead of child message. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D76121
2020-05-20 16:25:06 +00:00
Mike Conley
a316bd1675 Bug 1635257 - Add a checkbox to allow users to suppress notifications from the browser when sharing the screen. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74244
2020-05-16 00:58:48 +00:00
Mike Conley
eb81614100 Bug 1637336 - Add a preference that uses an alternative WebRTC screen sharing permission panel configuration. r=johannh,fluent-reviewers,Pike
This is the same preference that will power the notification suppression
option in bug 1635257, hence the preference name.

Differential Revision: https://phabricator.services.mozilla.com/D74941
2020-05-16 00:57:54 +00:00
Noemi Erli
573977550b Backed out 4 changesets (bug 1635257, bug 1637336) fr causing failures in browser_all_files_referenced.js CLOSED TREE
Backed out changeset 732ef8965a6e (bug 1635257)
Backed out changeset e3b350425e08 (bug 1635257)
Backed out changeset 2052da1ed54c (bug 1635257)
Backed out changeset 01ea90534f02 (bug 1637336)
2020-05-16 03:21:32 +03:00
Neil Deakin
b0b8bbe697 Bug 1614748, convert about:newinstall to JSWindowActor-based remote page manager, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D71024
2020-05-15 19:41:56 +00:00
Mike Conley
716c233a84 Bug 1635257 - Add a checkbox to allow users to suppress notifications from the browser when sharing the screen. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74244
2020-05-15 18:02:17 +00:00
Mike Conley
3c1475b99e Bug 1637336 - Add a preference that uses an alternative WebRTC screen sharing permission panel configuration. r=johannh,fluent-reviewers,Pike
This is the same preference that will power the notification suppression
option in bug 1635257, hence the preference name.

Differential Revision: https://phabricator.services.mozilla.com/D74941
2020-05-15 16:02:59 +00:00
pbz
225f10d76a Bug 1631362 - Bind prompts to JSWindowActor lifetime instead of closing them on pagehide. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73882
2020-05-14 12:21:49 +00:00
Neil Deakin
b8f7ac9956 Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-13 19:22:20 +00:00
Gijs Kruitbosch
e83010ea13 Bug 1196151 - use browsing contexts for urifixupinfo's consumer property, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D74559
2020-05-13 14:54:47 +00:00
Mike Conley
66a6e86753 Bug 1634703 - Send the list of shared nsIMediaDevice devices up to the parent from WebRTCChild.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D73480
2020-05-12 14:49:59 +00:00
Mike Conley
e08905a04a Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-12 14:49:46 +00:00
Harry Twyford
10d99a6ca5 Bug 1626897 - Part 3 - Add support for tail suggestions to SearchSuggestionController's consumers. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D74119
2020-05-12 17:01:14 +00:00
Bogdan Tara
be25a1cf76 Backed out changeset 3a50d857d097 (bug 1591469) for newtab failures complaining about AboutReaderParent CLOSED TREE 2020-05-12 06:13:10 +03:00
Neil Deakin
f9054b8cff Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-12 01:06:51 +00:00
Bogdan Tara
8c5c4f1dd7 Backed out 7 changesets (bug 1634703) for testDeviceRecordingEventAudioAndVideo failures CLOSED TREE
Backed out changeset b982f5d74610 (bug 1634703)
Backed out changeset 59229853930e (bug 1634703)
Backed out changeset e017380f5539 (bug 1634703)
Backed out changeset 47a3a96b969b (bug 1634703)
Backed out changeset b4af76cfbdaf (bug 1634703)
Backed out changeset 7ef57434b09d (bug 1634703)
Backed out changeset 9df87d346b0f (bug 1634703)
2020-05-11 23:04:54 +03:00
Mike Conley
3c136db2d3 Bug 1634703 - Send the list of shared nsIMediaDevice devices up to the parent from WebRTCChild.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D73480
2020-05-08 22:30:56 +00:00
Mike Conley
f77df842d7 Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-11 17:34:10 +00:00
prathiksha
a4ed2b48f2 Bug 1627337 - Update lockwise card display and copy. r=ewright,fluent-reviewers,flod
Depends on D72693

Differential Revision: https://phabricator.services.mozilla.com/D72694
2020-05-07 09:23:41 +00:00
prathiksha
9ed228ef9c Bug 1627337 - Remove the connected devices label from the lockwise card. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D72693
2020-05-07 09:15:17 +00:00
Emilio Cobos Álvarez
761e9dfe4c Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.

Anyhow, always require an element, and add two convenience constructors
for C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 18:50:20 +00:00
Cosmin Sabou
71a40eae48 Backed out 2 changesets (bug 1635094) for build bustages on nsMacShellService.cpp. CLOSED TREE
Backed out changeset 0a2b0c6ea19a (bug 1635094)
Backed out changeset ead4f26f76ee (bug 1635094)
2020-05-04 20:04:06 +03:00
Emilio Cobos Álvarez
6dde680742 Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.

Anyhow, always require an element, and add two convenience constructors
for C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 16:26:51 +00:00
jayati
20a03ae802 Bug 1633770 - Remove unnecessary loop in ContentSearchUIController._updateDefaultEngineIcon.r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D73091
2020-05-04 10:49:15 +00:00
Emilio Cobos Álvarez
164acdc0b9 Bug 1634218 - Remove the zoom actors. r=nika
After the recent simplifications to the zoom code, they only take care
of forwarding the enlarge / decrease zoom messages.

We can do that via PBrowser instead, and get rid of the actors. We can
also remove ZoomChangeUsingMouseWheel. Zooming with the mouse wheel will
end up in a *ZoomChange event anyways, and the only consumer already
listened for them.

Differential Revision: https://phabricator.services.mozilla.com/D73175
2020-04-30 16:35:35 +00:00
Neil Deakin
6b57ac9c48 Bug 1614749, convert about:tabcrashed to JSWindowActor-based remote page manager, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D71026
2020-04-30 00:50:10 +00:00
Neil Deakin
f22197fbf1 Bug 1614747, convert about:plugins to JSWindowActor-based remote page manager, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D71025
2020-04-30 00:14:56 +00:00
Neil Deakin
653fff4e36 Bug 1614744, convert about:privatebrowsing to JSWindowActor-based remote page manager, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D71023
2020-04-29 23:19:15 +00:00
Neil Deakin
e87cb94596 Bug 1614743, convert about:protections to the new JSWindowActor-based remote page manager and remove now unused functions from the old RPM, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D71022
2020-04-29 23:12:34 +00:00
alexuwa
9b7a256fa0 Bug 1631750 - Detect + reset modified security.tls13 prefs from the no_cypher_overlap certerror page. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D72140
2020-04-28 13:46:07 +00:00
Andreas Farre
6adf2b375d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-27 05:41:40 +00:00
Johann Hofmann
4540e975f8 Bug 1629826 - Re-enable event telemetry probes for certificate error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D72514
2020-04-25 18:12:32 +00:00
Dorel Luca
c2d429f9a0 Backed out 2 changesets (bug 1576188) for Build bustage in docshell/base/BrowsingContext.cpp. CLOSED TREE
Backed out changeset 7e5e86986811 (bug 1576188)
Backed out changeset b731cbad59a8 (bug 1576188)
2020-04-24 23:02:11 +03:00
Andreas Farre
55a186014d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-24 15:47:26 +00:00
Arthur Iakab
c278cf13d3 Backed out 2 changesets (bug 1576188) for causing browser-chrome failures on browser_persist_cross_origin_iframe.js
CLOSED TREE

Backed out changeset d2c102f8d898 (bug 1576188)
Backed out changeset 9ddd9a63d178 (bug 1576188)
2020-04-23 19:38:58 +03:00
Andreas Farre
6a4f39685d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-23 13:56:26 +00:00
Mike Conley
ebf7dd1da8 Bug 1631611 - Use a JSWindowActorChild to load about:newtab scripts from the ScriptPreloader rather than an observer. r=pdahiya
This shifts the responsibility for ensuring that an about:home, about:welcome
or about:newtab page is where we inject the scripts to the JSWindowActor system,
rather than using the observer service on document creation and checking the
URL.

Differential Revision: https://phabricator.services.mozilla.com/D71773
2020-04-22 21:33:12 +00:00
pbz
c74197d218 Bug 1271842 - nsIPromptService: Added async prompt methods. r=johannh
Added an async method for every nsIPromptService prompt method.
These async methods return a Promise which resolves with an nsIPropertyBag
when the prompt is closed.

Differential Revision: https://phabricator.services.mozilla.com/D67505
2020-04-22 10:27:29 +00:00
Cosmin Sabou
2dfd2276b9 Backed out 3 changesets (bug 1622836, bug 1271842) for mochitest failures on test_prompt.html. CLOSED TREE
Backed out changeset cdedf7ddec47 (bug 1622836)
Backed out changeset 7262ae6d42ec (bug 1271842)
Backed out changeset 091a64a38136 (bug 1271842)
2020-04-21 22:06:48 +03:00
pbz
44f02bbfec Bug 1271842 - nsIPromptService: Added async prompt methods. r=johannh
Added an async method for every nsIPromptService prompt method.
These async methods return a Promise which resolves with an nsIPropertyBag
when the prompt is closed.

Differential Revision: https://phabricator.services.mozilla.com/D67505
2020-04-21 16:52:58 +00:00
Johann Hofmann
4589a65ac7 Bug 1627035 - Don't reprompt when an allow="*" iframe is actively sharing webrtc. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D71727
2020-04-21 16:01:07 +00:00
pbz
3075dbd453 Bug 1615588 - Extended nsIPromptService to support tab modal prompts. r=johannh,MattN,necko-reviewers,dragana
This patch introduces a new tab modal system prompt type. It can be opened via the nsIPromptService
with a destination BrowsingContext. These tab system prompts overlap slightly with the upper
chrome UI to differentiate them from content prompts (previously called tab prompts).

- Extended nsIPromptService and nsIPrompt to accept 3 types of modal prompts:
  - Window prompts
  - Tab (system) prompts
  - Content prompts (the old tab prompts)
- Removed prompt code from Prompter.jsm, always call PromptParent window actor instead
- Added PromptChild window actor to forward pagehide events to parent actor
- Created additional prompt methods in nsIPromptService to prompt by browsingContext and modalType
- Backwards compatibility is maintained, consumers can still open content prompts calling nsIPrompt with a content window

Differential Revision: https://phabricator.services.mozilla.com/D66446
2020-04-16 14:43:50 +00:00
Emilio Cobos Álvarez
782b4f85cf Bug 1625786 - Make context menu for images properly check for revoked blob URIs. r=Gijs
This fixes the user-facing issue. This skips the "open in window" and "open in
tab" tests because they're broken due to bug 1626573.

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

--HG--
rename : browser/base/content/test/contextMenu/browser_canvas_view_image.js => browser/base/content/test/contextMenu/browser_view_image.js
extra : moz-landing-system : lando
2020-04-15 14:46:58 +00:00