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

726402 Коммитов

Автор SHA1 Сообщение Дата
stransky 50de9ff70f Bug 1663159 [Linux] Add Wayland config to test-linux.sh, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D89287
2020-09-16 09:48:15 +00:00
stransky 56e5a379da Bug 1663159 [Linux] When GDK_BACKEND=wayland is specified, enable Wayland backend and don't check actual Gtk versions, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D90124
2020-09-16 09:48:23 +00:00
stransky 38bc7e943e Bug 1662834 [Linux] Check mGdkWindow validity on nsWindow::UpdateTitlebarTransparencyBitmap(), r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D90144
2020-09-16 09:48:30 +00:00
Simon Giesecke 720fbb0265 Bug 1661404 - Add MOZ_TO_RESULT_INVOKE_TYPED macro. r=janv
Differential Revision: https://phabricator.services.mozilla.com/D90368
2020-09-16 10:18:19 +00:00
David Teller 9593c04f82 Bug 1635117 - localize process names in about:processes;r=florian,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D89425
2020-09-16 09:04:22 +00:00
Henrik Skupin 71f662c9a8 Bug 1665210 - [marionette] Skip TestNavigate.test_navigate_top_frame_from_nested_context for Fission. r=marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D90353
2020-09-16 08:41:16 +00:00
Edgar Chen 6b7f9d2bf8 Bug 1646493 - Make pointer auto-unlocking for active top-level document changes fission compatible; r=hsivonen
Unfortunately, this change makes content process and chrome process doesn't go
through the same code path because nsFocusManager handles their state
separately on purpose.

Differential Revision: https://phabricator.services.mozilla.com/D90033
2020-09-16 08:18:21 +00:00
Jonathan Kew fcaefcf4a9 Bug 1661532 - Ensure bundled fonts that duplicate installed fonts will take precedence and remain visible even if visibility/RFP would block the installed version. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D89133
2020-09-15 14:51:23 +00:00
Mirko Brodesser cd62133ad8 Bug 1659963: document `SpecialPowers.removePermission`. r=kmag
Helps understanding it.

Differential Revision: https://phabricator.services.mozilla.com/D90261
2020-09-16 08:16:36 +00:00
Alexandre Poirot e42450ee93 Bug 1664438 - Ignore errors when destroying target scoped fronts. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D90237
2020-09-16 08:15:03 +00:00
Alexandre Poirot 2e547c4dcf Bug 1664438 - Destroy pending protocol.js requests when a remote connector closes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D90236
2020-09-16 08:15:01 +00:00
Jon Coppeard 9dd11c07bc Bug 844755 - Make mark bitmaps atomic r=sfink
Currently there is a "benign" race between background sweeping and gray
unmarking. The latter does not affect the result of the former, but any data
race is undefined behaviour.

This patch changes the marking bitsmaps to be relaxed atomic to avoid this.
Marking bitmaps were already excluded from TSAN checks.

Differential Revision: https://phabricator.services.mozilla.com/D90239
2020-09-15 17:04:12 +00:00
alexandru.ionescu f4b4008f5e Bug 1657359 Add unity-webgl benchmark to browsertime mobile r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87861
2020-09-15 16:11:36 +00:00
unknown 639957d2c4 Bug 1665277 - Put "[WebGLChild] Flushed N bytes" behind GLContext::ShouldSpew. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D90352
2020-09-16 07:05:01 +00:00
Lee Salzman 03ac4bdb5f Bug 1665271 - set prim opacity for WR radial gradients. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D90348
2020-09-16 07:06:36 +00:00
Magnus Melin c03e05fa80 Bug 1663209 - currentIndex should return -1 when tree.view.selection is null. r=ntim
Likely happens mostly in automation. At least Thunderbird have places where the view is going to be replaced and the selection is cleared first.

Differential Revision: https://phabricator.services.mozilla.com/D90253
2020-09-16 07:04:33 +00:00
Masayuki Nakano e09be3fb17 Bug 1664109 - Fix `!=` operator of `EditorDOMRangeBase` r=m_kato
This is causes taking back bugs in
`WSRunScanner::GetNewInvisibleLeadingWhiteSpaceRangeIfSplittingAt()` and
`WSRunScanner::GetNewInvisibleTrailingWhiteSpaceRangeIfSplittingAt()`  (I.e.,
they were fixed by bug 1647556).  Therefore, this removes the odd `if` blocks
which are pointed with `XXX` comment for avoiding "regressions" (without them,
some WPTs for `InputEvents.getTargetRanges()` become failure).

Depends on D89582

Differential Revision: https://phabricator.services.mozilla.com/D89869
2020-09-16 02:17:33 +00:00
Masayuki Nakano a5c5234e6f Bug 1658702 - part 11: Implement a path to compute target ranges when joining 2 blocks from outer block boundary r=m_kato
This patch corresponds to:
* https://searchfox.org/mozilla-central/rev/b2716c233e9b4398fc5923cbe150e7f83c7c6c5b/editor/libeditor/HTMLEditSubActionHandler.cpp#3679-3697
* https://searchfox.org/mozilla-central/rev/b2716c233e9b4398fc5923cbe150e7f83c7c6c5b/editor/libeditor/HTMLEditSubActionHandler.cpp#2733-2751
* https://searchfox.org/mozilla-central/rev/b2716c233e9b4398fc5923cbe150e7f83c7c6c5b/editor/libeditor/HTMLEditSubActionHandler.cpp#4286-4302
* https://searchfox.org/mozilla-central/rev/b2716c233e9b4398fc5923cbe150e7f83c7c6c5b/editor/libeditor/HTMLEditSubActionHandler.cpp#4309-4355

`HandleDeleteCollapsedSelectionAtCurrentBlockBoundary()` delete leaf content
of the child block when the block is not joined with current block.  For
doing it, it creates another `AutoDeleteRangesHandler` with collapsing selection
in the child block.  Then, it may refer selection for handling bidi text.
Therefore, the computation code which is added by this patch may modify
selection temporarily for the child `AutoDeleteRangeHandler`.  However, the
selection change shouldn't cause running any scrip (even if chrome script)
because it's required only for this hack.  Therefore, this patch blocks all
notifications and selection change events with `AutoHideSelectionChanges`.
Therefore, this patch marks
`AutoBlockElementsJoiner::ComputeRangesToDeleteAtOtherBlockBoundary()` as
`MOZ_CAN_RUN_SCRIPT_BOUNDARY` for using `HTMLEditor::CollapseSelectionTo()`.

Differential Revision: https://phabricator.services.mozilla.com/D89582
2020-09-16 05:36:57 +00:00
Razvan Maries f4133af85c Backed out changeset 09f6522b2f48 (bug 1396399) for perma failures on test_ext_contentscript_activeTab.html. CLOSED TREE 2020-09-16 08:36:43 +03:00
Karl Tomlinson 6cea4e7ccb Bug 1646601 add crashtest with AudioContext after unload r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D84300
2020-09-15 22:13:21 +00:00
Karl Tomlinson 8b05beadc1 Bug 1646601 throw InvalidStateError on (Offline)AudioContext construction when not fully active r=padenot
https://github.com/WebAudio/web-audio-api/pull/1425/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR2245

Differential Revision: https://phabricator.services.mozilla.com/D84302
2020-09-15 22:13:22 +00:00
Karl Tomlinson 9e13b21300 Bug 1646601 move fully active predicate to nsPIDOMWindowInner r=farre
Depends on D90216

Differential Revision: https://phabricator.services.mozilla.com/D90217
2020-09-15 22:13:22 +00:00
Karl Tomlinson 820dfc0a45 Bug 1646601 document as const some WindowContext members r=farre
Differential Revision: https://phabricator.services.mozilla.com/D90216
2020-09-15 22:13:22 +00:00
Randell Jesup 9a3ba1d1f1 Bug 1664961: check if child process when processing docshell Reload() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90200
2020-09-16 02:44:45 +00:00
Andrew Swan d6d39c34ba Bug 1396399: Test for content scripts and activeTab permission.
Differential Revision: https://phabricator.services.mozilla.com/D90333
2020-09-16 02:04:08 +00:00
Marc Streckfuss 94fafd9213 Bug 1665211 - Fix a define typo in MPRISServiceHandler. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D90323
2020-09-15 23:20:11 +00:00
Iain Ireland ee709e60f3 Bug 1664357: Refactor GetTemplateObjectForScripted r=jandem
Rewriting this code to make it obvious that we only attach specialized constructor stubs if we have enough information about `this` to inline.

Note: the old code used `skipAttach` in more cases, but after looking at it more closely, the new script analysis is the only case where it makes sense.

This version matches the corresponding pre-CacheIR call IC code (https://searchfox.org/mozilla-central/rev/3c073ca1ae02fd52fd6be584aa343b78999842fa/js/src/jit/BaselineIC.cpp#3509-3545).

Differential Revision: https://phabricator.services.mozilla.com/D90197
2020-09-16 00:07:38 +00:00
Iain Ireland cf3b84d68f Bug 1664357: Tweak thresholds for --fast-warmup r=jandem
To make sure we're testing recursive inlining, I've tweaked the thresholds to ensure that we can inline two levels deep without any loops. I've also made the inlining heuristics slightly more conservative, which prevents `check-earley-boyer` from timing out.

I've also included a few drive-by fixes. The change to `isRecursive` in `DoTrialInlining` only affects the jitspew message, because both ways of finding the `InliningRoot` are equivalent for the non-recursive case.

Differential Revision: https://phabricator.services.mozilla.com/D89875
2020-09-16 00:06:33 +00:00
Iain Ireland fbafb64811 Bug 1664357: Inline JSOp::Super r=jandem,anba
AFAICT, outside of the bytecode generator, there is no longer any difference between `JSOp::Super` and `JSOp::New` except for the expression decompiler.

Differential Revision: https://phabricator.services.mozilla.com/D89874
2020-09-16 00:06:21 +00:00
Iain Ireland 8a1c6c98ce Bug 1664357: Inline JSOp::New r=jandem
We already did the hard work to handle `this` creation for transpiling, so inlining is pretty straight-forward.

`patchInlinedReturn` needs to know whether we're calling a derived constructor to avoid repeated bailouts in `MReturnFromCtor`. I used a similar solution to what anba did here: https://phabricator.services.mozilla.com/D58785). Once Ion is gone, we could consider modifying `MReturnFromCtor` instead.

Differential Revision: https://phabricator.services.mozilla.com/D89873
2020-09-16 00:06:08 +00:00
Iain Ireland 2a7253d13a Bug 1664357: Store needsUninitializedThis in CallFlags r=jandem
Instead of storing a flag in GuardSpecificFunction, I reused the CallFlags that are already being stored in the call. This also lets us avoid a VM call in the baseline IC.

After Ion is gone, we can consider storing a ConstructorKind in CallFlags (with values `None`, `UninitializedThis`, `Template`, and `VMCall`) and moving the template object offset from `MetaTwoByte` into `CallScriptedFunction`.

Differential Revision: https://phabricator.services.mozilla.com/D89872
2020-09-16 00:05:50 +00:00
Brindusan Cristian 1f72b3f30e Backed out changeset 3895daa47180 (bug 1308101) for linux hazard bustages. CLOSED TREE 2020-09-16 04:01:37 +03:00
Brindusan Cristian 5cb053c42a Backed out changeset 309b64bd96a1 (bug 1396399) for mochitest failures at test_ext_contentscript_activeTab.html and ESlint failure at SpecialPowersParent.jsm. CLOSED TREE 2020-09-16 03:33:38 +03:00
Brindusan Cristian 09fafce1c6 Backed out changeset 6e3078121a13 (bug 1657676) for bc failures at browser_oneOffs_keyModifiers.js. CLOSED TREE 2020-09-16 03:18:05 +03:00
Mark Striemer 7249c61d14 Bug 1664565 - Immediately enter rendering state when requesting an updated preview r=emalysz
This avoids the sheet count being shown incorrectly when the destination
changes between PDF and non-PDF printers.

Differential Revision: https://phabricator.services.mozilla.com/D89971
2020-09-15 19:00:14 +00:00
Mark Striemer 8514fcf46f Bug 1662434 - Show correct sheet count for PDF printers when numCopies is set r=emalysz
Depends on D89796

Differential Revision: https://phabricator.services.mozilla.com/D89797
2020-09-15 19:00:10 +00:00
Gijs Kruitbosch bb7122d9fb Bug 1664949 - don't clear the active theme pref on startup so it gets synced wrong, r=zombie,mixedpuppy
Before bug 1660557, this was actually clearing an old migration pref, but now
it's clearing the actual theme pref used by Sync.

Differential Revision: https://phabricator.services.mozilla.com/D90194
2020-09-15 23:55:39 +00:00
Andrew Swan f56339c2d3 Bug 1396399: Test for content scripts and activeTab permission.
Differential Revision: https://phabricator.services.mozilla.com/D90333
2020-09-15 23:54:24 +00:00
Matt Woodrow 69ea94aefc Bug 1664948 - Remove content process interception from HttpChannelChild. r=asuth,dragana,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D90192
2020-09-15 23:44:58 +00:00
Molly Howell 8eb91f6860 Bug 1665195 - Also delete the UpdateLogs directory from the Firefox uninstaller. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D90317
2020-09-15 23:41:50 +00:00
Kris Maglione e4514ebf52 Bug 1658791: Fix red herring httpd.js error messages. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D89813
2020-09-15 23:21:55 +00:00
Adam Gashlin 0fc9fb531a Bug 1662795 - Use extension to decide whether to offer view internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D90006
2020-09-12 18:47:53 +00:00
Rob Lemley 142c37fe5d Bug 1661493 - Support extending OptimizationSchema in taskgraph projects. r=taskgraph-reviewers,ahal
In order for Thunderbird to effectively cut down on excess builds, there needs
to be a way to define taskgraph optimization strategies beyond what is made
available in the mozilla repository.
taskgraph.optimize.register_strategy gets half of the job done. The other piece
is task schema validation which checks optimizations against OptimizationSchema.

OptimizationSchema gets moved to taskgraph.optimize.schema so that it is not set
too early by taskgraph.util.schema. Projects then call set_optimization_schema()
to replace the default schema object. set_optimization_schema() needs to be called
in the project's taskgraph:register function before any transform code is loaded.

Differential Revision: https://phabricator.services.mozilla.com/D88429
2020-09-15 23:08:52 +00:00
Narcis Beleuzu c7f4f12791 Backed out changeset fa3e94e7c584 (bug 1664948) for bustages on HttpChannelParent.cpp . CLOSED TREE 2020-09-16 02:10:13 +03:00
Emilio Cobos Álvarez 3464071d3d Bug 1557645 - Unify in-process document cloning a bit more. r=jwatt
By passing the content viewer to CreateStaticClone we can do this fairly
easily. I'm going to add another entry-point to the clone process and
it'd be good if we avoid repeating the SetDocument dance and so on.

Differential Revision: https://phabricator.services.mozilla.com/D90315
2020-09-15 23:03:23 +00:00
Harry Twyford b769c92faf Bug 1657676 - Add search mode preview. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D89964
2020-09-15 22:55:12 +00:00
Gijs Kruitbosch fe59b3186c Bug 492320 - allow cmd-shift-n to work when there are no open windows, r=jaws,mstange
Differential Revision: https://phabricator.services.mozilla.com/D86656
2020-09-09 17:42:00 +00:00
Matt Woodrow b75c1b3b01 Bug 1664948 - Remove content process interception from HttpChannelChild. r=asuth,dragana,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D90192
2020-09-15 20:47:06 +00:00
Emilio Cobos Álvarez ad97bae11d Bug 1557645 - Document::CreateStaticClone shouldn't be virtual. r=jwatt
Just minor preliminar cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D90314
2020-09-15 21:39:00 +00:00
Kartikaya Gupta 7da05af4bb Bug 1664838 - Add a test. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D90311
2020-09-15 22:05:21 +00:00