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

584266 Коммитов

Автор SHA1 Сообщение Дата
Sam Foster c11210d2df Bug 1402845 - Fix panelview sizing when customRectGetter is used. r=mikedeboer,Paolo
* The extension content drives the sizing of the browser and popup that contains it via the Extension:BrowserResized message. The ignoreResizes property throttles/debounces this initially, stashing the dimensions received rather than triggering resize of the popup for every message. When the popup is a subview and fixedWidth, we ignore width but *do* want to use the stashed height value.

* Until the panel is given visibility, it has 0 height, so after setting visibility, wait until the next refresh-driver tick before measuring any header which should get added to the overall view height

MozReview-Commit-ID: AgcruVb9QPA

--HG--
extra : rebase_source : 429503a7d38559cc8670a3205b3290b8e0bbbfa2
2017-10-05 10:23:53 -07:00
Dylan Stokes 7085c55905 Bug 1417883 - Allow theming autocomplete popups. r=jaws,ntim
MozReview-Commit-ID: GITgsY3yYqN

--HG--
extra : rebase_source : 2cadbc67a715c60b17ae0994d8e40ebad310307e
2018-02-11 12:32:33 -05:00
Jan-Ivar Bruaroey 40d9d1bb57 Bug 1434439 - Avoid stray capability requirement in StartCapture failure case. r=pehrsons
MozReview-Commit-ID: BEgnoOizMjt

--HG--
extra : rebase_source : bfc2a10a5656317439a2de8bad06086f7687c08d
2018-02-27 14:04:57 -05:00
Fabrice Desré ba8d547365 servo: Merge #20181 - Fire the pageshow event at the end of the page load (from fabricedesre:end-load-pageshow); r=jdm
<!-- Please describe your changes on the following line: -->
This implements step 8 of https://html.spec.whatwg.org/multipage/parsing.html#the-end

---
<!-- 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 I could not find a wpt test for that, which is strange. I likely missed it :(

<!-- 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: 94a6c2c429eb0415a277ff49fa19ae0eaefb0be9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 78f055ebca3bf3519342874c13f60344e96f63fc
2018-03-06 10:49:51 -05:00
Dão Gottwald cbb67a5151 Bug 1443453 - Stop loading tabbrowser.css a second time in the tabbrowser-tabs and tabbrowser-tab bindings. r=bgrins
MozReview-Commit-ID: AH53Znmvy4T

--HG--
extra : rebase_source : b17e5d13541e7a86c8c578109679cb53b3095c70
2018-03-06 12:05:03 +01:00
Paul Adenot 57a5a0749f Bug 1443528 - Extend Telemetry::AUDIOSTREAM_BACKEND_USED telemetry probe. r=jya
MozReview-Commit-ID: 7Dg5HIL8Sxw

--HG--
extra : rebase_source : 5ed4745c2b755887b6b0f7252a3116ca98407274
2018-03-06 16:59:52 +01:00
Gijs Kruitbosch 6751283238 Bug 1443229 - follow-up: use correct checkbox state, r=jaws
It seems `doCommand` runs through a different codepath than just clicking the checkbox,
and as a result the outcome of the command handler is different that way.

This aligns the automated test closer to what happens when you 'manually'
click the checkbox, and fixes the bug in the command handler.

MozReview-Commit-ID: ACxRUxB35px

--HG--
extra : rebase_source : 7bc6d048d4ff6061aae6289e26f2b298820ed5ec
2018-03-06 15:00:12 +00:00
Kartikaya Gupta f789357a7c Bug 1436287 - Disable high-frequency intermittent failure until the proper fix is in place. r=botond
MozReview-Commit-ID: KMcKyGrvOCi

--HG--
extra : rebase_source : a1cda66266fb1d82dc306d728e37d7897fcdfb95
2018-03-06 04:33:31 -05:00
Martina Kollarova d7b1422eba servo: Merge #20144 - Add WebGL function glGetTexParameter (from mkollaro:gettexparameter); r=jdm
<!-- Please describe your changes on the following line: -->
Add WebGL function glGetTexParameter

---
<!-- 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
- [x] These changes fix part of #10209

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: f5037cf6219cafbc86bfaf6483b81b4ffb3496fa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cb9a7a270dca8cbaa1a989633b77ba854042c49
2018-03-06 09:48:56 -05:00
Kartikaya Gupta 98952dab6e Bug 1442627 - Stop exporting a few other apz/src headers. r=botond
These were mostly exported because APZCTreeManager included them and now
they don't need to be exported any more.

MozReview-Commit-ID: 8W3vKOvzYW3

--HG--
extra : rebase_source : 8da95a203692ab3a88d37e66071b914682b44f14
2018-03-06 10:25:39 -05:00
Kartikaya Gupta 45d31fa895 Bug 1442627 - Stop exporting APZCTreeManager.h in mozilla/layers/. r=botond
MozReview-Commit-ID: GC5fSWOYtF5

--HG--
extra : rebase_source : e2dfe679595bf9208e082699a99375cd509b66e3
2018-03-06 10:25:39 -05:00
Kartikaya Gupta b18710abb6 Bug 1442627 - Move static helpers from APZCTreeManager to APZUtils. r=botond
This also includes unified build fixes that were needed as a result of
the shuffling around.

MozReview-Commit-ID: 1AGG3DHnN1m

--HG--
extra : rebase_source : 7399cea6dff2bd91ab305dee22d93b32382cc0be
2018-03-06 10:25:39 -05:00
Kartikaya Gupta d437c0bee5 Bug 1442627 - Reduce exposure of the APZCTreeManager. r=botond
Callers should be using one of the more specific subinterfaces like
IAPZCTreeManager (for controller-API methods) or APZSampler (for
sampler-API methods). There's also a bunch of android-specific
dynamic toolbar code that uses this function - I don't want to
deal with that right now, so instead of removing it entirely we can just
make it Android-only.

MozReview-Commit-ID: I8DYWLYoFgP

--HG--
extra : rebase_source : 75e05825194f9c6843506bb5d82e1a0c6e2b08bb
2018-03-06 10:25:38 -05:00
Kartikaya Gupta 6107f5de3d Bug 1442627 - Add new APZSampler APIs to set the test scroll offset and zoom. r=botond
MozReview-Commit-ID: DrH1D42jfJx

--HG--
extra : rebase_source : 22c2546a8188c871bf106d5883452a1be32c482e
2018-03-06 10:25:37 -05:00
Kartikaya Gupta 752091f7a7 Bug 1442627 - Switch some call sites in WebRenderBridgeParent to use APZSampler. r=botond
MozReview-Commit-ID: AqtcAyTkcEK

--HG--
extra : rebase_source : dd00ef41c0dc2ca3f8179a217019d964735af320
2018-03-06 10:25:37 -05:00
Kartikaya Gupta 551f604b60 Bug 1442627 - Don't use GetAPZCTreeManager in CrossProcessCompositorBridgeParent. r=botond
Although CrossProcessCompositorBridgeParent still needs to create a
dummy APZCTreeManager of its own in place, we can at least stop it from
grabbing the "real" APZCTreeManager from CompositorBridgeParent, which
allows access to methods that might not be properly guarded with respect
to thread safety.

MozReview-Commit-ID: Btvez3OkFPs

--HG--
extra : rebase_source : a4bec1769ff2fb899bb2e65f99f8e715f9a94c44
2018-03-06 10:25:36 -05:00
Gurzau Raul 185d1fcf42 Backed out 7 changesets (bug 1442255) for failing c1 tests on mochitest/test_browserElement_inproc_PurgeHistory.html
Backed out changeset 208c4c42f641 (bug 1442255)
Backed out changeset 6a794e14fceb (bug 1442255)
Backed out changeset 62d1c57c37b4 (bug 1442255)
Backed out changeset 5d0f72867f53 (bug 1442255)
Backed out changeset c3305648ad30 (bug 1442255)
Backed out changeset 08f906f3a0c8 (bug 1442255)
Backed out changeset d7a43e59a1b4 (bug 1442255)
2018-03-06 17:08:57 +02:00
Marco Bonardo 1418f1b65c Bug 1440644 - Fix a typo preventing the bookmark dialog storing a keyword. r=standard8
MozReview-Commit-ID: KULAKtzipxY

--HG--
extra : rebase_source : 327f1c5602613c1b194e294d91ace01fd97ed763
2018-03-06 11:39:30 +01:00
Mark Banner 0722fe3ee3 Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
MozReview-Commit-ID: IVMeZHGdVBk

--HG--
extra : rebase_source : 0705e96256baf6dc82811297058aa1d820b2f119
2018-03-06 12:01:59 +00:00
Tiberius Oros 9a5db673a8 Backed out changeset 32c3c20fd489 (bug 1443419) for shell failure on shell failure on /firefox-snap/runme.sh:53 on CLOSED TREE
--HG--
extra : amend_source : cbc8b1f406e34c98ebb5e1ba570859a9b2d90988
2018-03-06 15:25:37 +02:00
Alexandre Poirot 6afc5d44f8 Bug 1442160 - Remove unnecessary usages of generators in storage test. r=miker
MozReview-Commit-ID: 3x06Clvqtyq

--HG--
extra : rebase_source : ca5425a4bc34f992bf9c7f7d29531bd92479eb5b
2018-03-01 00:47:22 -08:00
Ken VanDine 14dd930e17 Bug 1443419 - Extract gtk30.mo files from all the Ubuntu langpacks and bundle them into the snap. r=jlorenzo
MozReview-Commit-ID: BGioikt15CL

--HG--
extra : rebase_source : 2f7a3bd3b66bd0dbd0534398d0d4056b4f199019
2018-03-06 09:15:26 +00:00
Gerald Squelart a1f5bed9e9 Bug 1443367 - Rework MakeNotNull to build with VS 2017 15.6 - r=njn
VS 2017 15.6 (March 2018) doesn't seem to understand
`*DeclVal<SharedFontList*>()` anymore.
To work around this issue, the pointed-to type is now extracted in a separate
struct, for which we provide a specialization for raw pointers, so we don't
encounter the shaky `*DeclVal<T*>()` statement anymore.

MozReview-Commit-ID: FuslManbfdB

--HG--
extra : rebase_source : be3813aa9a028e6891cb3de1fc4faae5bde0348e
2018-03-06 20:27:27 +11:00
Emilio Cobos Álvarez 1eb8ff79cc servo: Merge #20210 - style: Add a comment about the weird setup for justify-items (from emilio:justify-items-kinda-sucks); r=Manishearth
And derive ToCss while at it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 226d9a5b0e69185b95c62e79b81044beba477654

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ec12a77c78322539584e8392b907e87a1de167ce
2018-03-06 05:29:17 -05:00
Andreas Tolfsen e8b0dd1386 Bug 1442543 - Add type checks for WebDriver:{ExecuteScript,ExecuteAsyncScript}. r=whimboo
Adds type checks for the WebDriver:ExecuteScript and
WebDriver:ExecuteAsyncScript commands.  This should help prevent
accidental programming mistakes with the Marionette Python client.

MozReview-Commit-ID: JjKgG9OWrdL

--HG--
extra : rebase_source : cd652717f6d4b98d396386e2b971d51a7e737725
2018-03-02 13:25:59 +00:00
Henrik Skupin 86fe20bf8b Bug 1407383 - [wdspec] Re-enable key.py on Linux64. r=jgraham
The timeout failures for key.py only happen on Linux 32 due to
a slow startup of Firefox for the very first test. Bug 1377805
tracks enabling the test for Linux32.

MozReview-Commit-ID: JKVMQfz0rpx

--HG--
extra : rebase_source : 047aac86759a41244e6322a6b6ea0f30fe61ff71
2018-03-05 23:43:14 +01:00
Henrik Skupin 38c3e2b8d2 Bug 1407383 - [wdspec] Remove usage of mozlog to prevent process lock. r=jgraham
Due to misbehavior of the threading module in how threads are forked,
the mozlog module and specifically the Lock instance in StructuredLogger
can cause a hang of random duration when trying to require the lock.

Given that mozlog isn't used anywhere workaround this problem by
removing all instances of it.

MozReview-Commit-ID: 10yrUIb0XW4

--HG--
extra : rebase_source : 2ce40453b7e268817c291ae369c7ed4100634b75
2018-03-05 22:32:57 +01:00
Henrik Skupin d48531cbad Bug 1407383 - [wdspec] Remove unused imports from fixtures module. r=jgraham
MozReview-Commit-ID: LgAI7fOhyqB

--HG--
extra : rebase_source : 6584b2d01fccdd7a6257bd83c5884bc999d94264
2018-03-05 22:33:48 +01:00
Michael Ratcliffe 9bcb26d26c Bug 1437807 - Enable browser_console_addonsdk_loader_exception.js in new frontend r=jdescottes
MozReview-Commit-ID: 4vGsRWzuFpn

--HG--
extra : rebase_source : 81e3ee6286d4006fc5227a519827805ec6c62947
2018-03-01 18:12:19 +00:00
Johan Lorenzo 2e4d45ba2b Bug 1443432 - Set scopes to push to Snap store's candidate channel r=mtabara
MozReview-Commit-ID: B2Z6bdDJw6f

--HG--
extra : rebase_source : 1a04ea56d68ae3f7a5408b9886f2d83952496d7b
extra : source : 517fe68440b3c9b31611a83e3208793e287dc56a
2018-03-06 10:55:21 +01:00
Henrik Skupin 87af8d3b07 Bug 1443446 - Enable geckodriver/Marionette trace output for wdspec test jobs in automation. r=ato
MozReview-Commit-ID: 14l4teCjrbY

--HG--
extra : rebase_source : 439b34c6076f6a5d12a5637ed592ac3d25f56adb
2018-03-06 11:41:59 +01:00
Erica Wright 1d0db76459 Bug 1401847 - Custom layout grid colors should be restored per domain. r=jdescottes
MozReview-Commit-ID: GYrZl3r7040

--HG--
extra : rebase_source : 82009f93bacf7cb2fccee7cf187d2a52980d4457
2018-02-16 10:40:09 -05:00
Emilio Cobos Álvarez 5f157cdc49 Bug 1443205: followup: Fix a typo from the previous patch. r=me
MozReview-Commit-ID: Iv3sGbJUin8
2018-03-06 11:04:55 +01:00
Anthony Ramine d63cc0111f servo: Merge #20200 - Derive some more ToCss stuff again (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 17b5a8332b4309188ea7ce9c1aa5919aeb7834e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 224a884f024caccd42d7116d7c0e1ee486ce7913
2018-03-06 03:33:18 -05:00
Zibi Braniecki a17ecedb71 Bug 1438608 - Improve error reporting of Fluent missing strings. r=stas
MozReview-Commit-ID: 5HOsUGtDi3V

--HG--
extra : rebase_source : 14bae133efb1338813145c9c8a543302a1b0c0db
2018-03-06 01:25:23 -08:00
Emilio Cobos Álvarez 8a71d9537a Bug 1443205: Convert media feature values to enum classes. r=xidorn
Reviewers: xidorn

Bug #: 1443205

Differential Revision: https://phabricator.services.mozilla.com/D677

MozReview-Commit-ID: E0zQHBv0Ysc
2018-03-06 10:04:08 +01:00
Jesse Cordeiro f2ca13ed29 Bug 1421387 - Change the error banner for styleditor load errors to warnings; r=pbro
MozReview-Commit-ID: 9zdvMIuGw0P

--HG--
extra : rebase_source : 9cf53d4dd1ae11f576e69b85688d4a08487bbbf9
2018-03-06 09:03:37 +01:00
Chris Peterson 73675ec9f2 Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert
-Wmissing-prototypes is a new optional warning available in clang ToT. It warns about global functions that have no previous function declaration (e.g. from an #included header file). These functions can probably be made static (allowing the compiler to better optimize them) or they may be unused.

Confusingly, clang's -Wmissing-prototypes is equivalent to gcc's -Wmissing-declarations, not gcc's -Wmissing-prototypes. A function prototype is a function declaration that specifies the function's argument types. C++ requires that all function declarations specify their argument types, but C does not. As such, gcc's -Wmissing-prototypes is a C-only warning about C functions that have no previous function *prototypes* (with argument types), even if a previous function *declaration* (without argument types) was seen.

MozReview-Commit-ID: FGKVLzeQ2oK

--HG--
extra : rebase_source : 81e62163bf41a5d5dd87abf5397e6e8c62ed4096
extra : source : 653a9fc279e2f6a6d066474a94a70d65ac703d6b
2018-02-22 21:03:45 -08:00
Dan Glastonbury d1d3dca95f Bug 1443368 - Update cubeb-pulse-rs to commit 22cdde3. r=kinetik
Pull for change to replace assert in get_server_info callback with
proper handling for null pointer.

MozReview-Commit-ID: 996HQw3FyYQ

--HG--
extra : rebase_source : a0d8a0d4ed6df1e5cad13b8ad03d9e1d10fc9223
2018-03-06 15:49:08 +10:00
Zibi Braniecki e0dc62fb37 Bug 1363862 - Use Node.localize for fragment translation in Fluent DOM. r=stas
MozReview-Commit-ID: 1zAbSMapi86

--HG--
extra : rebase_source : 5b0ca1113bf99f6308db4655ebaec0ab6f2eb416
2018-03-01 16:49:37 -08:00
Zibi Braniecki 8313ce3a74 Bug 1363862 - Add Node.localize API as a fast-path for Fluent DOM localization. r=baku
MozReview-Commit-ID: 6mj0q21Nbey

--HG--
extra : rebase_source : 3da2ba3b712f4708f57cc859c28e3dd996208ca5
2018-02-21 14:07:53 -08:00
Jim Chen 9b7b3f4565 Bug 1442255 - 7. Switch the order of fd arguments; r=jchen
Switch the order of the IPC FD argument and the crash FD argument in
e10s calls, because the IPC FD is the primary FD, and the crash FD
should be grouped with the crash annotation FD.

MozReview-Commit-ID: CAVyYAIIBPm

--HG--
extra : rebase_source : 02bf7337fa9a6d1194809c224acb4a2690fd87a3
2018-03-06 00:04:56 -05:00
Jim Chen 6fa8cbb06e Bug 1442255 - 6. Adjust process count for GeckoView; r=jchen
Set process count to 1 because we only support one child process right
now.

MozReview-Commit-ID: HJAWvN4aqSX

--HG--
extra : rebase_source : 8ade58427e8555f70a9349e6228b8aa7d1079781
2018-03-06 00:04:56 -05:00
Jim Chen acc5349a8d Bug 1442255 - 5. Use extras bundle to initialize child processes; r=esawin
Pass the extras bundle from the main process to the child process
through IChildProcess.start, instead of through the Intent, which never
worked because intent extras are not passed to Service.onBind.

MozReview-Commit-ID: I2EToBNE2Y6

--HG--
extra : rebase_source : e49ece736ad475468c37c5d158e013a791cf4484
2018-03-06 00:04:56 -05:00
Jim Chen 63d04540b7 Bug 1442255 - 4. Use extras bundle to initialize Gecko in Fennec; r=esawin
Use extras bundle (e.g. from an Intent) to initialize Gecko in GeckoApp
and GeckoService.

MozReview-Commit-ID: AmLZ8Uir8f4

--HG--
extra : rebase_source : 2d48fa2593be051813c1e381d68983ce4315579e
2018-03-06 00:04:56 -05:00
Jim Chen 41f5b6ffe2 Bug 1442255 - 3. Use extras bundle to initialize Gecko in GeckoView; r=esawin
Use extras bundle to initialize Gecko in GeckoSession and
GeckoViewActivity.

MozReview-Commit-ID: 7dtaziVBDcg

--HG--
extra : rebase_source : ab62e17148ab29ae75315e0054aa1d23756bc9b7
2018-03-06 00:04:55 -05:00
Jim Chen cb306b979f Bug 1442255 - 2. Replace GeckoThread fields with extras bundle; r=esawin
Introduce an extras bundle in GeckoThread, which we use to store things
such as extra main process arguments and child process FDs. Also use the
extras bundle to store environment variables to be passed to
GeckoLoader.

MozReview-Commit-ID: tRlBaAXxVa

--HG--
extra : rebase_source : a6544e9418272699530ad3264ab8a2f2b8c3b196
2018-03-06 00:04:55 -05:00
Jim Chen ffc1a2a5b8 Bug 1442255 - 1. Replace setLastIntent with extras bundle; r=esawin
GeckoLoader.setLastIntent is not a very good API for setting environment
variables and is often forgotten. Replace it with an extras bundle that
is passed to setupGeckoEnvironment.

MozReview-Commit-ID: IFhHjLdwFC5

--HG--
extra : rebase_source : 0bde54fc7e1164a2b0fef8fbd161168a45aa07ab
2018-03-06 00:04:55 -05:00
Masayuki Nakano 9d71742b36 Bug 662591 - HTMLEditor should set caret to start of first editable text node or before first editable inline node r=m_kato
Currently, HTMLEditor doesn't initialize caret position when it gets focus by
itself in most cases.  Only when it's in designMode, it may move caret to the
first visible (not checking CSS actually).

In most cases, caret position is adjusted when EditorBase::InitializeSelection()
calls Selection::SetAncestorLimiter().  If selected range is outside of
new limiter, it moves caret to start of the new limiter.  However, this is
really different behavior from the other browsers.  The other browsers try
to move caret to the first editable text node or before the first editable
content such as <img>, <input>, etc.

This difference causes a serious incompatible issue with Draft.js.  It doesn't
initialize caret position when it gets focus but it assumes that caret is
always set to before <br> element if there is no other content.

So, let's try to behave as what other browsers do as far as possible.

This patch makes editor behave as:
* if selection is already in the editing host except start of the editing host,
  does nothing.
* if there is non-editable element before any editable node, move caret to
  start of the editing host.
* if there is editable text node or element node which cannot have a text node,
  move its start or before it.
* if there is no editable nodes which can contain text nodes, move caret to
  start of the editing host.

Note that before applying this patch, in designMode, BeginningOfDocument() used
document element instead of <body> element.  Therefore, it may set odd position
if <head> element has some text nodes with <script> or <style>.  However,
this doesn't make sense and for making more consistent behavior between
designMode and contenteditable, this patch makes it use editing host (it's
<body> element if it's in designMode).

MozReview-Commit-ID: 5neYoTMq6Cc

--HG--
extra : rebase_source : c4d06b6864a221d7cd2833a007d73f7d67821e95
2018-03-02 14:20:25 +09:00
Cosmin Sabou 385d483eb3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-06 06:30:21 +02:00