Граф коммитов

586045 Коммитов

Автор SHA1 Сообщение Дата
Vivek Dhingra d45f9ba3d8 Bug 1445292 - Use Services.els in tabbox.xml r=dao
MozReview-Commit-ID: Loia4p98D6C

--HG--
extra : rebase_source : 36f9bf51a96b351b276d58ae2fa6bb13f5673572
2018-03-16 10:46:53 -04:00
Johann Hofmann f4c91f3461 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

--HG--
extra : rebase_source : 5a49571b04b682bcde61e61f9874a25e405661f5
2018-03-15 13:55:13 +01:00
Johann Hofmann f86a69f2c9 Bug 1297630 - Test certificate errors in iframes. r=Gijs
This amends the browser_aboutCertError test file to cover error pages
in iframes in addition to top-level pages. I figured that instead of
re-writing all assertions in a separate test it would be smarter to
do the same assertions we apply to the top-level error pages on frames
as well.

I did not update the checkWrongSystemTimeWarning test, which is currently disabled.

MozReview-Commit-ID: 90fS0emPaSN

--HG--
extra : rebase_source : 90390afd294cb7254ff3c8249fa84a43ad6a517d
2018-03-15 12:57:11 +01:00
Michael Ratcliffe 81149f7410 Bug 1446310 - Remove CPOWs from browser_storage_updates.js r=jryans
MozReview-Commit-ID: DVeLEYIfl9A

--HG--
extra : rebase_source : 05d13aae50e886181f1d9385bba5febd3c6c67d9
2018-03-16 09:55:56 +00:00
Michael Ratcliffe 540eac7b3b Bug 1446037 - Remove CPOWs from browser_storage_dynamic_windows.js and simplify the test r=jryans
Try to comprehend exactly how the original test worked... I dare you!

MozReview-Commit-ID: 5EYOfhw3hVw

--HG--
extra : rebase_source : 4b5a7eb5f16c8ad1d0cca3f4642a87108b9da913
2018-03-15 17:17:53 +00:00
Michael Ratcliffe 0ca523aa2f Bug 1446320 - Remove uses-unsafe-cpows flag from browser_storage_listings.js r=jryans
browser_storage_listings.js doesn't use CPOWs and runs just fine with the flag removed.

I would r=me this if ReviewBoard would let me but I can't.

MozReview-Commit-ID: IHoY7qLR3k2

--HG--
extra : rebase_source : 7aa0d5111307e453b1bf17a8433d9b86d8424f73
2018-03-16 11:13:38 +00:00
Andrew McCreight d423a14b35 Bug 1446200 - Add a helper method to encode Method flags. r=froydnj
Most of the classes in xpt.py define a helper method to encode the
values of the flags into a byte, but for some reason Method does
not. It'll be useful to have one for Method for the C++ backend I am
working on.

MozReview-Commit-ID: ESi1CnstbN2

--HG--
extra : rebase_source : 23822e7770e9a3d1b5a2359ae9753f950af3a121
2018-03-15 15:46:08 -07:00
Vivek Dhingra 5931fb1728 Bug 1397393 - Make transitioning between 2 themes with a dynamic theme smooth r=mconley
MozReview-Commit-ID: Cjx0E2PN6GP

--HG--
extra : rebase_source : ea7ef2005de44ebb8b8e56b1acf47b6aac6ed863
2018-03-13 18:20:08 -04:00
Johan Lorenzo 76246ea977 Bug 1445890 - Fennec: Fix bad FTP path on bouncer submission r=mtabara a=release
MozReview-Commit-ID: 2zfBA6ksoNT

--HG--
extra : rebase_source : 9096aa3350f892aca6fd31a9d9292269fbf20a3c
extra : intermediate-source : 4fe0615c6be1744ad9cbdcb6c917fabfac094a88
extra : source : 69685faa0bb4db6b19d44cca4fa9c1b7c39bbebc
2018-03-16 09:36:59 +01:00
Sylvestre Ledru 8c732b1e60 Bug 1443080 - Now that we use static call, some var instances are not needed anymore r=Ehsan
MozReview-Commit-ID: AiuJIY8Gssl

--HG--
extra : rebase_source : 9bb9b7df30d502f8b3f5ffda719aea80109b07e9
2018-03-05 09:33:02 +01:00
Sylvestre Ledru fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Zibi Braniecki 4629cdb598 Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa

--HG--
extra : rebase_source : 16ffb5e756567591471ce18a98eaee9315be6c89
2018-03-12 16:27:32 -07:00
Csoregi Natalia d77091952c Backed out changeset 66fb307a2a70 (bug 1435816) for windows mingw failures on WindowsDllBlocklist.cpp:822. CLOSED TREE 2018-03-16 16:38:57 +02:00
Vivek Dhingra 7b323d8758 Bug 1446060 - Rename mPanelContainer to tabpanels r=dao
MozReview-Commit-ID: 85PNkl3OeBE

--HG--
extra : rebase_source : d7bfb49a8736b8319f6d1ca45f39fe001d4214d8
2018-03-16 10:23:00 -04:00
Kartikaya Gupta a874c1f76c Bug 1444946 - Update reftest annotations for changes from WR PR 2523. r=jrmuizel
MozReview-Commit-ID: Gt4sT0IVick

--HG--
extra : rebase_source : 45c9f8a8e3d7c48fd14be28682f7b5ff5f2a53c8
2018-03-16 09:05:00 -04:00
Kartikaya Gupta bba5baa68a Bug 1444946 - Update webrender to commit 486ee5f3aefb0172c2c5703e19f833e63eb295b9. r=jrmuizel
MozReview-Commit-ID: EwPVlYte5Wo

--HG--
extra : rebase_source : a7a135bde5afa3eae41e29962a504d15a49989ec
2018-03-16 09:02:26 -04:00
Haik Aftandilian 331dda9367 Bug 1444291 - Part 3 - Add read access to the Mac Flash sandbox, support sandbox levels r=Alex_Gaynor
Replace the boolean pref "security.sandbox.mac.flash.enabled"
with "dom.ipc.plugins.sandbox-level.flash" to support sandbox
levels and be consistent with the Windows pref name.

Adds filesystem read access to the sandbox using sandbox extensions
granted by the file dialog machinery (level 1).

Add support for level 2 which blocks read access.

Allow the sandbox to be disabled with MOZ_DISABLE_NPAPI_SANDBOX.


MozReview-Commit-ID: 4rfobEoxQpF

--HG--
extra : rebase_source : 05dc54b46063967e959bc3fced21c61e5463de48
2018-03-15 20:23:19 -07:00
Haik Aftandilian b8c5b2eae6 Bug 1444291 - Part 2 - Add additional sysctl access to the Mac Flash sandbox r=Alex_Gaynor
Adds additional sysctls that are used by the Flash plugin process and alphabetize the list.

MozReview-Commit-ID: 7CaPtaKe874

--HG--
extra : rebase_source : 909228ef9617029eaf7cb16565751150cd1c7404
2018-03-07 22:07:27 -08:00
Haik Aftandilian 09693ee75d Bug 1444291 - Part 1 - Reduce Mac Flash sandbox cache and temp dir permissions r=Alex_Gaynor
Remove access to DARWIN_USER_CACHE_DIR. Limit DARWIN_USER_TEMP_DIR
access to the FlashTmp subdirectory. Remove xattr read access to
~/Library/Caches/ and ~/Library/Preferences.

MozReview-Commit-ID: 9svk0BoxVXs

--HG--
extra : rebase_source : 5ea9c7ecc0189455eceb190fb300170d42d0b890
2018-03-15 17:33:12 -07:00
Sebastian Hengst d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Csoregi Natalia 7e68d80ef1 Backed out changeset 4dc6a0427030 (bug 1445890) for failing taskcluster/taskgraph/transforms/bouncer_submission.py:33. CLOSED TREE 2018-03-16 15:53:20 +02:00
Carl Corcoran e5b4966489 Bug 1435816: Prevent thread start in LoadLibrary; r=aklotz
MozReview-Commit-ID: 2TNPfrqebZ8

--HG--
extra : rebase_source : 074f8af9964ad002a8e550223886c99a79e3543c
2018-02-22 13:41:15 +01:00
Johan Lorenzo ee742107fd Bug 1445890 - Fennec: Fix bad FTP path on bouncer submission r=mtabara
MozReview-Commit-ID: 2zfBA6ksoNT

--HG--
extra : rebase_source : 69685faa0bb4db6b19d44cca4fa9c1b7c39bbebc
2018-03-16 09:36:59 +01:00
Csoregi Natalia 23734652d8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-16 15:02:08 +02:00
Csoregi Natalia cbbe5a1135 Backed out changeset 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186), remove obsolete file. a=backout 2018-03-16 15:00:25 +02:00
Csoregi Natalia e5572f6407 Backout commit 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186) a=backout 2018-03-16 14:51:38 +02:00
Patrick Brosset 5e66dc3a92 Bug 1444327 - Bring back ability to see and copy font URLs; r=jdescottes
In the fonts panel UI prior to Firefox 60, remote font URLs used to be
displayed in full in a text input field. It made it easy to copy them.
With the redesign that happened in 60 (bug 1437548 and 1442001), getting
the URL became harder. The URL isn't visible anymore easily. There's a link
that can be clicked to load the URL in the browser, or it can also be copied
from the @font-face CSS rule code section. But that's harder.

This change adds the beginning of the URL back (with an ellipsis) and a
simple button that copies the link.

MozReview-Commit-ID: 2oSMoWKYhTk

--HG--
extra : rebase_source : 1af901f4a343f392b65309fde34411313606b824
2018-03-14 16:16:55 +01:00
Dão Gottwald c16e018107 Bug 1446332 - Remove const nsI* from tabbrowser.js. r=Gijs
MozReview-Commit-ID: XZuOy5yJo6

--HG--
extra : rebase_source : 38705ee750615269023e28eacf50d91d75212763
2018-03-16 12:28:37 +01:00
yulia 2f26a08903 Bug 1382585 - update inspector/markup to new event emitter. r=pbro
MozReview-Commit-ID: 3knSthKBL1J

--HG--
extra : rebase_source : ede5c4f890eaf07a2eecfd4d7f3b47d03cea7101
2018-03-15 15:51:02 +01:00
Andreas Pehrson 32da610e23 Bug 1443803 - Protect against destroyed MediaStream in MediaEngineWebRTCMicrophoneSource. r=padenot
MozReview-Commit-ID: 3vyzS0DceKI

--HG--
extra : rebase_source : 127ff05f24c28c813af9cd3c90484fdedbf8faa2
2018-03-14 16:46:46 +01:00
Sebastian Hengst c1747d32bb Merge mozilla-central to autoland
--HG--
extra : rebase_source : 3ab39db62e3671c805417484f8d1649d2b58fae8
2018-03-16 12:57:22 +02:00
Sebastian Hengst f916563796 Backed out changeset 664c633802d4 (bug 1423220) for frequently failing mochitest dom/html/test/test_fullscreen-api-race.html (bug 1445330). a=backout 2018-03-16 12:55:59 +02:00
Tiberius Oros a4a2be52e8 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Tiberius Oros d01a762799 Merge autoland to mozilla-central. a=merge 2018-03-16 11:51:52 +02:00
Gurzau Raul 540992331b 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
Jeff Gilbert 027c306ce3 Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Thomas Daede d58a56cb9b Bug 1446062: libtremor Vorbis fix. r=jmspeex a=dveditz 2018-03-15 21:47:09 -07:00
Brian Birtles ee9982905f Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro
This pref was introduced in case we encountered compatibility issues from
changing the return value of Animation.playState (bug 1412765). Now that the
change to Animation.playState has shipped to release channel without any known
problems we should drop this pref.

MozReview-Commit-ID: CwMWRRtIf6u

--HG--
extra : rebase_source : b26c59a51880406c2b94baad8da2eafeb3ae3202
2018-03-16 12:49:55 +09:00
Fabrice Desré 68f45d973d servo: Merge #20310 - Update the MULTIPROCESS static when changing default options (from fabricedesre:opt-multiprocess); r=jdm
<!-- Please describe your changes on the following line: -->
When the options are set not from the command line but by calling `set_defaults()` which is common for embedders, the MULTIPROCESS static is not set, and so the setting is ignored. This patch fixes that.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because we have no tests around that.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: b93f153ed59fb993af306bd8c540887196021f87

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c85e2e3c9e0ef460304606c14edc356bdd721af
2018-03-15 23:23:54 -04:00
Brindusan Cristian 7ba535f369 Merge inbound to mozilla-central. a=merge 2018-03-16 01:36:33 +02:00
Monty Montgomery 1bd67c4267 Bug 1446062: Vorbis fix r=jmspeex a=abillings 2018-03-15 18:12:05 -04:00
Kris Maglione f01bccfd0f Bug 1444436: Use DOM APIs rather than HTML string generation for GMP plugin descriptions. r=aswan
MozReview-Commit-ID: GMBT4OZnQKz

--HG--
extra : rebase_source : b903e7588e9bc3a66e0abd523742cca3db7599e5
extra : amend_source : bc64c4350540ea7dcfaa7ea5792c0fe3eb9e8cc3
2018-03-15 12:27:34 -07:00
Kartikaya Gupta d16ab46492 Bug 1445662 - Update RemoteContentController to allow the GPU process controller thread to be different from the compositor thread. r=rhunt
A couple of RemoteContentController methods get called on the controller
thread in the GPU process. This is the same as the compositor thread so
we could just do compositor-thread stuff here, but we will want to
support the controller thread being the main thread instead of the
compositor thread. So we detect those cases and bounce the message
accordingly.
2018-03-15 15:25:11 -04:00
Kartikaya Gupta c4a6aff0f0 Bug 1445662 - Annotate remaining PAPZCTreeManager-invoked methods with threading constraints. r=rhunt
These methods are already guaranteed to be called on the controller
thread.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta 5083c84c88 Bug 1445662 - Ensure ZoomToRect runs on the controller thread. r=rhunt
Currently the ZoomToRect function is only ever called on Android, on the
UI process main thread, which is neither the controller nor the sampler
thread. Instead of allowing "random" threads to run inside APZ, we
ensure that callers run it on the controller thread.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta bb580f89fa Bug 1445662 - Ensure UpdateZoomConstraints runs on the sampler thread. r=rhunt
Without this patch, UpdateZoomConstraints can get called on:
a) the compositor/sampler thread (over PAPZCTreeManager)
b) the controller thread which is also the UI process main thread (on
   desktop platforms without a GPU process)
c) the UI process main thread when it's *not* the controller thread (on
   Android).
Instead of having to reason about all these scenarios separately, we can
try to unify them a little bit by ensuring the function contents always
run on the sampler thread, which is the thread that seems to make the
most sense for it.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta cfbe8bb66a Bug 1445662 - Assert that IAPZCTreeManager's helper methods are always on the controller thread. r=rhunt
These two functions (UpdateWheelTransaction and ProcessUnhandledEvent)
are only ever called on the concrete APZCTreeManager when the APZ code
is living in the GPU process. This is because the calls are made by the
IAPZCTreeManager implementation which lives in the UI process, and
remoted over PAPZCTreeManager. So the assertion is safe, and will help
us guard against inadvertent breakage when we try making a different
thread the controller thread in the GPU process.

In addition, the WillHandleInput function can be called in the GPU
process on the compositor thread, but we will allow it to be called on
the main thread as well. In that case we need to ensure we don't try
running EventStateManager pref-reading code in the GPU process, and
instead preserve the current behaviour of just returning true.
2018-03-15 15:25:10 -04:00
Kartikaya Gupta 323f2093f0 Bug 1445662 - Remove ProcessTouchVelocity from PAPZCTreeManager.ipdl. r=rhunt
This function is never actually called over IPDL. It is called directly
on the concrete APZCTreeManager instance by the
AndroidDynamicToolbarAnimator code, both of which live in the
compositor. So we don't need to expose this method on IAPZCTreeManager
or over PAPZCTreeManager.
2018-03-15 15:25:09 -04:00
Kartikaya Gupta 9ab9425d9f Bug 1445662 - Make the DPI non-static and bound to the controller thread. r=rhunt
Since we can have multiple browser windows on multiple different
displays with different DPIs, it doesn't make sense to have a single
static DPI value shared across all APZCTreeManagers. Instead, each
APZCTM should store its own DPI value for the display the window is on.
Since the DPI is only ever read from the controller thread, we can make
it bound to that thread, and update the setter code to also set it on
that thread.

As with the previous patch, the change in APZCTreeManagerParent is a
no-op but allows making some other thread in the GPU process the controller
thread. And the change in nsBaseWidget is a no-op everywhere except
Android.
2018-03-15 15:25:09 -04:00
Kartikaya Gupta d59c0946db Bug 1445662 - Ensure the keyboard map access is threadsafe. r=rhunt
- The change in APZCTreeManagerParent is functionally a no-op because it
  only ever runs in the GPU process on the controller thread. But it
  allows moving the controller thread to some other thread.
- The change in nsBaseWidget is a no-op for desktop platforms, because
  in the UI process the main thread is the controller thread. But on
  Android it moves the call from the main thread to the Java UI thread.
2018-03-15 15:25:08 -04:00