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
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
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
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
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
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
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
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
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
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
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
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
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
`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
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
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
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
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
- 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