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

557137 Коммитов

Автор SHA1 Сообщение Дата
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
Ehsan Akhgari 233352f9ba Bug 1397576 - Avoid using GetChildAt() in HTMLEditor::GetCellFromRange(); r=smaug 2017-09-07 09:36:07 -04:00
Ryan VanderMeulen 4d504e0608 Backed out 3 changesets (bug 1393230) because it touches the servo directory.
Backed out changeset 9115364cd4aa (bug 1393230)
Backed out changeset f762f605dd83 (bug 1393230)
Backed out changeset c366bfc13e86 (bug 1393230)
2017-09-07 09:33:53 -04:00
Sebastian Hengst 8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Bob Silverberg af87b038ca Bug 1364972 - Allow WebExtensions to disable animated images, r=mixedpuppy
This adds a browserSetting.imageAnimationBehavior API which accepts one of three
values: "normal", "none", "once". Behind the scenes it sets the image.animation_mode
preference to the same value.

MozReview-Commit-ID: GLT6oJgpF3

--HG--
extra : rebase_source : e1675bf4042e7e5fcee768231ffeccf19dc77c69
2017-09-06 16:46:38 -04:00
Drew Willcoxon 598dc0db5b Bug 1397583 - With compact UI density, urlbar animations for Pocket and bookmark star are in the wrong place (offset to the right of the normal icon). r=jaws
MozReview-Commit-ID: 2tr0ZBCNakA

--HG--
extra : rebase_source : 515071d89dafbb377083c0a6e91277d2390f7ed5
2017-09-07 11:40:59 -07:00
Fernando Jiménez Moreno 383681557d servo: Merge #18283 - User Timing API (from ferjm:user.timing.api); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18109
- [X] There are tests for these changes. I enabled the peformance-timeline API WPTs but some of them are still failing because of implementation bugs or missing APIs (Resource Timing, for instance) the tests are dependent of. I'll file issues to fix them.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e93749941d2e3569c7c907832658c57ffb18c72

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4344c6a1c60484c840cbd3be4112d0c3a710b523
2017-09-07 12:45:46 -05:00
Dão Gottwald 9c94a5b109 Bug 1396178 - Fix tab-icon-overlay's position in non-pinned tabs. r=jaws
MozReview-Commit-ID: HifbacxLuAR

--HG--
extra : rebase_source : b6f89238f4086e8fbd4438c02d4f8a921b5c235e
2017-09-07 10:47:45 +02:00
Dão Gottwald c7b1f4e0f1 Bug 1388514 - Make the sidebar splitter narrower again to prevent it from overlapping the scrollbar too much, and disable this behavior on Linux since scrollbars are too narrow on Ubuntu. r=Gijs
MozReview-Commit-ID: Hi4MUsbEFXd

--HG--
extra : rebase_source : c7f6a15671e19ab1562e085fe3a200712aa81b3f
2017-09-07 20:22:58 +02:00