Commit Graph

4279 Commits

Author SHA1 Message Date
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
Boris Zbarsky
df1e81934e Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs 2018-08-01 13:07:10 -04:00
Kris Maglione
e97c582e3f Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Kris Maglione
9ba14892f2 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
749f83cc65 Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
6dcf46ad68 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Kris Maglione
86fbdd6653 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG
2018-05-20 18:10:16 -07:00
Florian Quèze
aa42a81067 Bug 1475589 - remove the focused attribute early on the urlbar when adopting a tab, to ensure the url gets properly formatted, r=Gijs. 2018-07-27 23:00:27 +02:00
Dipen Patel
54148735a5 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL
2018-07-13 11:48:55 -07:00