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

551460 Коммитов

Автор SHA1 Сообщение Дата
Shih-Chiang Chien a53028f46a Bug 1387285 - release more member variable in HttpChannelChild on main thread. r=mayhemer
After bug 1338493 landed, HttpChannelChild might be released on STS thread.
Redirected channel, intercept stream listener and context might not always be able to
release off-main-thread. Therefore, we need to proxy release these members on main thread.

MozReview-Commit-ID: 6mcja7WY1fK

--HG--
extra : rebase_source : 55999dfa63b81347e426d90a59e211fabddba6d1
2017-08-04 18:40:00 +08:00
Ricky Chien 7ebc576138 Bug 1382514 - Remove MOZ_PHOTON_PREFERENCES build flag r=jaws
--HG--
extra : rebase_source : e3df3a8ebbecbecfecb561f748a8c3b5f162bf99
2017-08-08 11:44:02 +08:00
Steve Fink e6a5df33d4 Bug 1385359 - Add env var JIT_SPEW_FILENAME, r=nbp
--HG--
extra : rebase_source : 3b5bef62aa7b69dab12a52e38268405de95e651c
2017-07-20 17:38:45 -07:00
David Anderson dbe6ce6a3f Bug 1385101 Part 2 Hold TextureClients alive during async painting. r=mattwoodrow,mchang 2017-08-05 11:54:11 -07:00
David Anderson 8ac742dba7 Bug 1385101 Part 1 - Create CapturedPaintState in ContentClient rather than ClientPaintedLayer. r=mchang 2017-08-05 11:25:45 -07:00
Eugen Sawin 14c89f86b5 Bug 1386240 - [1.3] Check success status when enabling or disabling geolocation events. r=jchen 2017-08-08 18:15:54 +02:00
Paul Adenot 09ca1b1297 Bug 1384655 - Remove obsolete latency measuring macros in downstream code we don't use anymore. r=jesup
MozReview-Commit-ID: ARAWGe7yFM4

--HG--
extra : amend_source : b1b3f4f33c9c2b15465ac5670a3639b8527a16a3
2017-08-08 10:00:37 +02:00
Geoff Brown 4fc548a698 Bug 1385629 - Use correct tooltool cache directory for Marionette and Firefox-UI tests on osx; r=whimboo 2017-08-08 09:31:57 -06:00
Dyex db4f4de93a Bug 1369710 - [mozlint] Ensure that a valid path is entered. r=ahal
MozReview-Commit-ID: 6HOE9hmOkCx

--HG--
extra : rebase_source : 584a4391b832e794dc084254e9203b3a65c89419
2017-08-08 19:20:31 +05:30
Mark Banner ea44850ffa Bug 1314670 - Rewrite the new search engine behaviors test to use async functionality. r=florian
MozReview-Commit-ID: 396ci4r6ion

--HG--
extra : rebase_source : a228957803887ecc5b94f89f6c17e241dbe79ecb
2017-07-19 16:22:02 +01:00
Mark Banner 93de1cc0a4 Bug 1314670 - Create a new search engine behaviors test to replace the old individual ones. r=florian
MozReview-Commit-ID: HQtFQVxiyvV

--HG--
rename : browser/components/search/test/browser_ddg_behavior.js => browser/components/search/test/browser_searchEngine_behaviors.js
extra : rebase_source : 2a4bc9b5e2718c77569e7537d421c6ca38223e86
2017-07-19 14:46:52 +01:00
Masayuki Nakano 19dc3194d7 Bug 1319340 - part9: Make nsComposerDocumentCommands use concrete class when calling methods of editor r=m_kato
MozReview-Commit-ID: 15WBfUpfo6L

--HG--
extra : rebase_source : 0e729ea9f2a37555836cca869ea1da4174895960
2017-08-07 18:27:16 +09:00
Masayuki Nakano de893ee82e Bug 1319340 - part8: EditorCommands should use TextEditor instead of nsIEditor, nsIPlaintextEditor and nsIEditorMailSupport r=m_kato
EditorCommands implements common edit commands.  So, we can use TextEditor even if the instance is HTMLEditor.

Then, EditorCommands can use non-virtual methods of the concrete classes.

MozReview-Commit-ID: DgKHqC0osRb

--HG--
extra : rebase_source : e9abd7ef8b48cfdc65bbeb56ebe81dc0548005dd
2017-08-04 20:41:20 +09:00
Masayuki Nakano 2978474960 Bug 1319340 - part7: Fix some warnings in nsComposerCommands.h r=m_kato
MozReview-Commit-ID: A0KnOCCWqYZ

--HG--
extra : rebase_source : 35f0ad7b68e8c010eb98532e50bfc107abeefb7f
2017-08-04 18:50:26 +09:00
Masayuki Nakano b5b8d1064d Bug 1319340 - part6: Implement some interface methods as non-virtual methods of EditorBase or HTMLEditor r=m_kato
nsComposerCommands uses some simple getter methods.  They can be simpler non-virtual methods.  So, we should do it.

Note that this changes that EditorBase::GetIsSelectionEditable() won't return error.  However, it has returned error only when selection controller isn't available.  That means that the selection controller has been destroyed and the editor will be destroyed.  So, this must not be problem since it returns false (non-editable) instead and won't break any behavior since the editor won't be editable by users nor JS anymore.

MozReview-Commit-ID: E9ccFspG6na

--HG--
extra : rebase_source : bcd1314cb386fcaf175adabfefde5885decd87c0
2017-08-04 18:30:13 +09:00
Masayuki Nakano efae799abd Bug 1319340 - part5: Make nsComposerCommands use concrete class when calling methods of editor r=m_kato
Compiler may can optimize to call virtual methods at build time if we call them with concrete classes because some of them may have final keyword.

Even if not so, we can optimize some methods with creating non-virtual methods.

MozReview-Commit-ID: K3bRlc0URml

--HG--
extra : rebase_source : 4a76635c7aed29501f71ae74f3f73e2b22ca219e
2017-08-04 17:12:01 +09:00
Masayuki Nakano 6b4db6ec7f Bug 1319340 - part4: SetState() of nsComposerCommands should take HTMLEditor* instead of nsIEditor* r=m_kato
All SetState() methods in nsComposerCommands require HTMLEditor.  So, it should take HTMLEditor* rather than nsIEditor*.

MozReview-Commit-ID: AVbnRsMsmeY

--HG--
extra : rebase_source : 23bcc585a045a39620102c4fef9c1a9e12b9ea37
2017-08-04 16:20:56 +09:00
Masayuki Nakano 505c529148 Bug 1319340 - part3: ToggleState() in nsComposerCommands should take HTMLEditor* instead of nsIEditor* r=m_kato
Similar to GetCurrentState(), all ToggleState() methods require HTMLEditor.  So, they should take HTMLEditor* instead of nsIEditor*.

MozReview-Commit-ID: BwM6WRKFn6Q

--HG--
extra : rebase_source : 425b7b405b5881b97e8113c3ab88e9d0514b6a07
2017-08-04 15:57:57 +09:00
Masayuki Nakano cf8f0ec404 Bug 1319340 - part2: GetCurrentState() of the classes in nsComposerCommands should take HTMLEditor instead of nsIEditor r=m_kato
All GetCurrentState() methods in nsComposerCommands require HTMLEditor but its argument is nsIEditor*.  So, it should take HTMLEditor* and it shouldn't be called if given editor isn't HTMLEditor since it's virtual method.

MozReview-Commit-ID: HsvYJN8hIxN

--HG--
extra : rebase_source : f8f9c8de902af5311771b71a96c76d63325970a5
2017-08-04 15:41:42 +09:00
Masayuki Nakano 722bf07347 Bug 1319340 - part1 Move AsTextEditor() and AsHTMLEditor() to nsIEditor r=m_kato
nsIEditor is still first contact with editor class for some modules.  They should be accessible to the concrete classes without QI.  Therefore, nsIEditor should have As*Editor() methods.

Additionally, this adds AsEditorBase().  That is always implemented but it might be necessary for some files for minimizing its include files.

MozReview-Commit-ID: 8WqkDJLiVDs

--HG--
extra : rebase_source : e51282df244efad62bc6fe04ab449e3beab440f9
2017-08-04 15:01:36 +09:00
Dale Harvey 152cb22a7c Bug 1388394 - Give dark url bar an opaque background. r=dao
MozReview-Commit-ID: IzuEwQRc9Gl

--HG--
extra : rebase_source : 53cd604b2f8539177fe780a654882455f7dccd2e
2017-08-10 11:54:42 +01:00
Aryeh Gregor be9bccc716 Bug 1388746 - Do not split start/end text nodes in deleteContents/extractContents; r=smaug
If a range endpoint is in the middle of a text node, and you call
deleteContents() or extractContents(), the spec says to delete the data
from the node.  In the case of extractContents(), the new text node
that's inserted into the DocumentFragment is a clone with its data set
to the bit that was deleted.
<https://dom.spec.whatwg.org/#dom-range-deletecontents>
<https://dom.spec.whatwg.org/#dom-range-extractcontents>

We don't do this.  Instead, we split the text node.  Then the bit to
delete is deleted naturally at a later stage together with all the other
nodes.

The result is the same, but on the way there we do a bunch more node
mutations.  This causes extra mutation records, which cause us to fail a
WPT test.  Chrome passes.  Changing to match the spec actually reduces
our lines of code anyway.

MozReview-Commit-ID: FTTV5yNSj71

--HG--
extra : rebase_source : 8d5f36c68c71db0700f0b86d1a73462759f922e8
2017-08-09 17:39:06 +03:00
Dão Gottwald 2c29c9f69a Bug 956731 - Remove legacy add-on bar and statusbar shims. r=Gijs
MozReview-Commit-ID: 2deeujcHYUM

--HG--
extra : rebase_source : 90e8c1f1c90655d3e38560b588af82da64fdc2a5
2017-08-10 09:17:48 +02:00
Johann Hofmann 064ca8e4cc Bug 1387750 - Make Windows 7 tabs use chrome background when inactive. r=dao
MozReview-Commit-ID: 2HNiHtox9wT

--HG--
extra : rebase_source : c618c83695de255bffcc9e5f07a2317ef9c90d23
2017-08-09 20:58:41 +02:00
Luke Chang 0faeca43f0 Bug 1375382 - [Form Autofill] Handle filling in country field select element. r=seanlee
MozReview-Commit-ID: ADwTlx7MKaJ

--HG--
extra : rebase_source : db97dbf4a67a1ddb28df0ef97d1f7148ba15699d
2017-07-28 12:22:50 +08:00
Emilio Cobos Álvarez e4646d449f Bug 1388234: Don't assert when calling out of band to ResolveInheritingAnonymousBoxStyle. r=heycam
MozReview-Commit-ID: FYctJRfLTK6

--HG--
extra : rebase_source : feec0d3a65c501ea7b3382d892f512388bd7240e
2017-08-08 14:54:13 +02:00
Jan Odvarko 444b560b3e Bug 1388368 - Fix the Console panel in Launchpad; r=nchevobbe
MozReview-Commit-ID: BIHXp6tE32Q

--HG--
extra : rebase_source : a990bb0a79f254037ada58bbc7bd6f941fd26343
2017-08-10 10:00:35 +02:00
Dão Gottwald 740d23ae60 Bug 1388457 - Make toolbar buttons smaller in compact mode. r=daleharvey
MozReview-Commit-ID: 3wiiattnQCv

--HG--
extra : rebase_source : 50e8bdbc0f39aa5a3ab8b448f5800cb7e2def6b1
2017-08-09 10:21:37 +02:00
Makoto Kato 4418d7d986 Bug 1381710 - Selection.addRange will be failure with dynamic table insertion. r=tnikkel
When range is selected table element, Selection.addRange uses nsFrameSelection.  If frame isn't constructed yet, addRange throws NS_ERROR_FAILURE even if table element isn't editable element.

When getting nsITableCellLayout, we should flush frame to construct cell frame.

MozReview-Commit-ID: 9qWwW46RYNL

--HG--
extra : rebase_source : 708e78af457a28bc273b83015f78950a5bee232e
2017-07-18 16:54:31 +09:00
Dão Gottwald ac234bd18b Bug 1386964 - Set default tab height, mark flaky viewport-units-css2-001.html subtests as passing on Linux as well as anchoring-with-bounds-clamping.html on Mac. r=dholbert
MozReview-Commit-ID: 2gNQSImPfw1

--HG--
extra : rebase_source : d9c78ddbc9196f5f9975e78cc7715b0adb8b4b1a
2017-08-10 07:37:47 +02:00
Manish Goregaokar 6f0180e2cb Bug 1388943 - Include logical properties in has_author_specified_rules ; r=heycam
MozReview-Commit-ID: 6l2ZqLZwkZJ
2017-08-09 23:32:30 -07:00
Manish Goregaokar 4af3a23604 Bug 1388941 - Correctly scale -moz-min-font-size-ratio ; r=heycam
MozReview-Commit-ID: KoKFXzSdakU
2017-08-09 23:32:19 -07:00
Manish Goregaokar e6931eca1a Bug 1388941 - Remove unnecessary fails(stylo) annotation from fuzzy test; r=heycam
MozReview-Commit-ID: ERUIHRQwXc7
2017-08-09 23:32:07 -07:00
Manish Goregaokar a3a73bd46c servo: Merge #18032 - stylo: Fixes for min font size and logical properties (from Manishearth:fixes); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1388941 and https://bugzilla.mozilla.org/show_bug.cgi?id=1388943

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f202098a1671114b6ab90617eae604bee2b7883f
2017-08-10 00:04:28 -05:00
Mike Hommey fda40761ff Bug 1388935 - Avoid overflowing the chunk recycling limit with very large chunks. r=njn
When recycling chunks, mozjemalloc tries to avoid keeping around more
than 128MB worth of chunks around, but it doesn't actually look at the
size of the chunks that are recycled, so if chunk larger than 128MB is
recycled, it is kept as a whole, going well over the limit.

The chunks are still properly reused, and further recycling doesn't
occur, but that can limit other mmap users from getting enough address
space.

With this change, mozjemalloc now doesn't keep more than 128MB, by
splitting the chunks it recycles if they are too large.

Note this was not a problem on Windows, where chunks larger than 1MB are
never recycled (per CAN_RECYCLE).

--HG--
extra : rebase_source : 6765fd30b78ca5ddc7d55aac861355d960e47828
2017-08-10 09:22:55 +09:00
Mike Hommey b0f2504373 Bug 1388935 - Inline chunk_dalloc_mmap into chunk_dealloc. r=njn
--HG--
extra : rebase_source : 3348f221f1f577c3af6c1b213a692e58ce347ead
2017-08-10 08:49:51 +09:00
Karl Tomlinson 614fee5117 bug 1024182 remove unnecessary buffer copy for short impulse responses r=padenot
Despite the comment, this was necessary only for a direct convolver stage,
which has been removed:
https://hg.mozilla.org/mozilla-central/rev/e66105937eef190dec073f1b9859e07a0272706b#l4.29

FFT convolver stages pad the buffer to the necessary length in
FFTBlock::PadAndMakeScaledDFT().

MozReview-Commit-ID: LqP1x1hmLOM

--HG--
extra : rebase_source : 622e16140b62ca748a31cbd318f881c617baf17a
2017-08-09 16:52:01 +12:00
Karl Tomlinson 46ad6041ff bug 1388656 keep response buffer on graph thread only long enough to initialize the Reverb r=padenot
MozReview-Commit-ID: 6DvpXeWPGHp

--HG--
extra : rebase_source : 50a2f7e4df207d971894189d9de8844fab0a7954
2017-08-08 16:08:21 +12:00
Karl Tomlinson 0b158fb300 bug 1388656 re-initialize the Reverb only once when the ConvolverNode buffer changes r=padenot
MozReview-Commit-ID: IKMK5GYVRBB

--HG--
extra : rebase_source : 03c234254e2eafe6899ed1b51634810db1b38f90
2017-08-08 16:01:57 +12:00
Karl Tomlinson 35b76397c6 bug 1388656 remove unused SAMPLE_RATE SetInt32Parameter case r=padenot
Sample rate is passed as a double.

MozReview-Commit-ID: DBCvrCWPlgf

--HG--
extra : rebase_source : 58812c4a69c5b8dacd2fbee81405f5d97132ed1d
2017-08-08 15:56:09 +12:00
Karl Tomlinson 59eb07a88f bug 1388656 size to actual used length in nsTArray::SetCapacity() optimization r=padenot
MozReview-Commit-ID: BGFliZTx4QL

--HG--
extra : rebase_source : b0e8767bc0beb7fb87559d9135c93937ff4b5470
2017-08-08 15:47:24 +12:00
Phil Ringnalda fe1932364b Backed out 2 changesets (bug 1388935) for gtest crashes
Backed out changeset 208572c7abae (bug 1388935)
Backed out changeset dfb4a15b0c32 (bug 1388935)

MozReview-Commit-ID: HRttV7AIlNT
2017-08-09 22:21:37 -07:00
Makoto Kato b04d5091db Bug 1388638 - Use RAII class for StartBatchChanges/EndBatchChanges. r=masayuki
CompositionTransaction forgets to call EndBatchChanges when GetSelectionController returns error, so we should use RAII class instead.

MozReview-Commit-ID: HI9kutRVzx6

--HG--
extra : rebase_source : d276f4349c5a64d4610581ae1a76d160841f7d7b
2017-08-09 18:06:36 +09:00
Xidorn Quan a0b8a2c68d Bug 1370508 - Enable stylo on generic XML documents. r=heycam
MozReview-Commit-ID: 4XQ9RPQ7oa1

--HG--
extra : rebase_source : f5ffeaa615076035215f5ac1b9b39aa5cb15d618
2017-08-09 19:57:33 +10:00
Xidorn Quan 092be74b6e Bug 1383992 followup - Update mochitest expectation.
MozReview-Commit-ID: C1QKAVJgK9v
2017-08-10 14:27:40 +10:00
Mike Hommey 44b527c7d7 Bug 1388935 - Avoid overflowing the chunk recycling limit with very large chunks. r=njn
When recycling chunks, mozjemalloc tries to avoid keeping around more
than 128MB worth of chunks around, but it doesn't actually look at the
size of the chunks that are recycled, so if chunk larger than 128MB is
recycled, it is kept as a whole, going well over the limit.

The chunks are still properly reused, and further recycling doesn't
occur, but that can limit other mmap users from getting enough address
space.

With this change, mozjemalloc now doesn't keep more than 128MB, by
splitting the chunks it recycles if they are too large.

Note this was not a problem on Windows, where chunks larger than 1MB are
never recycled (per CAN_RECYCLE).

--HG--
extra : rebase_source : f81e94c6960ba253037f77de1a39c9ff74651e80
2017-08-10 09:22:55 +09:00
Mike Hommey b206b3c597 Bug 1388935 - Inline chunk_dalloc_mmap into chunk_dealloc. r=njn
--HG--
extra : rebase_source : f6abde118d26552a681faf7df302b791d39e466a
2017-08-10 08:49:51 +09:00
Phil Ringnalda 5bf938ebcd Backed out changeset 4c274336b01e (bug 1386964) for unexpected passes in /scroll-anchoring/anchoring-with-bounds-clamping.html
MozReview-Commit-ID: Id1MCoaN242
2017-08-09 21:15:27 -07:00
Markus Stange b7d6066c45 Bug 1386643 - Don't respect font smoothing background colors in pushed layers. r=jrmuizel
This is an imperfect workaround. Ideally we'd want layout to determine the
correct color here: If the pushed layer will end up on something mostly opaque
in the outer layer, the font smoothing background color should be transparent
(or even a color that approximates that opaque content), and if the pushed
layer will end up on transparency in the outer layer, the appropriate font
smoothing background color for the outer layer should be used when drawing text
in the pushed layer.

This workaround causes us to lose subpixel AA in background tabs that have the
overflow mask applied to them. For those, using the font smoothing background
color in the pushed layer was the right choice.

MozReview-Commit-ID: FPufh04EVp3

--HG--
extra : rebase_source : 7a6cb73255bdb7f1b8aba7df60ebe61171275da4
2017-08-02 17:26:02 -04:00
Xidorn Quan 4e2c6b0054 Bug 1341102 - Add fuzzy for some styloVsGecko reftests.
MozReview-Commit-ID: Etq5HO11V92
2017-08-10 13:11:52 +10:00