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

715686 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke e3c223da3e Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80861
2020-07-01 08:34:12 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Dorel Luca 675da38265 Backed out 4 changesets (bug 1648858) for Browser-chrome failures on content/test/static/browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 2a107eabe00c (bug 1648858)
Backed out changeset 1622eb497b04 (bug 1648858)
Backed out changeset f5770886187d (bug 1648858)
Backed out changeset 3a9ae16f63c9 (bug 1648858)
2020-07-01 12:27:26 +03:00
Jan de Mooij ac180368d0 Bug 1647250 - Fix MArrayLength to check for non-int32 array lengths in Warp. r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D81670
2020-06-30 10:45:51 +00:00
Jon Coppeard 8ad6c00a5a Bug 1645710 - Store Scope's data pointer in the cell header to avoid race during compacting r=jandem
Currently Scope stores the pointer to the enclosing scope in its cell header.  This can be both read and written to while updating scopes during compacting GC.  The result is the same regardless of the order the operations, since the read is to check the forwarded flag (which is always clear in this case) and the write doesn't change the value of the flag.  I don't think this is causing problems at the moment, but it is undefined behaviour and should be fixed.  This race was previously suppressed.

The patch stores the data pointer in the cell header which doesn't need updating during compacting GC.

Differential Revision: https://phabricator.services.mozilla.com/D81682
2020-07-01 06:51:11 +00:00
Tim Huang 986aadbbd4 Bug 1644738 - Propagate the IsOnContentBlockingAllowList in CookieJarSettings to the script generated document. r=baku
We also need to propagate the IsOnContentBlockingAllowList to the script
generated document. For this kind of document, it won't have the
CookieJarSettings at the first place. It will generate its
CookieJarSettings when someone requests it. And we need to propagate the
flag when generating the CookieJarSettings in this case. Or the script
generated document will have a wrong IsOnContentBlockingAllowList flag.

Differential Revision: https://phabricator.services.mozilla.com/D81727
2020-07-01 05:57:16 +00:00
Zhao Jiazhong d1b70e5075 Bug 1649655 - [MIPS] Add CodeGenerator::visitWasmRegisterResult function. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D81804
2020-07-01 07:16:36 +00:00
Nicolas Silva 36d0b0407a Bug 1648703 - Use a custom vector growth pattern in PrimitiveList. r=gw
This greatly reduces the number of vector reallocations happening while building primitive lists. On the difficult cases like youtube front page the reduction is a bit more than 50%, and more in other pages I tested. More importantly it dramatically reduces the amount of the most expensive of these reallocations which are when the vector is starting to get large.

Differential Revision: https://phabricator.services.mozilla.com/D81725
2020-07-01 07:01:18 +00:00
Nicolas Silva 957d144600 Bug 1648323 - Skip the primitive if its clip mask does not intersect it. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D81700
2020-07-01 07:01:18 +00:00
Jean-Yves Avenard 488ccd8244 Bug 1648326 - Don't dispatch runnable on the running taskqueue. r=bobowen,jld
The current taskqueue is blocked until the current function has finished; Running the event loop would only process events on the running thread.

Additionally, we make mIPCLaunchThread an nsISerialEventTarget to guarantee that at shutdown the tasks are run in order regardless of the IPC Launch Thread type.

Differential Revision: https://phabricator.services.mozilla.com/D81511
2020-07-01 06:46:59 +00:00
Luca Greco ea4f1ae5e7 Bug 1609920 - part 4: Add new mochitests and marionette test related to the new background service worker prefs. r=marionette-reviewers,asuth,whimboo,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D73326
2020-06-30 16:03:02 +00:00
Luca Greco 0578891772 Bug 1609920 - part 3: Terminate extension background workers on shutdown and unregister on uninstall. r=dom-workers-and-storage-reviewers,asuth,mixedpuppy
Depends on D60245

Differential Revision: https://phabricator.services.mozilla.com/D60301
2020-06-10 20:48:23 +00:00
Luca Greco ac67fbe999 Bug 1609920 - part 2: Guard ServiceWorkerContainer::Register to allow/disallow moz-extension scheme based on prefs. r=dom-workers-and-storage-reviewers,asuth,webidl,smaug
- Adds a new "extensions.serviceWorkerRegister.allowed" pref (defaults to false)
- Makes ServiceWorkerContainer::Register to throw NS_ERROR_DOM_SECURITY_ERR if the
  script url is a moz-extension url and the caller is a non-system caller
  (but do not throw NS_ERROR_DOM_SECURITY_ERR if the caller is a moz-extension
  and the new pref is set to true)

Depends on D60244

Differential Revision: https://phabricator.services.mozilla.com/D60245
2020-06-30 20:40:53 +00:00
Luca Greco 665d0662d8 Bug 1609920 - part 1: Allow the WebExtension Framework to register a moz-extension service worker. r=dom-workers-and-storage-reviewers,asuth,mixedpuppy
- Adds the new about:config pref "extensions.backgroundServiceWorker.enabled" (currently defaults to false).
- Adds the background.service_worker property to the manifest JSON schema definition
- Locks background.service_worker manifest property behind the new preference
- Adds a new BackgroundWorker class to ext-backgroundPage.js (responsible for managing the background
  service worker for the extension, e.g. make sure that the expected worker script is registered
  as expected when the extension is starting up)
- Adds to the ServiceWorkerManager a new method to allow the WebExtension Framework to register the
  background service worker without an existing extension page
- Allows the "moz-extension" schema in the dom/serviceworkers and dom/cache internals

Depends on D63697

Differential Revision: https://phabricator.services.mozilla.com/D60244
2020-06-10 12:13:29 +00:00
Matthew Noorenberghe b3738aaaa4 Bug 1648858 - Update d3.js to latest 3.x version (3.5.17). r=mossop
We should upgrade to an even newer version but I don't want to break the devtools memory toolbox with a potential breaking change in 4.x.
This should allow using parts of d3.js without a `document` e.g. d3-dsv.

Differential Revision: https://phabricator.services.mozilla.com/D81442
2020-06-29 16:18:44 +00:00
Matthew Noorenberghe b550937547 Bug 1648858 - Move d3.js from devtools/ to toolkit/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D81437
2020-07-01 06:33:05 +00:00
Matthew Noorenberghe 9f586f2740 Bug 1648858 - Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
Remove GPL-3.0 since it-alone isn't allowed.

Licensing runbook: https://docs.google.com/document/d/1Oguqp43W4_ChyroJ9AJAzG1jSwkUWfKvBKVvrDxVsMg/edit

Differential Revision: https://phabricator.services.mozilla.com/D81436
2020-07-01 00:50:58 +00:00
Matthew Noorenberghe c46c6c283e Bug 1648858 - Replace reference to Makefile.in with moz.build in sqlite3/README.MOZILLA. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D81435
2020-06-29 16:13:39 +00:00
Coroiu Cristina af73b61642 Bug 1628788 - update expectancy for valid-with-semicolon.https.html on mac and linux r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D81468
2020-06-29 08:18:22 +00:00
Coroiu Cristina 31d8600b73 Backed out changeset 6debf3390ba2 (bug 1646609) for mochitest failures on docshell/base/BrowsingContext.cpp 2020-07-01 08:39:53 +03:00
Andrea Marchesini e503d7882d Bug 1649499 - Rename white/blacklist from nsContentUtils::IsURIInList, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D81724
2020-07-01 05:22:51 +00:00
Andrea Marchesini 788cd2c41f Bug 1649404 - Enforce the reading completeness in any PermissionManager methods, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D81681
2020-06-30 18:34:51 +00:00
Adam Roach [:abr] 6b0c8ddbc5 Bug 1646531: Open credit card popup when user manually blanks a credit card field r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D81791
2020-07-01 03:51:14 +00:00
Cameron Kaiser 1c860a4d74 Bug 1649653 - fix compilation on non-profiler platforms. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D81803
2020-07-01 03:03:56 +00:00
Ting-Yu Lin 3fca243aa4 Bug 1645549 Part 2 - Find the first non-anonymous-box's content node when sorting frame list. r=dholbert
When sorting frames in DOM order, we need to be careful to avoid using
an anonymous flex item's content node to make ordering decisions;
otherwise, all such items would incorrectly end up being sorted to the
front of the list. We need to dig through it to find the content node
that was wrapped in the anonymous wrapper, and use that content node for
sorting/ordering.

Differential Revision: https://phabricator.services.mozilla.com/D81001
2020-07-01 02:38:57 +00:00
Ting-Yu Lin cd61c7d575 Bug 1645549 Part 1 - Move GetFirstNonAnonBoxDescendant() to nsContainerFrame. r=dholbert
Also, rename it to GetFirstNonAnonBoxInSubtree() to reflect its
functionality more precisely that it can return the argument aFrame
itself.

Differential Revision: https://phabricator.services.mozilla.com/D81000
2020-07-01 02:33:11 +00:00
Severin c5c659df89 Bug 1641408 - dropdown UI for the username field of the password manager doorhanger;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D79777
2020-07-01 01:28:36 +00:00
Bas Schouten 01d76a554c Bug 1606706 - Part 5: Disable lsan for a very leaky test where it's offering no value. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D81793
2020-07-01 01:37:14 +00:00
Bas Schouten 383a10f596 Bug 1606706 - Part 4: Mark some tests as no longer not running. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D80632
2020-07-01 01:36:26 +00:00
Bas Schouten 6323c24374 Bug 1606706 - Part 3: Enable new TaskController code by default. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D74673
2020-07-01 01:36:08 +00:00
Emma Malysz aa836962ab Bug 1648639, remove containers, help view, and developer panels from main view and place in template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D81257
2020-06-30 22:40:15 +00:00
Jan-Ivar Bruaroey 7f97330880 Bug 1647532 - Fix Provided/Not Provided text in about:webrtc renderConfiguration(). r=ng
Depends on D81412

Differential Revision: https://phabricator.services.mozilla.com/D81789
2020-07-01 00:03:20 +00:00
Jan-Ivar Bruaroey 8879965e09 Bug 1647532 - Refactor about:webrtc js code to remove redundant classes. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D81412
2020-06-30 23:52:33 +00:00
Jan-Ivar Bruaroey c30bf92d09 Bug 1647532 - Modernize about:webrtc js code. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D80574
2020-06-30 23:51:24 +00:00
Yura Zenevich d8a089d118 Bug 1602054 - add a DAPM test for the accessibility panel that measures open/close toolbox on it against simple document. r=jdescottes,perftest-reviewers,sparky
Depends on D80512

Differential Revision: https://phabricator.services.mozilla.com/D81370
2020-06-30 16:28:57 +00:00
Yura Zenevich 9af969dee0 Bug 1602054 - add cold open DAMP test for the accessibility panel. r=perftest-reviewers,jdescottes,Bebe
This is a brand new (and first) DAMP talos test for accessibility panel. "accessibility.cold-open" is similar to other cold open tests such as inspector one. It opens accessibility panel, waits for its UI to render and then closes the toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D80512
2020-06-30 10:26:19 +00:00
Emilio Cobos Álvarez 3b9c28af7a Bug 1256980 - Make z-index only apply to positioned and grid / flex item frames. r=miko,hiro
Differential Revision: https://phabricator.services.mozilla.com/D81557
2020-06-30 22:51:12 +00:00
chocos 9455a91500 Bug 1648959 - Done internal linking in docs in toolkit Directory,DONTBUILD.r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D81464
2020-06-30 22:26:40 +00:00
Anny Gakhokidze 9f398ab019 Bug 1630176 - Fix the race between process switching and the new browser window loading code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D81563
2020-06-30 20:57:52 +00:00
David Major 81d6dc12a4 Bug 1649193 - Update the package list in linux_32bit_build_on_64bit_OS.rst r=padenot
On a new machine the instructions didn't fully work for me. I suspect that `libpulse-dev:i686` -> `i386` might have been a typo, and I also needed `libx11-xcb-dev:i386`.

Differential Revision: https://phabricator.services.mozilla.com/D81560
2020-06-30 09:02:17 +00:00
Kris Maglione d646c6cbe9 Bug 1646609: Don't assert when an inactive/OOP inner window tries to navigate an OOP BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D81731
2020-06-30 22:19:56 +00:00
Mike Hommey 9c264b7cf2 Bug 1240930 - Move jar_maker to the misc tier. r=firefox-build-system-reviewers,geckoview-reviewers,rstewart,agi
Because jar_maker is not in the libs tier, we also rename the libs-%
targets for l10n repacks to l10n-%, which make it clearer what they are
for.

And because multilocale.txt is both a GeneratedFile and a file that is
generated (and installed) via manual build rules, keeping it in the misc
target actually breaks building in toolkit/locales during l10n repacks,
so move it to libs for now.

Differential Revision: https://phabricator.services.mozilla.com/D81766
2020-06-30 21:34:32 +00:00
Geoff Brown cb19f2147e Bug 1647362 - Improve py3 compat in fix_stacks.py; r=bc
Use universal_newlines as a convenient way of treating the process I/O as text,
so string read/writes continue to succeed under python 3.

Differential Revision: https://phabricator.services.mozilla.com/D81774
2020-06-30 22:17:38 +00:00
Geoff Brown d72a37cce9 Bug 1638984 - Run 'mach rusttests' in python 3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D81769
2020-06-30 21:48:51 +00:00
Emilio Cobos Álvarez 3f74138cd4 Bug 1631929 - Have the destructor of CalcNode be never inline. r=dmajor
You tell me which other things need it... Copy-constructor? operator==?
and such?

Differential Revision: https://phabricator.services.mozilla.com/D73385
2020-06-30 22:31:22 +00:00
Cosmin Sabou 9ac909be70 Backed out changeset 398c202ed56e (bug 1647200) for bc failures on browser_copying.js. CLOSED TREE 2020-07-01 02:35:37 +03:00
Cosmin Sabou 16c941758d Backed out 3 changesets (bug 1622212) for causing wpt failures on requestStorageAccess.sub.window.html on central.
Backed out changeset a20db87bec25 (bug 1622212)
Backed out changeset 783ef2b63ef8 (bug 1622212)
Backed out changeset ece4c5394185 (bug 1622212)
2020-07-01 02:33:27 +03:00
Butkovits Atila b707f6e54b Backed out changeset fa56a4ad6f4a (bug 1605688) for devtools failures on browser_devtools_api_destroy.js. CLOSED TREE 2020-07-01 02:17:31 +03:00
Butkovits Atila 3b3450501e Backed out changeset 067f4c0eb51b (bug 1648577) for crashtest failures at nsFlexContainerFrame.cpp. CLOSED TREE 2020-07-01 02:06:42 +03:00
Butkovits Atila e01165cdfc Backed out changeset 6d882a42cfbe (bug 1646519) for causing failure on WindowContext.cpp. CLOSED TREE 2020-07-01 01:11:52 +03:00