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

557145 Коммитов

Автор SHA1 Сообщение Дата
Boris Chiou 607197f59b servo: Merge #18409 - Keep the unit of the serialization of specified::CalcLengthOrPercentage (from BorisChiou:stylo/calc/unit); r=emilio
For the serialization of specified values of calc(), we should keep the
units of absolute lengths, so use AbsoluteLength.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1396692](https://bugzilla.mozilla.org/show_bug.cgi?id=1396692).
- [X] These changes do not require tests because we have wpt tests for this already.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b7457e060f95f43ce85af9618c3daf64db32a259
2017-09-07 21:34:28 -05:00
Chris Peterson 6978210403 Bug 1394603 - Infer asserts-if(styloVsGecko, X*2) from asserts(X). r=jryans
MozReview-Commit-ID: BkvMyNYzpkO

--HG--
extra : rebase_source : 1471e83628782bc3406e33bb4bd9a60341d8c590
extra : source : 80b3e232d7bae7e9b1b1d00fedae51fd222106dc
2017-09-03 20:22:35 -07:00
Chris Peterson 3e9e421167 Bug 1394603 - Replace random-if(styloVsGecko) with skip-if. r=jryans
Running individual random tests might still be useful for finding crashes or assertion failures, but there is no need to run the styloVsGecko visual comparison tests if the results are random.

MozReview-Commit-ID: Brz6zf25lCO

--HG--
extra : rebase_source : 74b453e952da2710f069afc6b8d8017a4ec021dd
extra : source : 95dc8a8a752d1a1ac05e026115aff319fc27e772
2017-09-03 21:05:29 -07:00
Chris Peterson ce7edc4de1 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 22bb5d4e3c5138ef832995eaf5716824f4707ffe
extra : source : d40fb20c9a49d0797c0eeae613a04912b12a28f7
2017-09-01 20:39:44 -07:00
Xidorn Quan 749154c86c Bug 1397052 - Add gtest for concurrent accessing. r=froydnj
MozReview-Commit-ID: K3enhwjyGYE

--HG--
extra : rebase_source : 0c714a453e584ba3ceeef7e46e2c13bd6016a179
2017-09-07 10:08:31 +10:00
Nevin Chen 4a44c9d515 Bug 1372040 - Temporary showing large icons for AdaptiveIconDrawable. r=maliu
I don't want to call BitmapUtils.getBitmapFromDrawable() here for AdaptiveIconDrawable cause there might be performance impact if I create bitmap in main thread.
I'll use bug 1397174 to follow up this issue.

MozReview-Commit-ID: 64FE2MOk5g0

--HG--
extra : rebase_source : 041e0a5f9d7b4245650f5a229603818b11631b4e
2017-09-06 12:09:31 +08:00
Nevin Chen 171beb013a Bug 1397184 - Add MMA doc to index. r=liuche
MozReview-Commit-ID: FyO2E35p4rF

--HG--
extra : rebase_source : f781009ac9821d6a877af34df5da8b7f62e5ca58
2017-09-06 16:48:12 +08:00
Karl Tomlinson 00beb33110 bug 1396722 remove no-op ReleaseStyleContext() r=stransky+263117
MozReview-Commit-ID: DgKM0wrStrk

--HG--
extra : rebase_source : a26fdc5e5d6c63e21bb98a19ee7bf58042f9b3ba
2017-09-05 09:16:01 +12:00
Ted Campbell bc4240f456 Bug 1395360 - Add ExecuteInNonSyntacticGlobal to jsfriendapi r=jorendorff
This API is for use by mozJSComponentLoader to load JSMs into a
NonSyntacticVariablesObject with a shared global.

MozReview-Commit-ID: LtGdY4ULy45

--HG--
extra : rebase_source : 8d71718b567d7a00c4bfc4514ed342b9ab56c7b0
2017-09-02 13:00:20 -04:00
Ted Campbell 512b08d6d4 Bug 1395360 - Factor out ExecuteInNonSyntacticGlobalInternal r=jorendorff
MozReview-Commit-ID: AMISJPCKqw9

--HG--
extra : rebase_source : 5a72ed6c0a4b28a604f58c296a131a32364ddae8
2017-09-02 12:45:25 -04:00
Jared Wein 8a5df47f41 Bug 1394588 - Include the gNavToolbox offset in the calculation of the library drop animation. r=Gijs
MozReview-Commit-ID: 90eUNtqE0ee

--HG--
extra : rebase_source : 833a1738599b9620a05859a40e687329a229368a
2017-09-05 14:50:52 -04:00
Masayuki Nakano e1f1db7272 Bug 1396725 - IMEStateManager doesn't need to manage whether menu keyboard listener is installed in different process r=smaug
Currently, IMEStateManager::OnChangeFocusInternal() tries to sync the state
whether menu keyboard listener is installed between itself and active remote
process -- When menu keyboard listener is installed, it posts a message to
_only_ active remote process.  When menu keyboard listener is uninstalled,
it posts a message to _only_ active remote process.  So, it's not guaranteed
that active remote process at installing and uninstalling may be different.
If it's different, IMEStateManager in the old remote process believes that
menu keyboard listener is still installed.  This is what the cause of IME
unavailable in a remote process.

Current approach must be wrong.  IMEStateManager should manage menu keyboard
listener state only in the process which the listener is installed in.  Then,
when menu keyboard listener is uninstalled, IMEStateManager needs to restore
the latest input context in the remote process without asking the remote
process.

Therefore, this patch does:

* stops IMEStateManager::OnChangeFocusInternal() posting message when menu
  keyboard listener is installed and uninstalled.
* removes the message sender and receiver from PBrowser.
* cache the latest input context of active remote process in
  IMEStateManager::SetInputContextForChildProcess().
* make IMEStateManager::SetInputContextForChildProcess() not set input context
  when menu keyboard listener is installed in the process.
* tries to restore latest input context in the remote process in
  IMEStateManager::OnChangeFocusInternal().  If there is no cached input
  context, it does nothing and waits next SetInputContextForChildProcess() call.
* clears the cache when IMEStateManager::OnChangeFocusInternal() changes
  active remote process to different one or nullptr.

So, this must improve performance at activating and inactivating memubar and
opening and closing popup menu in the main process.

MozReview-Commit-ID: EelKSPlaXdw

--HG--
extra : rebase_source : db7334b3c0d3ce87868450ee3179692027975bd6
2017-09-07 11:46:08 +09:00
Glenn Watson 8efbb5e854 servo: Merge #18416 - Update WR (clip optimizations, shadow fixes, angle update) (from glennw:update-wr-clips); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 2719e6570574f2f911a9bf2cc085deeadd4a9ac2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eea0baa96d91574e5575ba41bd579c7a2b15970f
2017-09-07 19:10:57 -05:00
ahillier afd4276b35 Bug 1397390 - Support better thumbnails for image urls r=k88hudson,Mardak
MozReview-Commit-ID: Ksxo6Gj2rIO

--HG--
extra : rebase_source : e46bbbdbd0ba87eb7475c6c49b46104ae77d9c40
2017-09-07 21:18:45 -04:00
Daosheng Mu 8a895d7e7f Bug 1352520 - Add GeckoProfiler markers for WebVR; r=kip
MozReview-Commit-ID: 6j22J0rSw1Y

--HG--
extra : rebase_source : 44f3d0052ab0b608f3b5cea5b977f7a2bba428b6
2017-09-06 16:08:21 +08:00
Drew Willcoxon 67fd8c9838 Bug 1397501 - Page actions added to the urlbar should always come before the bookmark star. r=Gijs
MozReview-Commit-ID: 6pVlr9d0crn

--HG--
extra : rebase_source : 0f83a8ea8ada71bc6ce88859d09fc93460abafa3
2017-09-07 16:44:34 -07:00
Mark Hammond 5317324bec Bug 1397537 - check FxA has a session token and enter a needs-reauth state even when the user is unverified. r=eoger
MozReview-Commit-ID: KuldXySDvt4

--HG--
extra : rebase_source : 9b33265b341e7fcd5be9dc6e3b01d218ce1aabca
2017-09-07 11:13:53 +10:00
Julian Descottes e3f444304a Bug 1397296 - remove mappings for gre/modules/commonjs in devtools loaders;r=ochameau
MozReview-Commit-ID: 2l3cJhGs24t

--HG--
extra : rebase_source : f4f21be37d9775929c7420574d5cca61ada4308b
2017-09-06 16:42:48 +02:00
Gregory Szorc a10afb7289 Bug 1397503 - Vary cache name when using out-of-tree Docker images; r=dustin
We currently vary the cache name for run-task tasks whenever run-task
changes. This allows us to not worry about backwards or forwards
compatibility of caches in run-task tasks.

This strategy doesn't work for out-of-tree Docker images because
the content of run-task cannot be determined at Taskgraph time:
the content of run-task was determined when that Docker image was
built and there is no way to get that content efficiently during
Taskgraph.

So, for out-of-tree Docker images we now vary the cache name by
the Docker image value, which includes its name and a tag or
hash. This means that out-of-tree run-task tasks will get separate
caches for each distinct Docker image.

This isn't ideal. Ideally we would share caches if run-task doesn't
vary between Docker images. But without any way of proving that
at Taskgraph time, we take the safe road and force cache separation.

MozReview-Commit-ID: FMiQBqfvjqW

--HG--
extra : rebase_source : b2763625a3a69e0cf11b6d648a6fcca379234f02
2017-09-06 16:09:15 -07:00
Gregory Szorc bdc5122002 Bug 1397503 - Perform cache sanitization for image_builder tasks; r=dustin
The image_builder Docker image doesn't set a "command" in its task
definition. The image instead relies on a RUN in its Dockerfile to
control the started command. This command is a shell script which
eventually runs run-task.

This all means that image_builder tasks are executing run-task but
the cache sanitization implemented in bug 1391476 isn't getting
applied to those tasks. This means run-task could barf due to
constraint violations due to improperly configured caches.

The fix for this is to teach the generic task transform that
image_builder tasks use run-task. The effect of this is that
some environment variables get set and the cache name changes
depending on the contents of run-task.

MozReview-Commit-ID: IFqsDxD0eDh

--HG--
extra : rebase_source : 280983eae7d6a44dfd70f0da8ce325e90e9555c4
2017-09-06 15:35:13 -07:00
Wes Kocher eace83acfa Backed out changeset 0c2b838c91e4 (bug 1386304) for eslint failures in asan-reporter/bootstrap.js a=backout
MozReview-Commit-ID: KjA9iDDA2hp
2017-09-07 16:51:48 -07:00
Wes Kocher 2ec453d1bb Backed out 2 changesets (bug 1379833) for android lint failures a=backout
Backed out changeset 8bbf531110dd (bug 1379833)
Backed out changeset c06bc2f7acd3 (bug 1379833)

MozReview-Commit-ID: 5iCJ3qsMC1Q
2017-09-07 16:25:50 -07:00
Wes Kocher 4d3b3a806c Backed out 6 changesets (bug 1392143) for lint failures in SanityTest.js a=backout
Backed out changeset 5e167360b1f9 (bug 1392143)
Backed out changeset c1fcfceeefae (bug 1392143)
Backed out changeset 5220b19f1fc0 (bug 1392143)
Backed out changeset ff3a335e7111 (bug 1392143)
Backed out changeset b1627a3a5d77 (bug 1392143)
Backed out changeset 40e16e34df00 (bug 1392143)

MozReview-Commit-ID: KWifvOL8d9s
2017-09-07 16:17:11 -07:00
Christian Holler 06f527a679 Bug 1386304 - Add and integrate asan-reporter system add-on. r=froydnj
MozReview-Commit-ID: IwE2LzofLz0

--HG--
extra : rebase_source : bd952047103a990d314667fc73a4cf570f9a2bde
2017-07-31 15:13:38 +02:00
Brian Birtles 4237554d55 Bug 1357296 - Drop warning about needing to factor out text-zoom in SMIL; r=hiro
I'm not sure exactly how this works, but test_smilTextZoom.xhtml passes so this
appears to be taken care of.

MozReview-Commit-ID: C04XjX2rtZw

--HG--
extra : rebase_source : 19c08a1267f8764f83e9e7b31731bb82e52df9e6
2017-09-07 15:50:21 +09:00
Anthony Ramine 4d2e9e52b8 servo: Merge #18411 - Rename VirtualMethods::attribute_is_mapped (from servo:rename-preshint-method); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e9336b39a6c24037f8dce1bbc85f437af5f439d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : abbaa026055a724705a5cbdf2e082d7de4309843
2017-09-07 15:56:01 -05:00
Andrew Swan c489cd113c Bug 1379833 Part 2: Display permissions dialog during extension install on Android r=sebastian,walkingice
MozReview-Commit-ID: 721i0B0lC4n

--HG--
extra : rebase_source : 2aadb34cc8f901181a1d894f2d823420b602487e
extra : intermediate-source : facd660f3c054d2d082bed635df5af312ec9773f
extra : source : 95aaed050f22ef61d3bedbb5b47d043d10624eeb
2017-08-15 08:35:11 -07:00
Andrew Swan c6db1e511a Bug 1379833 Part 1: Move common code to format permission dialog strings to Extension.jsm r=zombie
MozReview-Commit-ID: LvyEy7x9TJg

--HG--
extra : rebase_source : 18fedb2b86ef6a1baf36b33caed3d3d3a7150147
extra : intermediate-source : e742aefc28987ea2e80fda91ff277343862d2b5a
extra : source : 90778683c3dd067754dfff4ca776e2c0f9ad7c3b
2017-08-02 13:15:30 -07:00
Matt Howell a35859bf12 Bug 1380984 - Fix a failure to detect that an install is registered as a possible default browser on Windows 7. r=agashlin
MozReview-Commit-ID: BnuvQTeBGFE

--HG--
extra : rebase_source : 39b445577d09e14d9600ec9ba2052c5ddd22bbaf
2017-09-07 09:41:38 -07:00
Ed Lee b61e2637f0 Bug 1396654 - Enable Activity Stream by default for all channels. r=mossop
MozReview-Commit-ID: F0hmI8nWTFR

--HG--
extra : rebase_source : a454beea653677c0d89d9dbe9f776247d11cbea6
2017-09-04 16:52:32 -07:00
Sebastian Hengst 92ec846a75 merge mozilla-central to autoland. r=merge a=merge 2017-09-08 00:05:35 +02:00
Sebastian Hengst ec5336561d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 3DvwIgw2ORU
2017-09-07 23:59:58 +02:00
Sebastian Hengst 5d9781d9f8 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6Nq2hl5g0a5
2017-09-07 23:50:27 +02:00
Wes Kocher 92f5cfcf34 Backed out changeset 60cb967ca47f (bug 1393924) for frequent failures in browser_meta_tags.js a=backout
MozReview-Commit-ID: EIkibRE8z3P
2017-09-07 12:32:58 -07:00
Wes Kocher fb047aaff3 Backed out changeset 674775dda8ad (bug 1364972) for eslint failures a=backout
MozReview-Commit-ID: 5tmy6XSi0sL
2017-09-07 12:31:11 -07:00
Jean-Yves Avenard 30d3f01b85 Bug 1392143 - P6. Use constants in coordinate calculations. r=mattwoodrow
This shows how the coordinates were actually calculated. and will make it easier should the video size needs to ever be changed again.

MozReview-Commit-ID: KkQNqz00Aw0

--HG--
extra : rebase_source : fb1074a28f2045c3889acc43fbe9c01dadc34a70
2017-09-07 19:36:20 +02:00
Jean-Yves Avenard 0c1d650052 Bug 1392143 - P5. Improve rendering test. r=mattwoodrow
We now check that the canvas is properly scaled by checking if the color immediately on the right of the canvas is correct.

If the rendering failed, we do not bother testing the H264 video decoder.

MozReview-Commit-ID: IwBwKnceLBg

--HG--
extra : rebase_source : bf0b881a23c2225dcebb13d79d5034c89a0a31e1
2017-09-07 19:19:35 +02:00
ffxbld 44c6939142 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-09-07 10:13:01 -07:00
ffxbld e280855418 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-09-07 10:12:58 -07:00
Jean-Yves Avenard cad4fd8f64 Bug 1392143 - P4. Change test expectations now that it passes. r=mattwoodrow
MozReview-Commit-ID: moLdQoJnQw

--HG--
extra : rebase_source : 260e99812d5d52426fb52088a43b096ffa460d63
2017-09-07 17:52:49 +02:00
Jean-Yves Avenard 0809599a4b Bug 1392143 - P3. Resize window after moving it. r=mattwoodrow
This ensure that the window still has the intended size if it had been resized due to different DPI setup.

MozReview-Commit-ID: 9oeXbTKQqhe

--HG--
extra : rebase_source : cfe3a9d5faa4a4dadd766cf1d3751b61bde929f1
2017-09-07 17:49:05 +02:00
Bas Schouten d8964297e9 Bug 1397040: During D3D11TextureData::Create lock the device multithread mutex explicitly when accessing the device. r=mattwoodrow
MozReview-Commit-ID: Ip1c8jnJE7r
2017-09-07 14:39:14 +00:00
Ehsan Akhgari 2231e4a948 Bug 1397577 - Avoid using GetChildAt() in HTMLEditor::GetSelectedOrParentTableElement(); r=smaug 2017-09-07 10:29:02 -04:00
Joel Maher 11fb78d647 Bug 1352791 - Disable browser/base/content/test/alerts/browser_notification_do_not_disturb.js on windows 7. r=gbrown 2017-09-07 10:23:53 -04:00
Joel Maher b4616d29c6 Bug 1383315 - Disable browser/base/content/test/tabcrashed/browser_noPermanentKey.js for linux 64/debug. r=gbrown 2017-09-07 10:23:51 -04:00
Joel Maher 9fbe3c3b85 Bug 1390858 - run mochitest-gpu and mochitest-chrome and mochitest-clipboard on windows 10. r=ahal 2017-09-07 10:23:48 -04:00
Geoff Brown 2deab31186 Bug 1389301 - Adjust fuzzing for backgrounds/attachment-local-clipping-image-5.html; r=mchang
Avoid failures on stylo.
2017-09-07 08:22:36 -06:00
Geoff Brown c4d42f98dd Bug 1389332 - Adjust fuzzing for backgrounds/attachment-local-clipping-image-4.html; r=mchang
Avoid failures on stylo.
2017-09-07 08:22:34 -06:00
Ryan VanderMeulen ffcd6c269f Bug 1393375 - Update HarfBuzz to version 1.5.1. r=jfkthame
--HG--
extra : rebase_source : fe31a7ee242cb4e76b8a89051cb1e3497f0b8478
2017-09-07 09:36:27 -04:00
Andrew Osmond 64d9b7e1c7 Bug 1389021 - CompositorBridgeChild::ActorDestroy should not prevent CompositorBridgeChild::ShutDown from returning. r=nical
When CompositorBridgeChild::Destroy is called from ShutDown, it will
only call AfterDestroy if it has not been previously destroyed, and if
ActorDestroy has not been called by the IPDL code. AfterDestroy is
always necessary to allow ShutDown to return because it is what clears
the static reference used as a event loop spinning condition in
ShutDown. Now, AfterDestroy is safe to call multiple times, and even
if ActorDestroy was already called, we will try it from Destroy before
returning early.
2017-09-07 09:37:26 -04:00