Commit Graph

829658 Commits

Author SHA1 Message Date
Tooru Fujisawa
5af8e61aea Bug 1805622 - Part 7: Use FrontendAllocator::new_ in Parser. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166153
2023-02-08 08:56:57 +00:00
Tooru Fujisawa
1a8f4231b3 Bug 1805622 - Part 6: Use FrontendContext::hadErrors in Parser. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166152
2023-02-08 08:56:57 +00:00
Tooru Fujisawa
cf326af463 Bug 1805622 - Part 5: Remove JSContext* parameter from ScriptSource::set* methods. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166151
2023-02-08 08:56:57 +00:00
Tooru Fujisawa
45e4ebae95 Bug 1805622 - Part 4: Use maybeCurrentJSContext in ScriptSource::setDisplayURL. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166150
2023-02-08 08:56:56 +00:00
Tooru Fujisawa
765200f3ef Bug 1805622 - Part 3: Add FrontendContext variant of DuplicateString and use it in ScriptSource. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166149
2023-02-08 08:56:56 +00:00
Tooru Fujisawa
fa14b2e686 Bug 1805622 - Part 2: Do not use JSContext* in StringBuffer in Parser. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166148
2023-02-08 08:56:55 +00:00
Tooru Fujisawa
2685819c19 Bug 1805622 - Part 1: Remove unused forward declarations and includes. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166147
2023-02-08 08:56:55 +00:00
Tooru Fujisawa
335cae207e Bug 1805141 - Remove JSContext* from SharedContext. r=bthrall
Differential Revision: https://phabricator.services.mozilla.com/D166145
2023-02-08 08:56:54 +00:00
Marco Bonardo
18ea881847 Bug 1810772 - Stop recalculating frecency in Sync. r=daisuke,lina
Differential Revision: https://phabricator.services.mozilla.com/D168781
2023-02-08 08:54:58 +00:00
Marco Bonardo
bee082d5c5 Bug 1810772 - Stop recalculating frecency immediately for history removals. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D168780
2023-02-08 08:54:58 +00:00
Marco Bonardo
c0fd0ecffd Bug 1810772 - Stop recalculating frecency immediately for bookmarks. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D168779
2023-02-08 08:54:57 +00:00
Tooru Fujisawa
bd7358d5b5 Bug 1814550 - Part 2: Remove BytecodeEmitter::cx. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D168768
2023-02-08 08:32:27 +00:00
Tooru Fujisawa
1867a7a8cd Bug 1814550 - Part 1: Use 2 separate SharedImmutableScriptDataTable instances for main-thread and all-other threads. r=tcampbell
Introduce a per-process bytecode-deduplication table for use by off-main-thread
JS parsing. Parsing on the main-thread continues to use the per-JSRuntime table
but no longer needs to worry about locks.

Worker runtimes (with a parent JSRuntime) no longer get their own table and
instead use the per-process table since they are less sensitive to the
performance of the lock. This increases sharing opportunity (for memory
reduction) available to Workers.

Differential Revision: https://phabricator.services.mozilla.com/D168767
2023-02-08 08:32:27 +00:00
Andreas Pehrson
3c79e934f3 Bug 1814692 - Don't attempt realtime scheduling rtc::PlatformThreads. r=webrtc-reviewers,bwc
Differential Revision: https://phabricator.services.mozilla.com/D169036
2023-02-08 08:01:48 +00:00
Mozilla Releng Treescript
ce504e83ea no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
en-GB -> 1f99cb21664d124b45601a947f9a510eae6a6530
es-AR -> 92bdf724972522aafef031f3f73618038ef24320
es-MX -> cc83613c187830dfa0296360400dcdaa894c60b4
gn -> c0e6c2de46dafcfe183f66e06430f21bb1d86b19
hsb -> b92c654016373ff888f83cd97d018aae08485c26
hu -> 39daed60ecfb2369f23cd300d9fe5bfe82d02cef
ia -> 2ff9be2fa4609f383bebe28d9f77bc1133c60b27
nn-NO -> f73c684fef0dc14f20061a5abc6e82e235e027db
pt-BR -> 33abd4be510504439b4a37051df58e06a3541f70
sl -> 80c868d938a9fcfcd07acd6cc7263f753eaea9ea
sv-SE -> e354ae39a5edae50a7b88994a7f3030155a009e5
2023-02-08 06:58:11 +00:00
Hubert Boma Manilla
110232617a Bug 1811040 - [devtools] No longer search in blackboxed files r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168925
2023-02-08 06:14:46 +00:00
Hubert Boma Manilla
03c46580d5 Bug 1810990 - [devtools] Always show search results from minified source r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168924
2023-02-08 06:14:46 +00:00
Hubert Boma Manilla
306ce0b2a2 Bug 1812022 - [devtools] Allow searching in third party scripts r=nchevobbe
Remove the hard-coded blocking of searching in third-party scripts.
We are later going to add a feature to allow the users filter out these files themselves

Differential Revision: https://phabricator.services.mozilla.com/D168261
2023-02-08 06:14:45 +00:00
Hubert Boma Manilla
a13d122e4c Bug 1814255 - [devtools] Split up the project search tests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D168923
2023-02-08 06:14:45 +00:00
James Teh
1dcf0a5946 Bug 1814785: Include the transform only for the frame itself in the a11y cache, rather than calculating it relative to an ancestor. r=morgan
Calculating it relative to an ancestor causes problems when the frame ancestry and the a11y ancestry diverge.
For example, this can happen for a transform which is also position: absolute.
In that case, the parent Accessible's frame is not an ancestor of the child Accessible's frame.
Since the transform is no longer relative to the ancestor, we no longer need to remove our parent-relative bounds before applying it.
However, we do need to ensure that we apply the transform *before* adding parent-relative bounds.

Differential Revision: https://phabricator.services.mozilla.com/D169059
2023-02-08 05:45:55 +00:00
Csoregi Natalia
835ec5411a Backed out changeset 90a14874cbac (bug 1725028) for reftest failures on fixed-width-viewport-inflation.html. CLOSED TREE 2023-02-08 07:49:16 +02:00
Hubert Boma Manilla
5613db095a Bug 1803546 - [devtools] Show errored request for those that are for non-existing domain r=ochameau
#### Highlights of this patch

- We are now tracking errors that show up later in the cycle.
- Errors related to 301 redirects are ignored as we show those as 301's in the netmonitor.
- Using `waitForLoad` in a couple of more places as when a domain is not found, we have `await`'s that do not resolve.
- `NS_IMAGELIB_ERROR_FAILURE` is now emitted for the stub network request in the console, which was not exposed previously.

Differential Revision: https://phabricator.services.mozilla.com/D166882
2023-02-08 05:32:03 +00:00
Shane Hughes
70f546040c Bug 1809722 - Add dismiss button to spotlight. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D166760
2023-02-08 05:05:32 +00:00
Morgan Rae Reschenberg
a5551e25d4 Bug 1815153: Add test to verify position:sticky bounds when scrolling, after dynamic style change r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D169129
2023-02-08 04:19:19 +00:00
Iulian Moraru
d4c416aa57 Backed out changeset 27d1755f42e0 (bug 1815558) for causing multiple failures. CLOSED TREE 2023-02-08 05:42:49 +02:00
Emilio Cobos Álvarez
f9d0bd739b Bug 1725028 - Use reftest-zoom rather than tweaking devPixelsPerPx in this reftest. r=hiro
Enabling flex emulation turns this into permafail on Linux, but it does
seem like a legit failure. Once the DPI change is done, the resolution
is indeed too little.

This reftest comes from bug 1685756, and reftest-zoom should do the
trick and make sure to test that codepath, while not affecting the
chrome window.

Differential Revision: https://phabricator.services.mozilla.com/D169165
2023-02-08 02:12:37 +00:00
zaggy1024
7217f6c812 Bug 1814736 - Update mp4parse to fix a crash on files with invalid box sizes. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D169163
2023-02-08 01:36:17 +00:00
Emilio Cobos Álvarez
38fce4f9a3 Bug 1815558 - Downgrade nsDependentString assert. r=smaug
I saw this in the nightly profile. This makes us go into the string
which in most cases is not necessary because the lengths are different.

Depends on D169143

Differential Revision: https://phabricator.services.mozilla.com/D169144
2023-02-08 00:55:19 +00:00
Emilio Cobos Álvarez
434c464e76 Bug 1815558 - Clean up some MiscContainer string/atom usage, and optimize atom comparison on MiscContainer. r=smaug
Not sure if you think this is worth it, it might be in some cases where
we have pre-atomized stuff in the container.

Depends on D169142

Differential Revision: https://phabricator.services.mozilla.com/D169143
2023-02-08 00:55:19 +00:00
Emilio Cobos Álvarez
94d41e8d17 Bug 1815558 - Tweak nsAttrValue::Equals(nsAtom*). r=smaug
To avoid an unconditional string copy when comparing case-insensitively
(by using nsDependentAtomString).

Since the string path is not much different than the generic code-path,
just use that elsewhere.

This shows up in selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D169142
2023-02-08 00:55:18 +00:00
Hanna Jones
37a433323c Bug 1799471 - Part 2: replace toggles in about:preferences with moz-toggle r=tgiles,mconley
This patch changes the Firefox Suggest preference toggles to use the new `moz-toggle` element.

For testing purposes, set `browser.urlbar.quicksuggest.enabled` to `true` to make the toggles visible in `about:preferences#privacy`.

Differential Revision: https://phabricator.services.mozilla.com/D167881
2023-02-08 00:09:07 +00:00
Hanna Jones
56d655b0c4 Bug 1799471 - Part 1: add description slot to moz-toggle r=tgiles,mstriemer
This patch updates `moz-toggle` to accept a `description` slot that can be used to change the description markup in cases where we need to display a support link or some other content.

I'm not totally convinced using a slot is the right approach since it might be making the toggle markup a little too configurable. One alternative is we could accept another property that we use to append a support link to the description, but I don't love that either. I don't want our components sprouting tons of properties to handle edge cases. Open to thoughts/feedback on this.

Differential Revision: https://phabricator.services.mozilla.com/D167880
2023-02-08 00:09:06 +00:00
Drew Willcoxon
5b16ee90ce Bug 1815490 - Fix JS error in UrlbarProviderWeather when QuickSuggest is not initialized. r=daisuke
This JS error happens because `QuickSuggest.weather` is undefined when the
provider's `isActive()` is called while xpcshell tests perform searches. The
error is harmless because it's caught and reported by the urlbar providers
manager.

`QuickSuggest.weather` is defined when `QuickSuggest.init()` is called. In
normal app usage, `init()` is called by BrowserGlue on app startup. Xpcshell
tests that are related to quick suggest make sure `init()` is called by using
`QuickSuggestTestUtils.ensureQuickSuggestInit()`. The only problem is xpcshell
tests that are not related to quick suggest. For those tests, `init()` is never
called.

The fix is simple, just don't assume `QuickSuggest.weather` is defined inside
`isActive()`. Another fix would be to make `isActive()` return false if
`UrlbarPrefs.get("quickSuggestEnabled")` is false. That's what the quick suggest
provider does, and that's why it doesn't have this problem.
`quickSuggestEnabled` will remain false until `QuickSuggest.init()` is called. I
think it's nicer to only rely on `QuickSuggest.weather` though.

Differential Revision: https://phabricator.services.mozilla.com/D169097
2023-02-08 00:03:17 +00:00
Tom Ritter
41db83c9f3 Bug 1809774: Simplify PointerEvent.webidl because RFP doesn't need the callertype r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D166625
2023-02-07 23:53:19 +00:00
Stephanie Cunnane
357a4ffe21 Bug 1815549 - Remove references to non-existent Assert.fail method. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D169137
2023-02-07 22:53:32 +00:00
Csoregi Natalia
07f5e0b865 Backed out changeset 0997dafbbd86 (bug 1792559) for mochitest failures on test_ext_tabs_insertCSS.html. CLOSED TREE 2023-02-08 04:02:08 +02:00
Csoregi Natalia
13e65ad3f7 Backed out changeset a20d64d6501c (bug 1815195) for geckoview failures on PdfCreationTest. CLOSED TREE 2023-02-08 04:00:32 +02:00
Iulian Moraru
e5e4b37cc7 Backed out changeset c6795729948b (bug 1801563) for causing spidermonkey build bustages on codegen-x86-test.js. CLOSED TREE 2023-02-08 02:57:02 +02:00
Stephen A Pohl
6c9b9447d8 Bug 1815473: Update code comment to no longer refer to Updated.app being stored inside the application bundle on macOS. r=bytesized,application-update-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D169087
2023-02-07 21:54:15 +00:00
Calixte
6dac2c2b1a Bug 1815195 - Get the bytes from pdf.js when saving a PDF in GeckoView r=geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D168972
2023-02-07 21:44:50 +00:00
Emilio Cobos Álvarez
d9cada2cc6 Bug 876085 - Remove unneeded dirty reflows. r=longsonr
We've reworked change hints tons of times since this was filed, this
works now.

Differential Revision: https://phabricator.services.mozilla.com/D169119
2023-02-07 21:43:22 +00:00
Nicholas Rishel
31b8bf2ed2 Bug 1497425 - Enable native notifications by default on Windows. r=nalexander
Depends on D166442

Differential Revision: https://phabricator.services.mozilla.com/D149180
2023-02-07 21:40:40 +00:00
Nicholas Rishel
27b7bbf0ff Bug 1809464 - Post 2: skip-if was accidentally removed in revision 5cff19bd3c53. As no intermittent test failures have re-emerged for two years we can assume Bug 1407296 has since been resolved. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D168503
2023-02-07 21:40:40 +00:00
Nicholas Rishel
b887d0679d Bug 1809464 - Post 1: Fixing test exposed pre-existing intermittent XUL notification bugs tracked in Bug 1810860. Turning off verify tests in the meantime to unblock Windows native notifications. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D169008
2023-02-07 21:40:40 +00:00
Nicholas Rishel
585932d86c Bug 1809464 - Fix test_principal fail when alerts.useSystemBackend=true for Windows. r=nalexander,lina
Windows native notifications are only available in the parent process. The existing mochitest runs in a content process, therefore checking `"@mozilla.org/system-alerts-service;1" in Cc` fails. The test interprets this to mean that the XUL notification backend is enabled, which is not the case.

Since this test seems XUL specific in nature, this change modifies the test to set `alerts.useSystemBackend=false` and removes the now redundant check on test startup.

Depends on D167477

Differential Revision: https://phabricator.services.mozilla.com/D166442
2023-02-07 21:40:39 +00:00
Luca Greco
b75db0d19a Bug 1792559 - BaseContext applySafeWithoutClone should log errors associated to the extension page innerWindowID. r=willdurand,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D166461
2023-02-07 21:39:59 +00:00
Robert Longson
b442efeb9e Bug 1815525 - Remove more dead code post bug 829802 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D169114
2023-02-07 21:16:55 +00:00
Iain Ireland
3eb322d1c3 Bug 1813533: Don't enforce invariant for FirstSubsumedFrame r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D168830
2023-02-07 21:08:55 +00:00
Michael Froman
aff2b4d09c Bug 1815520 - improve guidance output when running elm_rebase.sh. r=dbaker DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D169116
2023-02-07 21:05:41 +00:00
Brad Werth
a858f46d01 Bug 1407461: Allow hardware acceleration for Windows drivers with mismatched DLL and registry versions on Nightly. r=gfx-reviewers,jrmuizel
On Nightly, mismatched driver versions will be noted in any associated
crash reports, but otherwise will not be reported and will not prevent
hardware acceleration from activating.

On Beta and Release, we will continue to treat this as a disqualifying
condition.

Differential Revision: https://phabricator.services.mozilla.com/D168997
2023-02-07 20:30:13 +00:00