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

542207 Коммитов

Автор SHA1 Сообщение Дата
Alexis Beingessner d1bf902f83 Bug 1365772 - Refactor gfx blocklist tests to fail on unsupported platforms. r=kats
They currently silently pass and early-exit under several conditions, which is really confusing if you're trying to actually run them properly. They should either be marked as skipping or failing to hint to the developer that something strange is happening. It appears that skip-if simply doesn't function correctly when applied to these tests, so fail-if is used. fail-if is also useful because it forces anyone introducing a new platform to evaluate how these tests should handle it.

MozReview-Commit-ID: CPYdL242bGc

--HG--
extra : rebase_source : 243ede16d4015969a6abfd64e6071131ce5a9f2a
2017-05-30 09:25:40 -04:00
Alexis Beingessner 5c589ff480 Bug 1365772 - Allow component alpha to be managed by blocklists. r=kats
MozReview-Commit-ID: 5iEuUtmfkLl

--HG--
extra : rebase_source : 5c39798c464d790cd76254dedba4c76470dc2126
2017-05-30 09:25:40 -04:00
Alessio Placitelli e22f5d26c6 Bug 1373913 - Skip the default browser test on Thunderbird. r=gfritzsche
MozReview-Commit-ID: 41BfL50DLpL

--HG--
extra : rebase_source : 96e938fe4cc0da37e4f5d0c7b1cc5533bf3b5a4d
2017-06-19 09:36:09 +02:00
Gijs Kruitbosch cf239a7857 Bug 1370482 - use longer timeout for browser_ext_sidebarAction.js, r=mikedeboer
MozReview-Commit-ID: Fp9rXZlwfI6

--HG--
extra : rebase_source : e70fc0ee2863abf09e3e8bfb4597912e66fd0ab0
2017-06-19 16:17:27 +01:00
Emilio Cobos Álvarez f7a6c272b7 Bug 1370802: There's actually no need for lang to be lowercased. r=heycam
MozReview-Commit-ID: KwtbLqR9Y81

--HG--
extra : rebase_source : 644eadfb0d20e5ee5e1b26eab348903e8033b868
2017-06-17 02:27:59 +02:00
Emilio Cobos Álvarez fcca8a7219 Bug 1370802: Make the lang rule operate on atoms, not strings. r=heycam
MozReview-Commit-ID: KG9i4Mc3ovN

--HG--
extra : rebase_source : 7c5f108c27ae150a99d185b155676f4f6a7b5437
2017-06-16 23:59:08 +02:00
Emilio Cobos Álvarez 1939327306 Bug 1370802: Cleanup style and indentation in GenericSpecifiedValues.h and related files. r=heycam
This is all automated with clang-format.

MozReview-Commit-ID: 5V17XJjQN3X

--HG--
extra : rebase_source : 7be6ff865597aadda0a575bebcc24784a3ac0497
2017-06-16 03:57:29 +02:00
Emilio Cobos Álvarez a8ea1db99e Bug 1370802: Clean up copy-pasta in GenericSpecifiedValues code. r=heycam
MozReview-Commit-ID: ABXfuSmLQRU

--HG--
extra : rebase_source : 58b5b0aea23e362469a87e9592f8ebf9a8db5456
2017-06-16 03:56:45 +02:00
Emilio Cobos Álvarez f6dc661b5b Bug 1370802: Parse lang attributes as atoms. r=heycam
MozReview-Commit-ID: Cnq3wB7aVB1

--HG--
extra : rebase_source : fa0252b78381bf023ab08bf2d9fd13d4c0ed57a1
2017-06-15 21:48:26 +02:00
Emilio Cobos Álvarez cba8cd8660 Bug 1370802: Fix style issues in GenericSpecifiedValue subclasses. r=heycam
MozReview-Commit-ID: EsqfWL3AmH6

--HG--
extra : rebase_source : 3eddb8543b82ef0d2a1ef83d8f0ee0a2b79e0d5c
2017-06-15 21:42:15 +02:00
Alex Gaynor 45abd268c3 Bug 1221148 - Allow passing blob:// URIs to mozIJSSubScriptLoader; r=smaug
This is useful for legacy addons as we increasingly lockdown filesystem access
in content processes.

MozReview-Commit-ID: AZbsSFpbIvt

--HG--
extra : rebase_source : 56dfe91ac9fbeb0bd48dc8a2f87ed6038e7521cc
2017-06-07 11:00:24 -04:00
Valentin Gosu 5a85d67472 Bug 1322610 - MOZ_DIAGNOSTIC_ASSERT that serialized load context is not null in HttpChannelChild r=mcmanus
As part of network security, we currently crash the main process in NeckoParent::GetValidatedOriginAttributes if the SerializedLoadContext is null. This makes it difficult to find out who created the channel that has a null SLC. Adding this assertion to the child allows us to get a nice stack trace and maybe identify the root cause.

MozReview-Commit-ID: 7rz91oEaiRi

--HG--
extra : rebase_source : b411e1e9494623bacb506a2f820902a3f7aa7c2a
2017-06-14 17:17:10 +03:00
Markus Stange 2c241960ec Bug 1291457 - Remove shadow invalidation code. r=spohl
Invalidating a window's shadow is really slow and leads to flickering. Now that
arrow panels don't change their contents during the panel opening animation any
more, their shape stays the same after the first paint, so we don't need the
shadow invalidation functionality for them any more. And as far as I know, we
don't use transparent popups with changing shapes anywhere else.
The system still computes the shadow for the first paint of the window (which
happens during the orderFront call), and it updates the shadow whenever the
window resizes. But not when its size stays the same and only what we draw in
the content is updated.

MozReview-Commit-ID: 138PjbrSFrc

--HG--
extra : rebase_source : fed1c653ca3d88ef8b4e8e55a7d42b29e17a1624
2016-08-02 16:39:06 -04:00
Markus Stange 7dbdf64f91 Bug 1291457 - On Mac, use -moz-window-opacity and -moz-window-transform for the panel animations. r=dao
MozReview-Commit-ID: 86NXigOihj3

--HG--
extra : rebase_source : 8dfcda36e1c89acf3cd60db044c627b039702432
2017-06-09 11:19:29 -04:00
Markus Stange 284a74c2dc Bug 1370034 - Call SetWindowTransform with the right values from -moz-window-transform(-origin). r=dbaron
MozReview-Commit-ID: 3IVl3kdbpTd

--HG--
extra : rebase_source : 969b912c1be199844575c8b9e196f07d59638043
2017-06-19 00:49:52 -04:00
Markus Stange f8d4832d5f Bug 1370034 - Allow disabling window transforms using a pref. r=spohl
MozReview-Commit-ID: T5NWKMA4qz

--HG--
extra : rebase_source : 2959234f0c0c1368207efc17ec101cb5fc87e5b6
2017-06-09 11:16:48 -04:00
Markus Stange f4e6f4d70c Bug 1370034 - Add nsIWidget::SetWindowTransform and implement it on Mac. r=spohl
MozReview-Commit-ID: 6tghHjKe6pb

--HG--
extra : rebase_source : 0a2d2043d1d3aa9dfe1bd34ef33d598b8d985f36
2017-06-14 19:15:10 -04:00
Markus Stange 579f0e24a9 Bug 1370034 - Add CSS properties -moz-window-transform and -moz-window-transform-origin, style system parts (excluding stylo). r=dbaron
MozReview-Commit-ID: BlLMswF0bKO

--HG--
extra : rebase_source : c064a2774f352ca2a3b0139e8a8f657c3a4ea1d8
extra : source : 6bd03efee80afb048db2e51777a8e5ff6db80dc4
2017-06-19 01:44:22 -04:00
Markus Stange 24f428aed3 Bug 1370034 - Implement UpdateWidgetProperties for top level windows and for popups, and call nsIWidget::SetWindowShadow. r=dbaron
MozReview-Commit-ID: 9ooCdDRLOSq

--HG--
extra : rebase_source : 9394de7379c628cd5cd3d993b1902f59876801c2
2017-06-16 15:08:30 -04:00
Markus Stange 195251f3db Bug 1370034 - Add nsIWidget::SetWindowOpacity and implement it on Mac. r=spohl
MozReview-Commit-ID: ILqHQuQ4whl

--HG--
extra : rebase_source : 6d45806a0384a58993c425572a8305715df1a181
2017-06-14 19:14:02 -04:00
Markus Stange ccaf464b9e Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
MozReview-Commit-ID: J2SPMzh0I9C

--HG--
extra : rebase_source : b8c5f267f99fb7bab560af82a386cd3f3a9af5f3
2017-06-18 21:04:40 -04:00
bechen 6a5e557c75 Bug 1370838 - Because we need to ensure frame shown on the screen, so play the video to the end. r=jerry,jwwang
MozReview-Commit-ID: 7VPgbaozgSF

--HG--
extra : rebase_source : 8fdb3c8e408dd4f8e0875f15daa7b2ded0d99552
2017-06-19 13:43:10 +08:00
gasolin f0c47c12cb Bug 1370459 - Polish the onboarding overlay UI to align with new visual spec;r=Fischer,mossop,rexboy
MozReview-Commit-ID: AOsjcvuuWCZ

--HG--
extra : rebase_source : 0022ae4deb828518083bc85e06d1b245ceac9fcf
2017-06-19 09:52:04 +08:00
Nicolas Chevobbe 632857032b Bug 1370486 - Add mocha tests for messages store cleaning. r=Honza
In the process of adding those tests, I realized the cleanup was
not effective. There were some bugs for Immutable List (we can't
use delete in a withMutation callback), and in object/arrays (we
we're using Array.includes with another array as a parameter).
These were fixed, and the new tests are now passing.

MozReview-Commit-ID: NrKjLuu25

--HG--
extra : rebase_source : cdbdfdc7f5b2a1e3c71cb76cfcd42db5204332ff
2017-06-16 17:42:11 +02:00
Greg Mierzwinski 6596a67019 Bug 1335894 - Disable test_popupanchor.xul for linux. r=jmaher
Disable toolkit/content/tests/widgets/test_popupanchor.xul on linux machines as it permanently fais when running with Ubuntu 16.04.

MozReview-Commit-ID: HSX6xC8dG8k

--HG--
extra : rebase_source : c270b3456c92da2b49daa30cf44308b6880f5ea9
2017-06-18 10:04:23 -04:00
Mike de Boer f7e1f14006 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Carsten "Tomcat" Book 3271bd7354 Merge mozilla-central to autoland 2017-06-19 14:52:55 +02:00
Carsten "Tomcat" Book d14a5a593a merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Dragana Damjanovic e80186dffd Bug 1372897 - Test only the necko part of TFO, i.e. disable the nspr part. r=mcmanus 2017-06-19 09:16:38 +02:00
Christoph Kerschbaumer 829704554e Bug 1370788 - Move XFO out of nsDSURIContentListener.cpp into dom/security. r=smaug 2017-06-19 06:59:44 +02:00
Gijs Kruitbosch 11890dd7b5 Bug 1365663 - update synced tabs panel view iconography and alignment, r=mikedeboer
This also adds the icons in non-photon. They seem to work fine there, so I don't think this is a problem.

MozReview-Commit-ID: GkvT3i2jnD1

--HG--
extra : rebase_source : 80d33d329b5740328aa82dd5401475264700e57a
2017-06-16 13:58:12 +01:00
Jan Odvarko 6eb9021d1a Bug 1374042 - Fix vertical scrollbar; r=ntim
MozReview-Commit-ID: 9nOj5uMXFPj

--HG--
extra : rebase_source : dba63418555f65ffddf769e98b2d59fa6825ae10
2017-06-19 11:57:59 +02:00
Greg Mierzwinski 4babf3016b Bug 1340413 - Disable test_panel_anchoradjust.xul for linux. r=jmaher
Disable toolkit/content/tests/chrome/test_panel_anchoradjust.xul on linux machines as it permanently fails when running on Ubuntu 16.04.

MozReview-Commit-ID: FOW9zgKYcAU

--HG--
extra : rebase_source : a590ff1dec5abd04ac97efcf03e4bcd61612626a
2017-06-18 10:04:42 -04:00
Greg Mierzwinski 893a54038b Bug 1372924 - Handle input focus notifications at the right times in test_nsITextInputProcessor.xul. r=jmaher
This patch prevents a part of the test from creating a notify-focus event at random times later in the test by taking care of it as soon as it can be received. It also removes an unecessary focus call.

MozReview-Commit-ID: DJJaKmaT5wm

--HG--
extra : rebase_source : 1ea997d75657a8f8394b0d708b36d9773a683f6e
2017-06-18 10:04:05 -04:00
Sebastian Hengst ae6761b147 Backed out changeset aeba107c84c5 (bug 1374210) for crashing mediasource-activesourcebuffers.html in non-e10s mode and timing out in e10s mode. r=backout 2017-06-19 13:05:00 +02:00
Greg Mierzwinski add4e2d809 Bug 1374057 - Catch more preceding position-change notifications and prevent post-test position change notifications. r=jmaher
This patch fixes failures for widget/tests/test_composition_text_querycontent.xul when it is run on ubuntu 16.04. It adds some missing handling for pre-test position change notifications and also adds some handling for after-test position change notifications.

MozReview-Commit-ID: 1t8NuxJqkOo

--HG--
extra : rebase_source : ddae0da39a087c5742e31fbae9d7930b95695f1e
2017-06-18 10:03:04 -04:00
steveck-chung df7644937e Bug 1372470 - Fix form submission intermittent error. r=lchang
MozReview-Commit-ID: KQIian9kRBE

--HG--
extra : rebase_source : 1d3f5f34f01b696413f52a834b54538e79855f86
2017-06-19 11:57:23 +08:00
Nicholas Nethercote 5d3808c6e5 Bug 1373436 (part 4) - Use UniquePtr with profile_add_marker(). r=mstange.
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the
default value of nullptr caused compilation difficulties that could only be
fixed by #including ProfilerMarkerPayload.h into lots of additional places
(because the UniquePtr<T> instantiation required the T to be fully defined). To
get around this I just split profile_add_marker() into two functions, one with
1 argument and one with 2 arguments.

The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case
where MOZ_GECKO_PROFILER isn't defined. A comment explains why.
2017-06-16 12:26:26 +10:00
Nicholas Nethercote 8fccd59ba6 Bug 1373436 (part 3) - Use UniquePtr more with ProfilerMarkerPayload. r=mstange. 2017-06-16 10:51:05 +10:00
Nicholas Nethercote 442ac55216 Bug 1373436 (part 2) - Use a UniquePtr for CorePS::mLul. r=mstange. 2017-06-16 10:30:35 +10:00
Nicholas Nethercote 8d89035364 Bug 1373436 (part 1) - Use UniquePtr more for ProfileBuffer and ProfilerBacktrace . r=mstange. 2017-06-16 09:43:16 +10:00
Nicholas Nethercote d529284168 Bug 1373154 (part 3, attempt 2) - Overhaul TickSample and things around it. r=mstange.
Bug 1357829 added a third kind of sample, in addition to the existing
"periodic" and "synchronous" samples. This patch cleans things up around that
change. In particular, it cleans up TickSample, which is a mess of semi-related
things.

The patch does the following.

- It removes everything from TickSample except the register values and renames
  TickSample as Registers. Almost all the removed stuff is available in
  ThreadInfo anyway, and the patch adds a ThreadInfo argument to various
  functions. (Doing it this way wasn't possible until recently because a
  ThreadInfo wasn't available in profiler_get_backtrace() until recently.)

  One non-obvious consequence: in synchronous samples we used to use a value of
  0 for the stackTop. Because synchronous samples now use ThreadInfo directly,
  they are able to use the proper stack top value from ThreadInfo::mStackTop.
  This will presumably only improve the quality of the stack traces.

- It splits Tick() in two and renames the halves DoPeriodicSample() and
  DoSyncSample().

- It reorders arguments in some functions so that ProfileBuffer (the output) is
  always last, and inputs are passed in roughly the order they are obtained.

- It adds a comment at the top of platform.cpp explaining the three kinds of
  sample.

- It renames a couple of other things.

--HG--
extra : rebase_source : 4f1e69c605102354dd56ef7af5ebade201e1d106
2017-06-19 09:38:15 +10:00
Nicholas Nethercote 61516fe3a0 Bug 1373154 (part 2, attempt 2) - Don't call AllocPlatformData() in profiler_get_backtrace(). r=mstange.
We already have a PlatformData for the thread in its ThreadInfo.

--HG--
extra : rebase_source : 4b7a4f70c3b38f38928bfa7d10b6362ac2cc3ed6
2017-06-19 09:38:11 +10:00
Nicholas Nethercote 16b88972ff Bug 1373154 (part 1, attempt 2) - Add more comments about the profiler's critical section. r=me.
--HG--
extra : rebase_source : 16d1ba39fa04e1df82231c347fffe49251cf9f33
2017-06-19 09:09:46 +10:00
Mats Palmgren 06d9d2ec37 Bug 1373884 - s/FramePropertyTable/FrameProperties/ in a couple of places. r=me
MozReview-Commit-ID: ID1bBk6hbOR
2017-06-19 00:07:36 +02:00
Mats Palmgren 8924a195df Bug 1373999 part 3 - Create dom/base/SelectionChangeListener.cpp and move mozilla::dom::SelectionChangeListener code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: E8kiDtyWVdQ

--HG--
rename : dom/base/Selection.cpp => dom/base/SelectionChangeListener.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren 18cc369911 Bug 1373999 part 2 - Create layout/generic/nsFrameSelection.cpp and move nsFrameSelection code from dom/base/Selection.cpp to it. r=smaug
MozReview-Commit-ID: 2uTrJ9SO63s

--HG--
rename : dom/base/Selection.cpp => layout/generic/nsFrameSelection.cpp
2017-06-19 00:07:36 +02:00
Mats Palmgren d582beef4f Bug 1373999 part 1 - Move layout/generic/nsSelection.cpp verbatim to dom/base/Selection.cpp, and layout/generic/Selection*.h to dom/base/. Also export a few table header files that it needs. r=smaug
MozReview-Commit-ID: 9YUmEOIHUdc

--HG--
rename : layout/generic/nsSelection.cpp => dom/base/Selection.cpp
rename : layout/generic/Selection.h => dom/base/Selection.h
rename : layout/generic/SelectionChangeListener.h => dom/base/SelectionChangeListener.h
2017-06-19 00:07:36 +02:00
Sebastian Hengst 1f7d31312c merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 20:50:40 +02:00
Andrew Osmond f4ca4bff53 Bug 1373540 - Fix switchover from the GPU process compositor to the same process compositor. r=me,dvander 2017-06-18 14:49:30 -04:00