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

673036 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano b3450ef1e7 Bug 1583766 - Consider `IMEContentObserver` to send selection change notification when its sender sends a text change notification r=m_kato
The previous change is wrong because the sender shouldn't send selection change
notification if `IMEContentObserver` does not receive text change notifications
nor selection change notifications.

This patch reverts the change in the if block of previous change and instead
sets `IMEContentObserver::mNeedsToNotifyIMEOfSelectionChange` to `true` if
the sender sends a text change notification.  (Note that even if there is
another text change with a mutation event listener, we need to send selection
change notification later so that this must be the right approach.)

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

--HG--
extra : moz-landing-system : lando
2019-09-30 03:59:09 +00:00
Steve Fink c16fe33b0e Bug 1531951 - [hazards] Comments and refactoring r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46543

--HG--
extra : moz-landing-system : lando
2019-09-30 03:57:52 +00:00
Steve Fink d57610c31f Bug 1531951 - Minor improvement to type display r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46542

--HG--
extra : moz-landing-system : lando
2019-09-30 03:57:29 +00:00
Steve Fink 1162b03ed0 Bug 1531951 - Clean up some test code warnings and switch to python3 for print(flush=True). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46548

--HG--
extra : moz-landing-system : lando
2019-09-30 03:57:06 +00:00
longsonr 5d5b232ad8 Bug 1584852 - Convert SVGZoomAndPan to mixin r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47561

--HG--
extra : moz-landing-system : lando
2019-09-30 02:50:41 +00:00
Matt Woodrow 259109be31 Bug 1584374 - Unblock parent load events for OOP iframes that don't send an actual load event. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47353

--HG--
extra : moz-landing-system : lando
2019-09-29 23:51:59 +00:00
Jonathan Kingston d6d3522a16 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-30 00:55:02 +00:00
Emilio Cobos Álvarez c66f205994 Bug 1584263 - No need to flush delayed resizes while flushing layout. r=bzbarsky
We have already called FlushDelayedResize(false) earlier in this method, and
after bug 1583534 that queues a reflow if one is needed. All the boolean
controls is whether reflows are processed by the FlushDelayedResize call.

Since we plan to process reflows anyway a few lines later, there is no need to
do that explicitly that via FlushDelayedResize(true).

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

--HG--
extra : moz-landing-system : lando
2019-09-29 20:41:17 +00:00
Kestrel ba33736531 Bug 1584228 - Modify about:preferences CSP to allow data: images so added search engine icons can be shown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D47552

--HG--
extra : moz-landing-system : lando
2019-09-29 20:55:35 +00:00
David Walsh a3c2a8e77d Bug 1581874 - Prevent React error for missing keys r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D47503

--HG--
extra : moz-landing-system : lando
2019-09-27 21:28:11 +00:00
Martin Stransky 9691b5d142 Bug 1536747 - [Linux] PictureInPicture window - open window manager menu on right mouse click, r=jhorak
This patch depends on Bug 1584492.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 15:14:23 +00:00
Martin Stransky 43b2ca4820 Bug 1583852 - [Linux] Disable round corners/alpha blending for PictureInPicture windows, r=jhorak
This bug depends on Bug 1584492.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 15:13:52 +00:00
Cosmin Sabou 14938bad3b Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)

--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer 4fce63cac2 Bug 1550108 - Reduce stack size on StartupCache threads r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46225

--HG--
extra : moz-landing-system : lando
2019-09-27 18:17:23 +00:00
Doug Thayer 8d6b517ecd Bug 1550108 - Prefetch StartupCache off main thread r=froydnj
Does what it says on the tin. Once we have a central scheduling
system this should likely just consume that.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 18:17:21 +00:00
Doug Thayer 4187f5ece3 Bug 1550108 - Compact the StartupCache if it is bloated r=froydnj
The first run loads more things into the StartupCache than are
used on the second and subsequent runs. This just ensures that if
the StartupCache diverges too far from its actual use that we will
rebuild it.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 18:17:17 +00:00
Doug Thayer cf2166a011 Bug 1550108 - Eliminate large buffer copies from StartupCache r=froydnj
The signatures were updated in the previous patch to hand us the raw,
uncopied buffers. This just adjusts the callsites to match.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 18:17:13 +00:00
Doug Thayer eb024f4ee6 Bug 1550108 - Change StartupCache format from zip to custom r=froydnj
I am not aware of anything that depends on StartupCache being a
zip file, and since I want to use lz4 compression because inflate
is showing up quite a lot in profiles, it's simplest to just use
a custom format. This loosely mimicks the ScriptPreloader code,
with a few diversions:

- Obviously the contents of the cache are compressed. I used lz4
  for this as I hit the same file size as deflate at a compression
  level of 1, which is what the StartupCache was using previously,
  while decompressing an order of magnitude faster. Seemed like
  the most conservative change to make. I think it's worth
  investigating what the impact of slower algs with higher ratios
  would be, but for right now I settled on this. We'd probably
  want to look at zstd next.
- I use streaming compression for this via lz4frame. This is not
  strictly necessary, but has the benefit of not requiring as
  much memory for large buffers, as well as giving us a built-in
  checksum, rather than relying on the much slower CRC that we
  were doing with the zip-based approach.
- I coded the serialization of the headers inline, since I had to
  jump back to add the offset and compressed size, which would
  make the nice Code(...) method for the ScriptPreloader stuff
  rather more complex. Open to cleaner solutions, but moving it
  out just felt like extra hoops for the reader to jump through
  to understand without the benefit of being more concise.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:35 +00:00
Doug Thayer d27f7199e1 Bug 1550108 - Add mapErr method to Result r=froydnj
Adds an explicit error mapping function to Result, to simplify
using MOZ_TRY... macros.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:35 +00:00
Doug Thayer 076597dbc2 Bug 1550108 - Split out Input/OutputBuffer into their own file r=froydnj
This just splits out the InputBuffer and OutputBuffer helper classes
to make it cleaner for the StartupCache to include them.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:35 +00:00
Doug Thayer 5f9554635c Bug 1550108 - Avoid decompressing entries just to check if they exist r=kmag
This will not behave exactly the same if we had previously written bad
data for the entry that would fail to decompress. I imagine this is rare
enough, and the consequences are not severe enough, that this should be
fine.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Doug Thayer 5775d5e284 Bug 1550108 - Don't read from app/gre caches in StartupCache r=kmag
I thought I had already written out the patch to remove these, but
apparently not. Per discussion in the startup cache telemetry bug,
there should be no reason for doing this.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Doug Thayer fdbddfa996 Bug 1550108 - Pull in secondary lz4 libraries r=glandium
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.

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

--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Brian Hackett 18c2123024 Bug 1583424 - Watch for missing threads in source tree, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47289

--HG--
extra : moz-landing-system : lando
2019-09-28 13:42:54 +00:00
Brian Hackett 0526fcd23a Bug 1583174 - Watch for exceptions being thrown while getting a script's breakpoint positions, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47269

--HG--
extra : moz-landing-system : lando
2019-09-27 21:57:28 +00:00
Jean-Yves Avenard 37332976c1 Bug 1582353 - P3. Promisify RDD/GPU remote decoder. r=mattwoodrow,mjf
Differential Revision: https://phabricator.services.mozilla.com/D47040

--HG--
extra : moz-landing-system : lando
2019-09-28 12:17:44 +00:00
Jean-Yves Avenard da5a007438 Bug 1582353 - P2. Remove unused variable. r=mattwoodrow
The MediaResult object isn't used; no need to set a crash timestamp on it.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 08:36:30 +00:00
Jean-Yves Avenard 301e1cb659 Bug 1582353 - P1. Add MediaResult serializer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47038

--HG--
extra : moz-landing-system : lando
2019-09-26 14:51:56 +00:00
Martin Stransky 47f4838fa0 Bug 1584492 [Linux] Add mIsPIPWindow to nsWindow, r=jhorak
Depends on D47409

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

--HG--
extra : moz-landing-system : lando
2019-09-28 06:55:54 +00:00
Martin Stransky 07a564202b Bug 1584492 - Add mPIPWindow to nsWidgetInitData and set it for PIP window on Linux/Gtk, r=mats
Differential Revision: https://phabricator.services.mozilla.com/D47409

--HG--
extra : moz-landing-system : lando
2019-09-28 06:55:41 +00:00
Tim Nguyen 5c78a8e3de Bug 1582530 - Fix remaining cases that were relying on blockification. r=dao,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D46676

--HG--
extra : moz-landing-system : lando
2019-09-28 00:20:32 +00:00
Tim Nguyen db6433a9e5 Bug 1582530 - Turn on 'layout.css.xul-box-display-values.survive-blockification.enabled' by default. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D46675

--HG--
extra : moz-landing-system : lando
2019-09-28 00:20:20 +00:00
Boris Zbarsky 44c015a4b0 Bug 1584431 part 4. Use the new length-aware versions of JS_StringEqualsAscii and JS_FlatStringEqualsAscii where possible. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D47393

--HG--
extra : moz-landing-system : lando
2019-09-27 21:25:23 +00:00
Boris Zbarsky 1a163ad533 Bug 1584431 part 3. Add JS_StringEqualsLiteral and JS_FlatStringEqualsLiteral. r=jwalden
Also adds overloads of JS_StringEqualsAscii and JS_FlatStringEqualsAscii that pass in a length.

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

--HG--
extra : moz-landing-system : lando
2019-09-28 04:24:18 +00:00
Boris Zbarsky e4f4062b4e Bug 1584431 part 2. Convert consumers of js::StringEqualsAscii to js::StringEqualsLiteral where possible. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D47391

--HG--
extra : moz-landing-system : lando
2019-09-27 19:27:50 +00:00
Boris Zbarsky 773e6fd997 Bug 1584431 part 1. Add a way to call js::StringEqualsAscii with a known length. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D47390

--HG--
extra : moz-landing-system : lando
2019-09-28 04:24:46 +00:00
Jeff Walden 5b6eecf08d Bug 1582348 - Begin filling out |WritableStream.prototype.getWriter|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46408

--HG--
extra : moz-landing-system : lando
2019-09-28 03:17:12 +00:00
Jeff Walden 039df65b0c Bug 1582348 - Fill out some of the body of |WritableStreamFinishErroring|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46407

--HG--
extra : moz-landing-system : lando
2019-09-28 03:17:00 +00:00
Jeff Walden 24ee6d180d Bug 1582348 - Fill out much of the body of |WritableStreamStartErroring|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46406

--HG--
extra : moz-landing-system : lando
2019-09-28 03:16:53 +00:00
Jeff Walden cc02cecaa1 Bug 1582348 - Fill out most of the body of |WritableStreamDefaultControllerAdvanceQueueIfNeeded|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46405

--HG--
extra : moz-landing-system : lando
2019-09-28 03:16:40 +00:00
Jeff Walden 5657c1d0ca Bug 1582348 - Fill out the body of |WritableStreamDealWithRejection|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46404

--HG--
extra : moz-landing-system : lando
2019-09-28 03:16:28 +00:00
Jeff Walden bc8075d8e4 Bug 1582348 - Fill out the body of |SetUpWritableStreamDefaultController|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46403

--HG--
extra : moz-landing-system : lando
2019-09-28 03:16:16 +00:00
Dorel Luca 0027809f96 Backed out 6 changesets (bug 1582348) for build bustage in streams/WritableStreamOperations.cpp
Backed out changeset bb2e05de0638 (bug 1582348)
Backed out changeset c5b476005983 (bug 1582348)
Backed out changeset 0d8e86bb06d0 (bug 1582348)
Backed out changeset 7628d3f14514 (bug 1582348)
Backed out changeset 728075c80f4d (bug 1582348)
Backed out changeset 4ceb625e5eb0 (bug 1582348)
2019-09-28 04:22:58 +03:00
Jeff Walden 03ac18e039 Bug 1582348 - Begin filling out |WritableStream.prototype.getWriter|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46408

--HG--
extra : moz-landing-system : lando
2019-09-28 01:02:12 +00:00
Jeff Walden 3bdf5a2aef Bug 1582348 - Fill out some of the body of |WritableStreamFinishErroring|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46407

--HG--
extra : moz-landing-system : lando
2019-09-28 01:02:00 +00:00
Jeff Walden 261271e325 Bug 1582348 - Fill out much of the body of |WritableStreamStartErroring|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46406

--HG--
extra : moz-landing-system : lando
2019-09-28 01:01:53 +00:00
Jeff Walden fe39cac7a0 Bug 1582348 - Fill out most of the body of |WritableStreamDefaultControllerAdvanceQueueIfNeeded|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46405

--HG--
extra : moz-landing-system : lando
2019-09-28 01:01:40 +00:00
Jeff Walden f054cf4612 Bug 1582348 - Fill out the body of |WritableStreamDealWithRejection|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46404

--HG--
extra : moz-landing-system : lando
2019-09-28 01:01:28 +00:00
Jeff Walden 96ad82e40d Bug 1582348 - Fill out the body of |SetUpWritableStreamDefaultController|. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46403

--HG--
extra : moz-landing-system : lando
2019-09-28 01:01:15 +00:00
Mihai Alexandru Michis c7c256ccd6 Backed out changeset 16d04cad3cf9 (bug 1563343) for causing failures in test_handlerService_store and same-origin.html CLOSED TREE
--HG--
extra : rebase_source : 68a96d92cf61940c280a9c3da39683b189a8afa9
2019-09-28 03:22:36 +03:00