Commit Graph

4721 Commits

Author SHA1 Message Date
Mark Banner
e2895c8f4b Bug 1535049 - If the homepage is referenced in the ignore list, reset it soon after startup or when the ignore list is updated. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D40392
2019-08-05 21:52:43 +00:00
Kris Maglione
1bb60064a6 Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.

This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.

For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.

Differential Revision: https://phabricator.services.mozilla.com/D35688
2019-08-02 20:48:33 +00:00
Zibi Braniecki
400445daef Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379
2019-08-02 16:07:44 +00:00
Vijay Budhram
f86d68dcc0 Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961
2019-08-02 13:55:19 +00:00
Andreea Pavel
921dcaad5c Backed out changeset 7a06c08bf267 (bug 1501886) for bc failures e.g. browser_window_menu_list.js on a CLOSED TREE 2019-08-02 05:44:47 +03:00
Zibi Braniecki
b831bb432e Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379
2019-08-01 14:21:13 +00:00
Andrei Oprea
edf51000c7 Bug 1561547 - Use Messaging System to badge the FxA accounts toolbar button r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D37879
2019-07-31 19:39:34 +00:00
Paul Zuehlcke
064380bb16 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428
2019-07-30 08:28:31 +00:00
Mihai Alexandru Michis
28d4f1fdf5 Backed out changeset f2b7c868c0a7 (bug 1562006) for browser chrome failures. CLOSED TREE 2019-07-29 23:37:58 +03:00
Vijay Budhram
45e4a9670f Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961
2019-07-29 16:21:22 +00:00
Thomas Nguyen
746a37ab9e Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38381
2019-07-29 10:13:45 +00:00
Csoregi Natalia
16534798cd Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Paul Zuehlcke
2ba3aac2e1 Bug 630614 - Show an indicator when geolocation is in use. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35428
2019-07-29 08:37:55 +00:00
Daisuke Akatsuka
318f8ea92b Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826
2019-07-29 06:23:09 +00:00
Bogdan Tara
7c2c63917b Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
Daisuke Akatsuka
b998edb47c Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826
2019-07-23 17:20:49 +00:00
Marco Bonardo
85617a0e16 Bug 1559136 - Add urlbar event telemetry behind a pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38521
2019-07-25 12:39:02 +00:00
Bogdan Tara
e94d144d04 Backed out changeset 3ecae0d7af5e (bug 1561547) for browser_startup_flicker.js failures CLOSED TREE 2019-07-24 19:22:24 +03:00
Andrei Oprea
9511e39bca Bug 1561547 - Use Messaging System to badge the FxA accounts toolbar button r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D37879
2019-07-22 17:38:20 +00:00
Boris Zbarsky
a9d129a123 Bug 1568278 followup: fix incorrect 'let' usage on CLOSED TREE. r=bzbarsky 2019-07-23 22:00:12 -04:00
Boris Zbarsky
5c7393e484 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065
2019-07-24 01:26:07 +00:00
Gijs Kruitbosch
d2756288b0 Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley
At a high level, this change does the following:
- move the pluginchild actor to be a JSWindowActorChild
- move the parent handling from browser-plugins into a JSWindowActorParent
- move the crash handling from ContentCrashHandlers.jsm to the parent actor,
  using a `PluginManager` object. It needs to talk to the actors (and vice
  versa), so this seemed a better fit than spreading actor implementation
  details to other JSMs.
- switch to using plugin IDs to identify plugins cross-process, instead of
  combinations of names or other properties of the plugin tag. As part of that,
  ensured plugin IDs are unique between "fake" plugins and the other ones.
- drop support for having a notification for more than 1 plugin. We only support
  Flash, in practice, so there didn't seem to be much point in the added
  complexity of trying to support more than 1 thing.

Some notes:
- the previous implementation mixes runIDs (for NPAPI plugin process "runs")
  and GMP pluginIDs when doing crashreporting. AFAICT there is no guarantee
  these don't conflict, so I've split them out to avoid issues. There's a
  pluginCrashID object I pass around instead that has either a runID or
  pluginID. Happy to rename some more for clarity.
- the previous implementation used `pluginInfo` and `plugin` for a bunch of
  different types of variables. I've tried to be consistent, where:
  * `pluginElement` is a DOM element for a plugin
  * `activationInfo` is a JS object used to track click to play state for a plugin
  * `plugin` is a plugintag as returned by the pluginhost service
  * `pluginCrashID` is an identifier for a crashed plugin (see previous point).
- I'm still using broadcastAsyncMessage to tell the content processes about
  gmp plugin crashes and plugin crash submission updates, because there's no
  guarantee the actors are instantiated (for gmp plugins) nor can the parent
  easily find out which actors to talk to (for either gmp or npapi plugins).
  Open to suggestions there, too. I think our best bet might be moving that to
  IPDL-based IPC within the GMP code, but that feels like a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D37665
2019-07-23 22:04:40 +00:00
Cosmin Sabou
14f55a2259 Backed out 2 changesets (bug 1407945) for devtools failures on browser_tooltip.js.
Backed out changeset 1160c6868061 (bug 1407945)
Backed out changeset 359eec53f12e (bug 1407945)
2019-07-23 19:39:41 +03:00
Daisuke Akatsuka
6c99d20f07 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826
2019-07-23 13:59:23 +00:00
Andreea Pavel
9ace47a0b2 Backed out changeset 9955fec84808 (bug 1561547) for failing bc at browser_sync.js on a CLOSED TREE 2019-07-20 13:06:16 +03:00
Andrei Oprea
013b017354 Bug 1561547 - Use Messaging System to badge the FxA accounts toolbar button r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D37879
2019-07-19 12:21:33 +00:00
Sean Feng
412ab8d85f Bug 1551965 - Add telemetry for page reload key combinations r=bdekoz,Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D35035
2019-07-17 14:04:31 +00:00
Dão Gottwald
cf4000f05a Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191
2019-07-17 11:34:21 +00:00
Mihai Alexandru Michis
8d601f5b94 Backed out changeset 3504c0b3f87c (bug 1513337) for marionette failures CLOSED TREE 2019-07-17 14:02:05 +03:00
Dão Gottwald
11574d830f Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191
2019-07-17 09:20:41 +00:00
Coroiu Cristina
f87caf59d7 Backed out changeset cf34b2e8ac53 (bug 1513337) for test client failure 2019-07-17 12:12:21 +03:00
Dão Gottwald
2619fb0af0 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191
2019-07-17 07:38:18 +00:00
Thomas Nguyen
ee02fbe71a Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939
2019-07-16 17:59:28 +00:00
Gijs Kruitbosch
f7fdac6e66 Bug 1550637 - hide tooltip when the docshell navigate, don't show tooltips if the docshell is no longer active, r=nika,dao
Differential Revision: https://phabricator.services.mozilla.com/D35503
2019-07-16 07:48:23 +00:00
Brindusan Cristian
61323ba999 Backed out changeset a7c14ebfcd4d (bug 1513337) for telemetry failures at test_event_ping.py. CLOSED TREE 2019-07-16 17:22:21 +03:00
Dão Gottwald
208f0e5495 Bug 1513337 - Inline urlbar markup into browser.xhtml. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23191
2019-07-16 10:26:04 +00:00
Carolina
a630c4adb0 Bug 1560538 - Opens a new tab to show the certificate. r=johannh,keeler
Not sure what to do in pippki.js, for the moment I put an incorrect id.

Differential Revision: https://phabricator.services.mozilla.com/D35531
2019-07-15 12:32:43 +00:00
Alphan Chen
6ab4c23076 Bug 1563171 - Move the sessionStore related functions from nsIXULBrowserWindow.idl r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D37424
2019-07-15 10:29:06 +00:00
Johann Hofmann
15324e6021 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Differential Revision: https://phabricator.services.mozilla.com/D37556
2019-07-12 21:36:58 +00:00
Dorel Luca
8de55ca96d Backed out 3 changesets (bug 1562575) for Mochitest failures in browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js. CLOSED TREE
Backed out changeset fce18a9477b0 (bug 1562575)
Backed out changeset c9b01b908020 (bug 1562575)
Backed out changeset de006229ba8f (bug 1562575)
2019-07-12 18:42:19 +03:00
Dão Gottwald
7200eeb4a1 Bug 1565524 - Stop setting unused autocompletesearchparam attribute. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D37847
2019-07-12 11:53:39 +00:00
Johann Hofmann
b8c3d65a54 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Differential Revision: https://phabricator.services.mozilla.com/D37556
2019-07-12 10:27:24 +00:00
Alphan Chen
df92831651 bug 1562889 - Convert content-sessionStore to C++: add browser epochs support r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D36606
2019-07-11 09:46:14 +00:00
Dão Gottwald
2796866c06 Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540
2019-07-11 07:48:42 +00:00
Andreea Pavel
9272babf98 Backed out changeset c602dc47afce (bug 1564830) ES lint failure on a CLOSED TREE 2019-07-10 19:11:54 +03:00
Dão Gottwald
a67a02f13e Bug 1564830 - Remove userInitiatedFocus flag. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D37540
2019-07-10 15:40:50 +00:00
harry
320048f240 Bug 1551232 - Removes legacy-urlbar binding and simplifies gURLBarHandler. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36231
2019-07-09 21:29:53 +00:00
Brindusan Cristian
06a138bbc0 Backed out changeset 07d42b08b863 (bug 1551232) for bc failures at browser_action_searchengine.js. 2019-07-09 06:06:45 +03:00
harry
0ca052cbf0 Bug 1551232 - Removes legacy-urlbar binding, simplifies gURLBarHandler, and removes ini file with legacy-urlbar tests. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36231
2019-07-08 18:46:47 +00:00
Jonathan Kingston
32524b62e2 Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00