Commit Graph

4312 Commits

Author SHA1 Message Date
Tim Nguyen
c389c6cf9c Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
8ad3204b44 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
76bd43b52d Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht
2018-03-16 23:21:46 +00:00
Tim Nguyen
9f6b37eabb Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw
2018-03-25 13:59:50 +02:00
Dão Gottwald
b09b0d151c Bug 1448572 - ToolbarIconColor.uninit and CompactTheme.uninit need to run even if the load event wasn't handled. r=bgrins
MozReview-Commit-ID: Cks9rSMZo5y
2018-03-24 18:34:19 +01:00
Dão Gottwald
70801589aa Bug 1448286 - Remove redundant gBrowser.tabContainer.updateVisibility call. r=florian
MozReview-Commit-ID: 8mdaanwgH7b
2018-03-23 12:10:56 +01:00
Dão Gottwald
5baa531e25 Bug 1448078 - Set the extradragspace attribute before TabsInTitlebar does its initial update. r=johannh
MozReview-Commit-ID: 4jYJ8K3EWfa
2018-03-22 18:52:29 +01:00
Dão Gottwald
d60d8c4edf Bug 1448043 - Activate the Light/Dark theme stylesheet before the initial layout. r=bgrins
MozReview-Commit-ID: BQRiXfopFFI
2018-03-22 17:05:09 +01:00
Dão Gottwald
fdcaea38c5 Bug 1448017 - Initialize ToolbarIconColor before the initial layout to spare a potential restyle after the initial layout. r=bgrins
MozReview-Commit-ID: LLJ2EftdXZn
2018-03-22 16:18:20 +01:00
Brian Grinstead
cc259b4677 Bug 1447052 - Set up LightweightThemeConsumer in onBeforeInitialXULLayout instead of onLoad r=dao
MozReview-Commit-ID: GjuSvpkywlR
2018-03-20 12:19:39 -07:00
Tim Nguyen
06d8af81bb Bug 1445099 - Remove unused properties from browser binding. r=enndeakin 2018-03-26 16:32:37 +02:00
Andreea Pavel
77cede8498 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-20 00:39:56 +02:00
abhinav
ed2b4a1ed2 Bug 1439721 - Remove WEB_PERMISSION_CLEARED telemetry code. r=johannh 2018-03-07 18:15:36 +05:30
Bogdan Tara
1096f0f569 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Bogdan Tara
f6affd371a Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Gurzau Raul
2db91483a1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Vivek Dhingra
0ecbf733a5 Bug 1446060 - Rename mPanelContainer to tabpanels r=dao
MozReview-Commit-ID: 85PNkl3OeBE
2018-03-16 10:23:00 -04:00
Brendan Dahl
d78cd08299 Bug 1442829: Remove macBrowserOverlay.xul. r=Gijs
Move all of the overlay pieces into an include file except for the
DTD's that could not be put there. Inline the DTD's into the files
where they were used. Update comments in macWindow.inc.xul and browser.xul
to more accurately reflect the current state.

MozReview-Commit-ID: HZIeSf29Yl
2018-03-19 08:57:12 -07:00
Johann Hofmann
10946494ab Bug 1297630 - Make certificate error pages work properly in iframes. r=Gijs
This adds workarounds to ensure that messages passed from browser.js
to content.js in the context of certerror pages always contain a frameId
which can be used to identify the frame that is supposed to receive them.

This fix is really meant to be temporary until we come up with a good
replacement for chrome - content communication, which probably boils down
to finding a middle ground between nsAboutCapabilities, RemotePageManager and WebChannel.

I did not update communication for Captive Portal pages, since those require
one-way broadcasting from chrome to content, which is not supported in this model.
This is tracked in bug 1446319.

I did also not change the behavior of the "Go Back" button, which still navigates
away the top level page, because I consider changing that behavior out of scope
for this bug (and in my personal opinion we should not change the behavior).

MozReview-Commit-ID: GrM6PFys6Cu
2018-03-15 13:55:13 +01:00
Emilio Cobos Álvarez
e2d430e8b4 Bug 1445737: Ensure we only update tabsInTitlebar once during browser startup. r=dao
Two fixes here:

updateAppearance really depends on the tabbrowser.xml updateVisibility(), so
make that dependency explicit and remove the event handling from tabbrowser.

After the previous patch, TabsInTitlebar.init() runs much earlier, which means
that the initialization check that bails out from update() is not taken. Turns
out that this is definitely not an edge case, and that tons of initialization
code all over gBrowser.onDOMContentLoaded call updateAppearance(true), causing
tons of extra invalidation and reflows that aren't really needed.

Ensure we only do the work once.

MozReview-Commit-ID: 2E9b12aBast
2018-03-16 17:27:05 +01:00
Emilio Cobos Álvarez
f50030254f Bug 1445737: Simplify a bit now that we unconditionally shuffle the window attributes after init(). r=dao
MozReview-Commit-ID: 78lPD2ZISWV
2018-03-16 17:26:52 +01:00
Emilio Cobos Álvarez
ec25d41b1e Bug 1445737: Update tabsintitlebar stuff before layout. r=dao
Not doing can it cause perf issues, but old Linux distros aren't really happy
about it, and they barf when the chromemargin is removed dynamically, so prevent
that happening by default.

Right now it happens on the resize we do right before loading the window, but
that will stop working after bug 1439875.

MozReview-Commit-ID: 1Rhaz07fHaY
2018-03-16 17:26:51 +01:00
Emilio Cobos Álvarez
0c9b7e45cc Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-16 17:26:49 +01:00
Tiberius Oros
f526bd8a36 Merge autoland to mozilla-central. a=merge 2018-03-16 11:51:52 +02:00
Gurzau Raul
67424465a0 Backed out 6 changesets (bug 1439875) for massive breakage for nightly users a=backout
Backed out changeset 990a8eb972cd (bug 1439875)
Backed out changeset 187aef60922c (bug 1439875)
Backed out changeset 9c764daa1234 (bug 1439875)
Backed out changeset f8e091577d2a (bug 1439875)
Backed out changeset 1ee5a2d21901 (bug 1439875)
Backed out changeset 610ba5dfaae1 (bug 1439875)
2018-03-16 11:26:31 +02:00
Tim Nguyen
af25ee00d3 Bug 1445100 - Remove pageReport property from browser binding. r=Paolo 2018-03-15 17:56:48 +00:00
Emilio Cobos Álvarez
21a0b3a84a Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-15 21:19:50 +11:00
Andreea Pavel
119029b837 Backed out 6 changesets (bug 1439875) for browser chrome failures at browser/base/content/test/general/browser_private_browsing_window.js on a CLOSED TREE
Backed out changeset 1ee033e0061a (bug 1439875)
Backed out changeset 7f25473e9b29 (bug 1439875)
Backed out changeset 69550dec0534 (bug 1439875)
Backed out changeset f3b96ce3490b (bug 1439875)
Backed out changeset 9ded55072903 (bug 1439875)
Backed out changeset 7b33ad14ce8c (bug 1439875)
2018-03-14 23:54:24 +02:00
Emilio Cobos Álvarez
505d36c89c Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-14 20:47:39 +01:00
arthur.iakab
55cf38eba1 Merge mozilla-central to mozilla-inbound 2018-03-14 12:18:15 +02:00
Dão Gottwald
c1ea423d03 Bug 1445351 - Add comment with bug reference (DONTBUILD) 2018-03-14 07:32:58 +01:00
Gurzau Raul
280a4daa14 Merge inbound to mozilla-central. a=merge 2018-03-14 00:40:07 +02:00
Tim Taubert
917f36332b Bug 1444829 - Add WebAuthn prompt icon r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1444829

Differential Revision: https://phabricator.services.mozilla.com/D705
2018-03-13 18:50:14 +01:00
Andreea Pavel
b19114a487 Backed out 6 changesets (bug 1439875) for failing mochitest clipboard at browser/components/customizableui/test/browser_editcontrols_update.js and mochitest headless at dom/events/test/pointerevents/test_bug1414336.html on a CLOSED TREE
Backed out changeset f21bdb9b67e8 (bug 1439875)
Backed out changeset bd81fafecd95 (bug 1439875)
Backed out changeset 3296aef96276 (bug 1439875)
Backed out changeset a1237d0711a2 (bug 1439875)
Backed out changeset fc25cbe8e22e (bug 1439875)
Backed out changeset 25e681a47121 (bug 1439875)
2018-03-13 18:37:16 +02:00
Emilio Cobos Álvarez
94fc652689 Bug 1439875: Fire MozBeforeInitialXULLayout before sizing the window. r=florian,smaug
This gives the chance to code that relies on setting the XUL window attributes
to run before we actually size the window.

This should prevent the resizing on OSX and fix some other untested stuff that
the first commit probably broke...

MozReview-Commit-ID: DhCWgmCppek
2018-03-13 15:36:15 +01:00
Dão Gottwald
371374bcde Bug 1445337 - Send Reader:PushState message to the correct browser. r=Gijs
MozReview-Commit-ID: HmNFGgCgRTc
2018-03-13 18:17:43 +01:00
Dão Gottwald
184079c708 Bug 1443849 - Part 4: Call gBrowser.init from gBrowserInit and prevent early access to gBrowser. r=Gijs
MozReview-Commit-ID: 6QxXs8fUk3o
2018-03-13 14:44:16 +01:00
Narcis Beleuzu
66991a4f9d Backed out 4 changesets (bug 1443849) backed out for mochitest bc failures on /browser_tabs_close_beforeunload.js
Backed out changeset 54259728e099 (bug 1443849)
Backed out changeset e2768d74d30e (bug 1443849)
Backed out changeset b34c63d24344 (bug 1443849)
Backed out changeset 22799a033471 (bug 1443849)
2018-03-13 17:24:33 +02:00
Dão Gottwald
ace3f34827 Bug 1443849 - Part 4: Call gBrowser.init from gBrowserInit and prevent early access to gBrowser. r=Gijs
MozReview-Commit-ID: 6QxXs8fUk3o
2018-03-13 14:44:16 +01:00
Gijs Kruitbosch
0ca6e1b639 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy
2018-03-12 14:01:44 +00:00
Dão Gottwald
4de32902e2 Bug 1444891 - Remove the statuspanel binding. r=jaws
MozReview-Commit-ID: KcpOYuObiNG
2018-03-12 20:47:31 +01:00
Brendan Dahl
2021b6eed4 Bug 1444228 - Remove editBookmarkOverlay.xul. r=standard8
Move the main contents of editBookmarkOverlay.xul into an include file and
inline the DTD and CSS files where used. Convert several chrome tests to
browser tests since the preprocessor is hard to use within the testing
framework.


MozReview-Commit-ID: DpPBOpZSuBN
2018-03-16 09:26:49 -07:00
Gurzau Raul
c070024f19 Backed out changeset a09f27b6dceb (bug 1297630) for bc failures on content/test/about/browser_aboutNetError.js and en-us failures on functional/security/test_ssl_disabled_error_page.py on a CLOSED TREE 2018-03-16 18:27:17 +02:00
Johann Hofmann
450a380458 Bug 1297630 - Make certificate error pages work properly in iframes. r=Gijs
This adds workarounds to ensure that messages passed from browser.js
to content.js in the context of certerror pages always contain a frameId
which can be used to identify the frame that is supposed to receive them.

This fix is really meant to be temporary until we come up with a good
replacement for chrome - content communication, which probably boils down
to finding a middle ground between nsAboutCapabilities, RemotePageManager and WebChannel.

I did not update communication for Captive Portal pages, since those require
one-way broadcasting from chrome to content, which is not supported in this model.
This is tracked in bug 1446319.

I did also not change the behavior of the "Go Back" button, which still navigates
away the top level page, because I consider changing that behavior out of scope
for this bug (and in my personal opinion we should not change the behavior).

MozReview-Commit-ID: GrM6PFys6Cu
2018-03-15 13:55:13 +01:00
Cosmin Sabou
6e9b9fb5f4 Backed out changeset 4805bc295b9a (bug 1444891) for ESlint failure on browser/base/content/browser.js 2018-03-12 19:49:23 +02:00
Dão Gottwald
8cb00984d2 Bug 1444891 - Remove the statuspanel binding. r=jaws
MozReview-Commit-ID: JaMhIAWHbEv
2018-03-12 14:55:55 +01:00
Gurzau Raul
f3909511af Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-14 00:43:01 +02:00
Dão Gottwald
021d47ca1f Bug 1445298 - Remove global nsIWebNavigation constant from browser.js. r=Felipe
MozReview-Commit-ID: 27NdHKNnyJa
2018-03-13 17:07:40 +01:00
Tim Taubert
28467af293 Bug 1430150 - Implement WebAuthentication permission prompts r=jcj,johannh
Reviewers: jcj, johannh

Reviewed By: jcj, johannh

Bug #: 1430150

Differential Revision: https://phabricator.services.mozilla.com/D638
2018-03-11 18:47:14 +01:00
Dão Gottwald
693f275b7c Bug 1444614 - Avoid initializing gBrowser and gBrowser.tabContainer early in the urlbar binding constructor. r=Gijs
MozReview-Commit-ID: Lfv4d8RzhmZ
2018-03-10 15:02:33 +01:00