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

672671 Коммитов

Автор SHA1 Сообщение Дата
Brindusan Cristian f892c56fa2 Backed out changeset e91773704fbd (bug 1577107) for wpt crashes/assertions on clone-before-keypath-eval.html. CLOSED TREE
--HG--
extra : histedit_source : 65f613208b85a94eef3de04365bc8e4e87585ac8
2019-09-26 20:11:03 +03:00
Kris Taeleman d2d88e021d Bug 1582565 - Log transactions into readable format. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D46657

--HG--
extra : moz-landing-system : lando
2019-09-26 16:43:05 +00:00
Mike Shal 9b622424d1 Bug 1582189 - Include submodules in git fetch tasks; r=froydnj
Using git-archive for the fetch task means that we don't get the
submodules of a git repository included in the archive. There isn't a
straightforward way to get submodules from a bare repo included with
git-archive, so instead we can simply clone & checkout with
--recurse-submodules and then use a standard tar command to bundle up
the tree.

Adding --recurse-submodules to the commands has no effect on a repo
without submodules, so we can add it to all invocations for simplicity.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:46:24 +00:00
Nicolas Chevobbe fd8ec279f4 Bug 1584074 - Fix CodeMirror token color issue due to update to v5.49.0. r=gl.
The last update of the CodeMirror library introduced new
CSS selectors in the css file with a greater specificity than
they used to, which means the color property we set in our
themes css files weren't applied.
We change the selectors in our theme files so they are more
specific than the ones in codemirror's css file.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 16:14:00 +00:00
Christoph Kerschbaumer 30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00
Boris Zbarsky 6f69ca7498 Bug 1583636. Ensure that all the partials of an interface mixin are in the same .webidl file. r=edgar,saschanaz
The build system can't handle things being scattered about more than that.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 13:09:49 +00:00
Victor Porof 71a08e56c3 Bug 1583440 - Enable fuzzer-no-link on the rkv crate when fuzzing, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D46901

--HG--
extra : moz-landing-system : lando
2019-09-26 16:24:50 +00:00
Andrei Oprea b47a6216fe Bug 1583231 - Fix indentation, tooltip use, and CSS of what's new panel and toolbarbutton r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D46931

--HG--
extra : moz-landing-system : lando
2019-09-26 11:06:30 +00:00
Nika Layzell 08192838cd Bug 1582237 - Expose embedder inner window ID on BrowsingContext in all processes, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D46802

--HG--
extra : moz-landing-system : lando
2019-09-26 16:16:32 +00:00
Dão Gottwald 6135c6c044 Bug 1582375 - Focus the urlbar when clicking directly on the input container (this includes the search glass which doesn't consume pointer events). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D47237

--HG--
extra : moz-landing-system : lando
2019-09-26 14:12:08 +00:00
Frederic Wang 8bf77b9030 Bug 1548530 - Remove support for numalign/denomalign/align attributes. r=emilio
Intent to unship: https://groups.google.com/forum/#!topic/mozilla.dev.platform/JnJVGTmIwPE

- Introduce a new preference option mathml.deprecated_alignment_attributes.disabled()
  to disable alignment attributes for mfrac/munder/mover/munderover elements.
- Disable the attributes in Nightly and when running WPT tests.
- Enable the attributes in other channels but add a counter and deprecation warning.
- Remove failure expectation for WPT test frac-numalign-denomalign-001.html for mfrac
- Add new WPT test for underover-legacy-align-attribute-001.html for munder/mover/munderover
- Enable the attributes for MathML reftests checking these attributes.
- Disable numalign/denomalign test for Mochitest test_bug975681.html when the attributes
  are disabled.

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

--HG--
extra : moz-landing-system : lando
2019-09-22 11:25:26 +00:00
Ryan Hunt d461775aee Bug 1582986 - Only compute a virtual memory limit if RLIMIT_AS is supported. r=lth
We could use RLIMIT_DATA here, but that seems to have slightly different semantics
and it seems best to just stick to use RLIMIT_AS for this heuristic.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 15:38:40 +00:00
Botond Ballo 4c26f8c142 Bug 1583983 - Add threading / locking overview to APZ docs. r=tnikkel,nical
To avoid duplicating information, the comment about lock ordering in
APZCTreeManager.h is also updated to point to the documentation.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 09:48:24 +00:00
Dão Gottwald a91e4d2fbb Bug 1581753 - Improve one-off search button layout in narrow windows. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D47270

--HG--
extra : moz-landing-system : lando
2019-09-26 15:26:42 +00:00
Randall E. Barker 232be7b92d Bug 1583265 - Add GeckoSession.purgeHistory() r=geckoview-reviewers,snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D47137

--HG--
extra : moz-landing-system : lando
2019-09-26 15:18:59 +00:00
Byron Campen [:bwc] 68c6661fe1 Bug 1583046: Tighten down threading rules. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47086

--HG--
extra : moz-landing-system : lando
2019-09-26 15:15:33 +00:00
Dão Gottwald 28cffc3722 Bug 1584167 - Merge UrlbarView's outside click handling into UrlbarInput. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D47236

--HG--
extra : moz-landing-system : lando
2019-09-26 14:11:50 +00:00
Yaron Tausky b9add81961 Bug 1577107 - Avoid following the prototype chain r=janv
With this commit we no longer follow the value's prototype chain when
creating index updates in IndexedDB.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 09:35:09 +00:00
ffxbld c9b081d8c9 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D47244

--HG--
extra : moz-landing-system : lando
2019-09-26 14:33:06 +00:00
Noemi Erli 68edbc8842 Backed out changeset c3579f540cd7 (bug 1583932) for causing xpcshell failures in test_csp_reports.js CLOSED TREE
--HG--
extra : rebase_source : 5c71e17d6c48d398a11aa919208963aa47209064
extra : amend_source : 8802cdb433e0f770c0648a91bb876dae7dd51100
2019-09-26 17:00:16 +03:00
Marco Bonardo 7d77f1ccc3 Bug 1579002 - Retained results: megabar should shown again pending search results on refocus. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D46606

--HG--
extra : moz-landing-system : lando
2019-09-26 13:31:15 +00:00
Rob Wu 43a807dc30 Bug 1474041 - Wait for browser.windows.create instead of onCreated r=rpl
The browser.windows.onCreated event is triggered before
browser.windows.create returns. Waiting until browser.windows.create has
resolved may resolve the memory leak from bug 1474041.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 11:54:07 +00:00
Olli Pettay 322a0d1fa7 Bug 1579591, clear pending timeouts in BrowserUsageTelemetry.jsm to avoid leaks during testing, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D47250

--HG--
extra : moz-landing-system : lando
2019-09-26 13:37:15 +00:00
Drew Willcoxon e505b9b12c Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 13:53:14 +00:00
Kershaw Chang b219613dd5 Bug 1580272 - Remove unnecessary call to proxyStartSSL r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D46969

--HG--
extra : moz-landing-system : lando
2019-09-24 17:44:55 +00:00
thomasmo ab2f648351 Bug 1581855:Part 2 - Present VR output to VR Host r=kip,jrmuizel,sotaro,bryce
This change is a continuation of Part 1 (Bug 1570128), where the 2D content rendered by Firefox for Firefox Reality on Desktop is marshalled through VRHost so that it can be presented in a VR environment.
A new class, FxrOutputHandler, is created to manage creating a sharable texture, sharing it through VRShMem, and updating it when content updates. This class updates content with both WebRender and conventional rendering output.
This initial iteration of FxrOutputHandler does not have synchronization between reading and writing this shared texture across processes. A subsequent fix (Bug 1581881) is pending, which will reuse WebVR code to manage writing to and reading from a pool of textures.
This also presents issues with rendering protected media, so an additional class, FxrWindowManager, is created to manage all windows created for Firefox Reality on Desktop so that it can inform whether or not protected media can be presented.
The automated manual tests in vrhosttest.cpp now show the real shared texture handle rather than a fake value, which shows that marshaling succeeded.

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

--HG--
extra : moz-landing-system : lando
2019-09-26 12:50:44 +00:00
Thomas Wisniewski 216d51dfc1 Bug 1581180 - Fix browser_report_site_issue.js test on Fission r=denschub
Fix browser_report_site_issue.js test on Fission

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

--HG--
extra : moz-landing-system : lando
2019-09-26 13:30:42 +00:00
Nathan Froyd 5a3128b973 Bug 1583964 - make `IsOnCurrentThread` for thread pools constant-time; r=KrisWright
It's fairly common for clients to hold a pointer to some private thread
and then inquire about `IsOnCurrentThread` in debug checks.  As we
migrate these private threads into some `nsIEventTarget` implementation
that might be running on thread pools, we need to ensure that those
`IsOnCurrentThread` continues to be relatively cheap.  The current
implementation for thread pools is not particularly efficient.

The inefficiency comes from having to iterate over all the threads in
the pool.  But there's no need to do this; we can just have each thread
set a particular thread-local variable to the thread pool it's running
on, and check the value of that thread-local variable instead.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 22:02:08 +00:00
Emilio Cobos Álvarez 06edb6f970 Bug 1583941 - Use a per-window event to handle dark mode changes in LightweightThemeConsumer.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D47241

--HG--
extra : moz-landing-system : lando
2019-09-26 13:21:40 +00:00
Tom Tung f93fcf3c45 Bug 1562663 - P6 - Fix try failure on test_postMessage_closed.html; r=nika
Depends on D46492

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:57:25 +00:00
Tom Tung 05f490fe48 Bug 1562663 - P5 - Fix try failures; r=nika,lth
Differential Revision: https://phabricator.services.mozilla.com/D46492

--HG--
extra : moz-landing-system : lando
2019-09-26 13:28:21 +00:00
Tom Tung 27676f6b0d Bug 1562663 - P4b - Enable SAB for window.postMessage and worker.postMessage; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D43243

--HG--
extra : moz-landing-system : lando
2019-09-23 09:57:24 +00:00
Tom Tung be1286818d Bug 1562663 - P4a - Deny sharing memery by default for DataClonePolicy; r=nika,lth
Differential Revision: https://phabricator.services.mozilla.com/D45187

--HG--
extra : moz-landing-system : lando
2019-09-26 13:27:25 +00:00
Tom Tung 699c7a419a Bug 1562663 - P3 - Have agent cluster Ids for workers; r=perry,nika
Dedicated workers should be in the same  agent cluster with its parent/creator.
The other workers (ShareWorker/ServiceWorker/ChromeWorker) create another agent
cluster when they are created from the creator.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:57:23 +00:00
Tom Tung 752128922c Bug 1562663 - P2 - Pass the agent cluster id to the ClientInfo so that we can check whether two clients are in the same agent cluster; r=nika
The agent cluster id is set when the EnsureClientSource is executed;

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:57:23 +00:00
Tom Tung f2b43fd60f Bug 1562663 - P1 - Have an agent cluster id for each DocGroup; r=nika
The purpose of this patch is to know if two different global objects are in the
same agent cluster.

To achieve this, the plan to to add an id for each DocGroup in this patch. And,
have an id on each workers. The final goal is to pass these ids to ClientInfo
so that we can check if two different global are in the same agent cluster group
by checking the AgentClusterId on their ClientInfos.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 09:57:23 +00:00
arthur.iakab b61f7995be Backed out 2 changesets (bug 1403051) for causing devtools failures on browser_parsable_css.js CLOSED TREE
Backed out changeset d93010798ea5 (bug 1403051)
Backed out changeset 0c049e82eb05 (bug 1403051)
2019-09-26 16:32:12 +03:00
Michael Kaply 42b53c41d1 Bug 1560808 - Don't activate policy engine if there are no policies. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D46973

--HG--
extra : moz-landing-system : lando
2019-09-26 12:35:34 +00:00
Sebastian Streich 245b87853c Bug 1583932 - Remove aRequestOrigin from nsCSPContext::ShouldLoad r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47125

--HG--
extra : moz-landing-system : lando
2019-09-26 12:34:17 +00:00
Martin Stransky 39d980d661 Bug 1575136 - [Linux/Gtk] Set initial wm_role for windows, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D47217

--HG--
extra : moz-landing-system : lando
2019-09-26 12:11:44 +00:00
Martin Stransky ded82a61e2 Bug 1584139 [Linux/CSD] Add decoration size to nsWindow::LockAspectRatio() when CSD mode is used, r=jhorak
Depends on D47234

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

--HG--
extra : moz-landing-system : lando
2019-09-26 12:03:32 +00:00
Martin Stransky ae44a5d195 Bug 1584139 - [Linux/Gtk] Provide logging to nsWindow::Resize(), nsWindow::SetWindowDecoration(), nsWindow::SetDrawsInTitlebar(), r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D47234

--HG--
extra : moz-landing-system : lando
2019-09-26 12:05:03 +00:00
Sebastian Streich 2fbc46096e Bug 1580782 - Remove JS Callsites for Principal->GetURI->Schemeis r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45685

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:33 +00:00
Sebastian Streich 88670a47e9 Bug 1580782 - Change Callsites to use nsIPrincipal->SchemeIs r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45654

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:16 +00:00
Sebastian Streich d53a4d8d9a Bug 1580782 - Expose SchemeIs on nsIPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D45653

--HG--
extra : moz-landing-system : lando
2019-09-26 10:47:03 +00:00
Henri Sivonen 07723965c2 Bug 1578339 addendum - Avoid function calls in ASCIIness and Latin1ness checking and conversion between Latin1 and UTF-16 for short strings. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D47072

--HG--
extra : moz-landing-system : lando
2019-09-26 12:46:16 +00:00
Henri Sivonen 4cc848414e Bug 1578339 - Use SIMD accelerated encoding conversions in SpiderMonkey. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D44470

--HG--
extra : moz-landing-system : lando
2019-09-26 12:45:00 +00:00
Luca Greco bf6f8c67db Bug 1578447 - Fix storage panel ui not refreshing on changes to items with string keys parsable as JSON. r=miker
In /devtools/client/storage/ui.js, handleChangedItems and handleDeletedItems should only JSON.parse string keys related to the indexedDB and Cache actors.

The string keys used by all the other storage actors are expected to be a simple string keys, and their valid values include strings that can be successfully parsed as JSON (e.g. "123" or "null" are both valid keys for the storage items related to the localStorage, extensionStorage etc.).

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

--HG--
extra : moz-landing-system : lando
2019-09-26 12:28:06 +00:00
Rob Thijssen 142d7d3127 Bug 1582726 - use cafile from certifi when available r=dustin
python's `urllib.request.urlopen(url)` can fail when a system doesn't know how to verify a ca certificate. this patch makes use of the cafile provided by the `certifi` module, if/when it is installed, to verify certificates.

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

--HG--
extra : source : 92b9ffc8f37ddd16ca3f426d64df059eea38d5fa
2019-09-26 09:17:15 +00:00
sotaro e1192adbf5 Bug 1573048 - Add size check to WebGLContext::BufferData() r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D44619

--HG--
extra : moz-landing-system : lando
2019-09-26 04:18:30 +00:00