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

766775 Коммитов

Автор SHA1 Сообщение Дата
Boris Chiou f902c9a1ad Bug 1724361 - Try to increase timeout value to reduce the probability of intermittents for ResizeTestHelper. r=emilio
Increase the global timeout value to 1000ms for slow machines, and still
use the reasonable short timeout value (100ms) to subtests which expect
a timeout.

Differential Revision: https://phabricator.services.mozilla.com/D122763
2021-08-17 21:35:35 +00:00
Boris Chiou 8acbb3f9d1 Bug 1724361 - Fix a JS error because we use the assert outside the test callbacks. r=emilio
Add a dummy test if the decoding of the image fails, and move the
ResizeTestHelper (which creates an async_test) before it starts.

Differential Revision: https://phabricator.services.mozilla.com/D122790
2021-08-17 21:35:35 +00:00
Boris Chiou cac8c9d81a Bug 1724361 - Reduce the side effect of iframe test in observe.html. r=hiro
test6() has side effects if we got fail from iframe. We have to move
resolvePromise() before the assert_equals() because if this assert fails, it
interrupts this async test. In this case, no one resolve the promise.
So we have to resolve the promise before any asserts.

Besides, move the event listener above the iframe src setup.

Differential Revision: https://phabricator.services.mozilla.com/D122537
2021-08-17 21:35:34 +00:00
Mike Hommey 146ace7d0a Bug 1726114 - Use clang toolchain for macosx native builds. r=firefox-build-system-reviewers,mhentges
For plain builds, that puts them more in line with local builds.

Differential Revision: https://phabricator.services.mozilla.com/D122824
2021-08-17 20:41:05 +00:00
Mike Hommey 738d83b404 Bug 1726114 - Remove build/macosx/local-mozconfig.common. r=firefox-build-system-reviewers,mhentges
Local builds don't use it, and currently the only builds that happen on
macs on automation are not using the clang toolchain, so they're not
going through the first condition, and the remainder of the mozconfig
is essentially no-ops (plus, the only builds on macs on automation that
do use mozconfigs at all are rusttests, for which those settings wouldn't
matter anyways).

Meaning in practice, the mozconfig is not doing anything useful.

Differential Revision: https://phabricator.services.mozilla.com/D122823
2021-08-17 20:41:05 +00:00
Mike Hommey 1ea7e4c4ed Bug 1726094 - Fix mips jit after bug 1699271. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D122808
2021-08-17 20:36:46 +00:00
Emily McMinn b1c769c99f Bug 1725977 - Remove the unused markup for the "below search" version of about:privatebrowsing r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D122879
2021-08-17 19:35:36 +00:00
Nicklas Boman f288624a43 Bug 1308094 - Remove deprecated PL_strdup and PL_strfree calls from modules code r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D122150
2021-08-17 19:34:33 +00:00
Nicklas Boman a13038925c Bug 1308094 - Remove PL_strdup and PL_strfree from BloatEntry r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D122149
2021-08-17 19:34:32 +00:00
Nicklas Boman 79898e04ea Bug 1308094 - Remove deprecated PL_strdup calls from toolkit code r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122148
2021-08-17 19:34:32 +00:00
Nafees Nehar 7b783556f9 Bug 1605362 - Network.getCookies() returns all cookies of current page and all of its sub frames as well. r=webdriver-reviewers,jdescottes
Added check in Network.getCookies() to skip duplicate cookies
Also added tests.
Created html files for running tests which set cookies
- remote/cdp/test/browser/network/doc_get_cookies_page.html
- remote/cdp/test/browser/network/doc_get_cookies_frame.html
Added tests to /remote/cdp/test/browser/network/browser_getCookies.js
Updated Puppeteer tests-
- changed Page.setCookie should set secure same-site cookies from a frame spec to PASS

Differential Revision: https://phabricator.services.mozilla.com/D122382
2021-08-17 19:24:45 +00:00
Molly Howell 40c63c264c Bug 1684950 - Change the remaining Firefox Account panel strings to sentence case. r=Gijs,flod,fluent-reviewers
Only two strings that appear in the accounts panel are still in title case,
but those two need to be forked, because they are also used in other menus
where they need to remain in title case.

This patch adds the two "new" strings and the necessary switch to select
between them and the existing strings, since all of these menus are dynamically
constructed by the same code.

Differential Revision: https://phabricator.services.mozilla.com/D122764
2021-08-17 19:17:24 +00:00
Julian Descottes e30d2f70f2 Bug 1724207 - [devtools] Skip browser_enable_devtools_popup_new_user.js on test-verify r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D122855
2021-08-17 18:47:01 +00:00
Byron Campen 1e436f3d3b Bug 1725488: Copy this helper file from wpt. r=ng
Depends on D122626

Differential Revision: https://phabricator.services.mozilla.com/D122645
2021-08-17 18:37:10 +00:00
Byron Campen 641e8f33fd Bug 1725488: Rewrite simulcast mochitests, and remove the hooks they used. r=ng,emilio
Differential Revision: https://phabricator.services.mozilla.com/D122626
2021-08-17 18:37:09 +00:00
Emilio Cobos Álvarez c41f086b94 Bug 1726182 - Add a use counter for content-visibility. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D122873
2021-08-17 18:25:11 +00:00
Eitan Isaacson 5090a9049a Bug 1700264 - Cache names. r=Jamie
Eventually we will want to add the Name method as an abstract method in
Accessible and implemented it platform-independent in
RemoteAccessibleBase.

Differential Revision: https://phabricator.services.mozilla.com/D121925
2021-08-17 18:17:39 +00:00
Eitan Isaacson b3e528f978 Bug 1700263 - Implement async Cache protocol method. r=Jamie
This is a good place to formalize the following naming convention:
 * A "field" is and direct accessible getter method (name,
   role, value, min, max, etc.)
 * An "attribute" is a member of the "attributes" field.

With that said, I think AccAttributes should probably be named
AccProperties or something of the sort. Might leave that for another
time.

Differential Revision: https://phabricator.services.mozilla.com/D121924
2021-08-17 18:17:38 +00:00
Eitan Isaacson dfc900e0e4 Bug 1700263 - Split serialize function into a flatten, and then serialize. r=Jamie
This will allow us to use the list of accessibles to be serialized later
for pushing a cache. The single array also gives us an opportunity to
paginate the cache, if needed.

Differential Revision: https://phabricator.services.mozilla.com/D121923
2021-08-17 18:17:38 +00:00
Nicolas Chevobbe 51feb51bfb Bug 1702715 - [devtools] Enable server side target switching. r=bomsy,Honza,jdescottes,ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D122327
2021-08-17 18:15:15 +00:00
Eitan Isaacson 369b2d3854 Bug 1725413 - Null check arguments argument in performAction. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D122647
2021-08-17 18:13:28 +00:00
Daniel Holbert fda78b55e2 Bug 1723249: Gracefully handle null SVG image-frame when resolving geometry properties. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D122791
2021-08-17 18:12:19 +00:00
Thomas Wisniewski de7bfe225c Bug 1713694 - Add a SmartBlock shim for AddThis; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122859
2021-08-17 18:03:16 +00:00
Nika Layzell 3e99c4d619 Bug 1725256 - Add process & remote type documentation, r=handyman,mccr8
This patch adds basic documentation for the core process architecture,
with a focus on the capabilities of specific content process remote
types. Details are also included about the capabilities of individual
helper processes.

These docs have some overlap with the documentation for adding new child
process types being added in D121871, but with a different focus,
intended more as an overview, and an intended audience of people
interested in the browser's general process architecture.

I considered adding more detail about the specific capabilities
restricted by each sandboxing policy, however I don't know the specifics
well enough to document them accurately. I think a separate document,
linked to from this one, about our OS-level sandboxing for each process
type could be useful.

Differential Revision: https://phabricator.services.mozilla.com/D122395
2021-08-17 18:01:51 +00:00
Gijs Kruitbosch da0ddd5ef7 Bug 1725950 - use panel disabled color for disabled bookmark '(empty)' items, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D122872
2021-08-17 17:02:35 +00:00
Toshihito Kikuchi fc81527d4d Bug 1587762 - Enable browser.tabs.unloadOnLowMemory by default. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D121799
2021-08-17 16:28:50 +00:00
Agi Sferro 5c215db6b3 Bug 1726180 - Include |api| dependencies in pom file. r=mhentges,owlish
Glean introduced a new type of dependencies (for us), "api". Since we build our
pom file manually we need to look at api dependencies too now.

Differential Revision: https://phabricator.services.mozilla.com/D122869
2021-08-17 16:24:38 +00:00
Tim Giles 9285e090f8 Bug 1687681: Add France specific CC expiry date transformation. r=dimi,sfoster
Our previous regex did not parse "AAAA" or "AA" so I've added this to the transformation regex.
For the year first regex, I added a separate regex because trying to bolt on the missing "AA" caused the resulting parsed result to drop characters for other locales ("yyyy" became "yyy" and the same with "aaaa").

Remove backslash as a supported month/year divider when checking expiry date placeholders.

Differential Revision: https://phabricator.services.mozilla.com/D120550
2021-08-17 15:58:48 +00:00
Cosmin Sabou 383665d07c Backed out changeset 43af938350db (bug 1713694) for eslint failure on data/shims.js. CLOSED TREE 2021-08-17 19:09:44 +03:00
Paul Zuehlcke 673a394c5a Bug 1721084 - Do not clear auth tokens and auth cache when purging trackers. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D122864
2021-08-17 15:49:23 +00:00
André Bargull 878241c291 Bug 1726123 - Part 7: Remove unnecessary includes from jsapi. r=arai
Remove unnecessary includes from jsapi and then fix up any compiler
errors due to missing includes in other files.

Differential Revision: https://phabricator.services.mozilla.com/D122845
2021-08-17 15:45:40 +00:00
André Bargull 3f69f92af9 Bug 1726123 - Part 6: Remove unnecessary includes from jsfriendapi. r=arai
Remove unnecessary includes from jsfriendapi and then fix up any compiler
errors due to missing includes in other files.

Differential Revision: https://phabricator.services.mozilla.com/D122844
2021-08-17 15:45:39 +00:00
André Bargull d2bbf86876 Bug 1726123 - Part 5: Add missing "js/" includes outside of SM. r=arai
In preparation for the next part, add missing includes to "js/" public headers.

Differential Revision: https://phabricator.services.mozilla.com/D122843
2021-08-17 15:45:39 +00:00
André Bargull c22a2b6581 Bug 1726123 - Part 4: Remove js{friend}api.h includes from tests. r=arai
Remove includes to "jsapi.h" and "jsfriendapi.h" in test files.

Differential Revision: https://phabricator.services.mozilla.com/D122842
2021-08-17 15:45:38 +00:00
André Bargull b2e3b5a596 Bug 1726123 - Part 3: Add separate header for CompletionKind enum. r=arai
`CompletionKind` is only used within the engine, so we can move it out of
"jsapi.h" into a separate header. This allows us to remove more "jsapi.h"
includes.

Differential Revision: https://phabricator.services.mozilla.com/D122841
2021-08-17 15:45:38 +00:00
André Bargull 8e15915289 Bug 1726123 - Part 2: Remove includes from js{friend}api.h includes from Xdr.h. r=arai
Split from part 1 because this change requires to add missing transitive
includes in many files.

Differential Revision: https://phabricator.services.mozilla.com/D122840
2021-08-17 15:45:37 +00:00
André Bargull c69b0c1cef Bug 1726123 - Part 1: Remove unnecessary includes to jsapi.h and jsfriendapi.h. r=arai
Remove includes to "jsapi.h" and "jsfriendapi.h" based on IWYU. And then fix
any missing transitive includes.

Only removes includes to "jsapi.h" and "jsfriendapi.h", no other missing or
unnecessary includes were updated!

Differential Revision: https://phabricator.services.mozilla.com/D122839
2021-08-17 15:45:37 +00:00
André Bargull 9f49b1bc77 Bug 1726122 - Part 2: Move MIR.h functions with single caller. r=jandem,nbp
Drive-by change:
Rename `MIRTypeForArrayBufferViewRead` parameter to `forceDoubleForUint32` to
match the argument name in the callers.

Depends on D122837

Differential Revision: https://phabricator.services.mozilla.com/D122838
2021-08-17 15:44:35 +00:00
André Bargull 0e6eceed06 Bug 1726122 - Part 1: Remove AlignmentFinder specialisations from MIR.h. r=jandem
These specialisations are no longer needed after bug 1448387.

Differential Revision: https://phabricator.services.mozilla.com/D122837
2021-08-17 15:44:34 +00:00
André Bargull 759047c7de Bug 1725632 - Part 5: Fix-up includes to js/src/jit in js/src/wasm. r=jandem
Depends on D122594

Differential Revision: https://phabricator.services.mozilla.com/D122595
2021-08-17 15:44:34 +00:00
André Bargull 8e022005e1 Bug 1725632 - Part 4: Fix-up includes to js/src/jit in js/src/vm. r=jandem
Depends on D122593

Differential Revision: https://phabricator.services.mozilla.com/D122594
2021-08-17 15:44:34 +00:00
André Bargull 82cc2e9c95 Bug 1725632 - Part 3: Fix-up includes to js/src/jit in js/src/gc. r=jandem
Depends on D122592

Differential Revision: https://phabricator.services.mozilla.com/D122593
2021-08-17 15:44:33 +00:00
André Bargull a269a8e3e1 Bug 1725632 - Part 2: Move more parts into Assembler-none.h. r=jandem
Move more parts into Assembler-none.h in preparation for the next part:

`jit::CodeAlignment` is used in "gc/GC.cpp", so if we make that constant
available through "jit/Assembler.h", "gc/GC.cpp" no longer needs to include all
of "jit/MacroAssembler.h".

For consistency with the other "Assembler-<platform>.h" files, more constants
and definitions were moved from "MacroAssembler-none.h".

Depends on D122591

Differential Revision: https://phabricator.services.mozilla.com/D122592
2021-08-17 15:44:33 +00:00
André Bargull 96a208cb51 Bug 1725632 - Part 1: Fix-up includes to js/src/jit in js/src/debugger. r=jandem
Remove includes marked as unnecessary by IWYU.

Differential Revision: https://phabricator.services.mozilla.com/D122591
2021-08-17 15:44:32 +00:00
Thomas Wisniewski 7cdd040859 Bug 1713694 - Add a SmartBlock shim for AddThis; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122859
2021-08-17 15:42:45 +00:00
Cosmin Sabou e2f29ff17f Backed out changeset c0715e519fb2 (bug 1725734) for causing web-locks wpt failures. CLOSED TREE 2021-08-17 18:45:00 +03:00
Dzmitry Malyshau 6d7cfc6c90 Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.

Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-08-17 15:22:45 +00:00
Toshihito Kikuchi 699162f574 Bug 1725471 - Update the "Capturing a minidump" page. r=handyman DONTBUILD
- Update the link to Microsoft Docs
- Update the steps to install debuggers
- Add steps using cdb.exe
- Add a section to identify a process
- Add a section to locate firefox.exe
- Add screenshots

Differential Revision: https://phabricator.services.mozilla.com/D122525
2021-08-17 15:16:01 +00:00
Cosmin Sabou fdad5a837a Backed out changeset 8077cd932f28 (bug 1687681) for causing build bustages. CLOSED TREE 2021-08-17 18:15:34 +03:00
Kershaw Chang ad767f9fe2 Bug 1721303 - Avoid exposing Alt-Used to service workers, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D122608
2021-08-17 14:48:04 +00:00