The security.allow_chrome_frames_inside_content pref was added to support
XUL extension compat after the hiddenWindow special case was removed in
Bug 1145470. Since we don't need to support that use-case anymore, this
changeset backs out the change that relanded the special case with the pref.
MozReview-Commit-ID: 4keMEIQvt1Y
--HG--
extra : rebase_source : 1a9c54c9807eaed2645d0ea03b5064ed7472d7a4
This pref will be removed in the following changeset.
MozReview-Commit-ID: E9TvPyxAgrf
--HG--
extra : rebase_source : 99f285fc9a534c8e53dd274056c064819ce0e8c3
The hosting app will need to request things like camera or microphone
access if it wants to use web features that rely on those. This is true
for the Android WebView as well, so we're doing the expected thing here.
MozReview-Commit-ID: FPWJ6mtgOT5
Currently we don't create the Compositor until we have a valid surface
to render into. This causes a race that can result in us not being able
to display anything at all once a surface is provided and the compositor
is started. It seems the easiest thing to do right now is to avoid the
race by starting the Compositor immediately.
MozReview-Commit-ID: HkdVL3LBNZB
Right now GLContextProviderEGL requires the widget to have a valid
EGLSurface when creating a non-offscreen GLContext. This patch falls
back to a dummy pbuffer surface or EGL_NO_SURFACE if supported, allowing
the GLContext creation to succeed. This will give us some more flexibility
on Android where the widget surface is not always readily available.
Additinally, we use the fallback surface any time MakeCurrent() is
called without a valid surface. This is needed to allow things like
Compositor shutdown when there is no widget surface available.
MozReview-Commit-ID: 1kbLIGNiOkV
These tests rely on an optimization within Gecko where it stops firing
MozAfterPaint events if there was no visible change to the generated
layers. This allows the reftest harness to exit the
waiting-for-MozAfterPaint loop and proceed with the test. However, with
webrender, this optimization does not exist and so the loop never exits.
In order to solve this problem, this patch adds an explicit mechanism to
exit the loop by means of a class attribute on the root element of the
test page.
MozReview-Commit-ID: 17ta5kLPDr9
--HG--
extra : rebase_source : 96ea462274724c6c65f1186f473bc1767253fd6b
Some modules such as Scroll and SelectionAction only require a frame
script and not a resource. Make the module resource optional so we can
remove the redundant resources for these modules.
MozReview-Commit-ID: 3uCy4xxInJf
--HG--
extra : rebase_source : 940cc493ea1424f792ea31bbe3941740ea59bec0
Make ModuleManager capable of loading frame scripts. This consolidates
more logic from GeckoViewModule into ModuleManager.
MozReview-Commit-ID: 6LoRJeTKzep
--HG--
extra : rebase_source : 20deaaa59b3b59b636fedd5b0187f0543b1c335e
Assign a module's .jsm resource to either the init phase or the enable
phase, so that it's possible to delay loading the module resource until
it is enabled.
MozReview-Commit-ID: 4k8djPyG9Pq
--HG--
extra : rebase_source : 5618cad3e4d797bc0b673a6886020107bbe86503
geckodriver should log to which host and port it is trying
to create a connection with Marionette.
MozReview-Commit-ID: DxWSsDDMKCL
--HG--
extra : rebase_source : df870bf956d93aae8d95f70c88c184adc90bf2bf
This patch makes sure that snapshotting is performed while
holding the histogram mutex. JS reflection code is only called
after the snapshot is taken, outside of the locked section.
MozReview-Commit-ID: H1uJz1H7rIu
--HG--
extra : rebase_source : abcf77a4cb5073377eddc24a9c1f16b57616b96e
This patch introduces a couple of new functions to copy histogram data
to Mozilla-friendly arrays. This solves the problem of passing Histogram
pointers around and makes working away from JS functions easier.
MozReview-Commit-ID: BIg3FXBzxfT
--HG--
extra : rebase_source : 79f967f73cc1f3e70a27e32e4022fa59b2a58df3
While we already do a permission check in native webrtc code, the one
in webrtcUI is needed to provide extra protection against permission spam
by checking if there's a temporarily denied permission on the tab.
Since we introduced custom default permission values it is necessary to
also pass the URI to make sure we catch exceptions added by the user.
MozReview-Commit-ID: C8r6ymbKE3a
--HG--
extra : rebase_source : 8f0b3486f2f33bee75536ae2cf7dd091c5a9c568