Commit Graph

4287 Commits

Author SHA1 Message Date
Dão Gottwald
400d2b9e09 Bug 1487344 - Add common class for main browser window toolbars and replace #navigator-toolbox > toolbar selectors. r=mconley 2018-08-30 12:13:58 +02:00
Narcis Beleuzu
8e3a14e085 Backed out changeset 4e195f7b2d6b (bug 1486824) for clipboard failures on OSX browser_editcontrols_update. a=backout 2018-08-30 15:59:59 +03:00
Gijs Kruitbosch
5f78da87ec Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D4466
2018-08-29 17:58:25 +00:00
Dave Townsend
89425dab91 Bug 1473514: Display an empty space for the tab icon while waiting for the real favicon to appear. r=dao
This adds a simple empty box that is displayed when we're still loading an icon
but are no longer showing the throbber. Ideally I'd like to keep showing the
throbber and maintain the busy state but that seems more risky for now.

Differential Revision: https://phabricator.services.mozilla.com/D2364
2018-08-29 18:27:36 +00:00
ahillier
9eb7e69de8 Bug 1471391 - Create initial CFR doorhanger r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D4266
2018-08-27 15:53:18 +00:00
Arshad Kazmi
3a417acdaa Bug 1483073 - Remove BrowserOpenSyncTab() helper function r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4281
2018-08-26 22:14:17 +00:00
Brian Grinstead
f41104bc5e Bug 1482448 - Part 1 - Move window listeners for browser.xul into one place;r=Gijs
This is an extension of the work in Bug 1473160 to make clear in what environments
various gBrowserInit functions are run. Since we currently use these in an `if` block
in browser.js for "navigator:browser" window types, and browser.xul is the only
navigator:browser window that loads browser.js, this moves the event listeners directly
into browser.xul so it's extra clear that they don't run in non-browser top level windows on OSX.

Also move a few on-event handlers from the <window> tag into this block so they
all happen in one place.

Differential Revision: https://phabricator.services.mozilla.com/D4137
2018-08-24 19:43:39 +00:00
Gijs Kruitbosch
8767d7f8de Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8 on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D4095
2018-08-24 16:20:36 +00:00
Andreea Pavel
01e2b59a47 Backed out changeset f83d8d85c94f (bug 1485577) for failing bc at browser/base/content/test/performance/browser_tabopen.js on a CLOSED TREE 2018-08-24 21:44:38 +03:00
Gijs Kruitbosch
98f7f45f5e Bug 1485577 - Pass triggeringPrincipal into openDialog for window opening code. r=jkt,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D4095
2018-08-24 16:20:36 +00:00
Kris Maglione
f6a4413b4c Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729
2018-08-18 19:27:33 -07:00
Paolo Amadini
8445cdc144 Bug 1482648 - Part 4 - Clean up remaining references to broadcasters in front-end code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3151
2018-08-11 17:25:58 +01:00
Paolo Amadini
993b3608ee Bug 1482648 - Part 3 - Remove remaining broadcasters from front-end code. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3150
2018-08-21 14:55:04 +01:00
Paolo Amadini
e56ec246f8 Bug 1482648 - Part 1 - Convert the offline broadcaster to a command. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3148
2018-08-06 15:38:04 +01:00
Gijs Kruitbosch
3822f01110 Bug 1418793 - stop trying to get per-tab previews to work prior to session restore, r=florian
Initialize WindowsPreviewPerTab later, and make its favicon update code more efficient.

Differential Revision: https://phabricator.services.mozilla.com/D2679
2018-08-14 13:40:11 +00:00
Dale Harvey
28d0442384 Bug 1477294 - Hide identity popup when the user reloads. r=johannh
MozReview-Commit-ID: 26f1lSVKiVA
2018-08-18 11:21:30 +01:00
trisha
dbb8712988 Bug 1474820 - Add the 'Accept the Risk and Add Exception' Button to the new certificate error pages r=johannh 2018-08-07 16:27:01 +05:30
Cosmin Sabou
4ad8223a46 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
Brian Grinstead
c8b3483e82 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275
2018-08-14 16:22:44 +00:00
Kris Maglione
2250619ab1 Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.

MozReview-Commit-ID: 9PK7bYdQ0yh
2018-08-10 13:58:18 -07:00
Kris Maglione
fc6e9778e0 Bug 1472491: Part 5v - Remove Browser:HideSessionRestoreButton listener. r=felipe
MozReview-Commit-ID: FyCY7PCGD2H
2018-07-29 22:34:20 -07:00
Csoregi Natalia
84844e05a3 Merge inbound to mozilla-central. a=merge 2018-08-13 18:42:53 +03:00
trisha
276f6f397f Bug 1476509 - Implement a new clock skew error page r=flod,johannh
MozReview-Commit-ID: 5WmgrxUcSZ6
2018-08-02 22:59:04 +05:30
Jonathan Kingston
bb6cd22c00 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs 2018-07-16 10:17:51 +01:00
Andreea Pavel
b414d7b427 Backed out changeset ef30529d43dd (bug 1476509) for breaking localization a=backout 2018-08-11 13:45:07 +03:00
trisha
b637a1908a Bug 1476509 - Implement a new clock skew error page r=johannh
MozReview-Commit-ID: BUR0hCnh5gb
2018-08-02 22:59:04 +05:30
Bogdan Tara
349045ca70 Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE 2018-08-11 03:20:30 +03:00
Johann Hofmann
4f70cfcab3 Bug 1476218 - Part 1 - Update Tracking Protection section in the identity popup for Content Blocking. r=nhnt11
This commit switches the identity popup to use "Content Blocking" as a top-level section
instead of Tracking Protection, which is now demoted to a category of Content Blocking.

To keep this change halfway reviewable, I avoided renaming variables, classNames, ids, etc.
that use the term trackingProtection if they were otherwise unaffected by this patch. There
will be other patches that can do this in the future

Differential Revision: https://phabricator.services.mozilla.com/D2775
2018-08-06 12:43:59 +02:00
Jonathan Kingston
7c5bb7f8c7 Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs 2018-07-16 10:17:51 +01:00
Noemi Erli
a96af2f0dd Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-10 00:35:58 +03:00
Brian Grinstead
1c86f46ecd Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw
2018-08-08 15:22:53 -07:00
Jonathan Kingston
07af5c5572 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb r=Gijs
Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046
2018-07-06 15:14:54 +01:00
dvarga
86b7ee6d9f Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
2018-08-08 22:11:56 +03:00
Jonathan Kingston
0e48203cf4 Bug 1362034 - Have addTab() provide the correct triggering principal. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: mixedpuppy, reviewbot

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2046
2018-08-08 20:03:55 +03:00
Kris Maglione
2ff453e4e5 Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o
2018-07-29 12:36:45 -07:00
Brindusan Cristian
fe2a940ebf Backed out changeset 5212e051d039 (bug 1479310) for bc failures on /browser/browser_onboarding_uitour.js. 2018-08-07 20:49:43 +03:00
Kris Maglione
c8a7ef15bc Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7
2018-07-29 13:18:26 -07:00
Kris Maglione
a2719e529a Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o
2018-07-29 12:36:45 -07:00
Cosmin Sabou
073139a2ec Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout
Backed out changeset 915862a355e9 (bug 1479318)
Backed out changeset f150e62dcbbd (bug 1479241)
Backed out changeset a68daa762119 (bug 1479312)
Backed out changeset 2a5aa9de1fd9 (bug 1479945)
Backed out changeset 163276881d35 (bug 1479945)
Backed out changeset 20a1a11b4d0b (bug 1479945)
Backed out changeset ca43bd11f431 (bug 1479945)
Backed out changeset 71700b368132 (bug 1479945)
Backed out changeset f5d647fae973 (bug 1479313)
Backed out changeset 3583823171de (bug 1479310)
Backed out changeset 2d46e1fe3121 (bug 1479309)
Backed out changeset 8f9c9580f687 (bug 1479235)
2018-08-07 17:30:52 +03:00
Dão Gottwald
bfd25b09a2 Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
MozReview-Commit-ID: 53Mu4zb9X1C
2018-08-04 13:27:40 +02:00
Thi Huynh
71b53b7345 Bug 1480735 - Replace MousePosTracker._windowUtils with window.windowUtils. r=dao
MozReview-Commit-ID: AcADGJH4r2R
2018-08-03 22:01:09 +07:00
Boris Zbarsky
0d70093660 Bug 1476142 part 2. Remove some unnecessary QIs in browser. r=gijs 2018-08-02 15:26:47 -04:00
Olli Pettay
d4765a9987 Bug 1480130 - Shadow DOM interferes with Cmd+click handling, r=felipe 2018-08-02 14:55:09 +03:00
dvarga
7bfb34974d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-02 01:26:29 +03:00
dvarga
20d9adda48 Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00
Siddhant
3c9f71cdf6 Bug 1478267 - Drop the callback parameter to getShortcutOrURIAndPostData r=standard8 2018-08-01 15:00:51 +05:30
Kris Maglione
8f3a3d9945 Bug 1479313: Don't load manifestMessages.js until needed. r=felipe
MozReview-Commit-ID: s2fq6XcgQ7
2018-07-29 13:18:26 -07:00
Kris Maglione
7af74e3fba Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
MozReview-Commit-ID: 55EPBxUYv9o
2018-07-29 12:36:45 -07:00
Dave Townsend
7c2cace29b Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489
2018-07-31 19:13:38 +00:00
Mark Banner
76c26311e8 Bug 1479722 - Rework PlacesUtils.setCharsetForURI to PlacesUIUtils.setCharsetForPage and avoid main thread sync io. r=mak
MozReview-Commit-ID: HeO3Mm5Dibo

Differential Revision: https://phabricator.services.mozilla.com/D2582
2018-08-01 10:13:59 +00:00