gecko-dev/dom
Emilio Cobos Álvarez 9d38e5590e Bug 1704167 - When a pattern ends in whitespace, try to collapse adjacent white-space. r=jfkthame
This I'm not 100% sure. Should be harmless, but it's a bit subtle.
Maybe we should special-case it with "we're at the beginning of the
pattern"? Reasoning below:

The previous patch restores the performance of the original test-case.

However, if you go to the reduced test-case and try to type " re" in the
findbar, we still take a long time. The reason for that is not that the
previous patch is not effective, but that the findbar sends find
requests as soon as you type, and thus we end up with a request to find
" ", which matches a gazillion spaces in the page and causes us to use
tons of memory and time. Finding " re" is actually super-fast :-)

This fixes it, but it is a bit subtle, so thoughts? Perhaps the findbar
should wait a bit to perform the search before sending a query for " "
instead or something? But I'd rather make it fast.

Differential Revision: https://phabricator.services.mozilla.com/D111634
2021-04-12 16:11:21 +00:00
..
abort Bug 1698468 - Add AbortSignal.abort() r=smaug 2021-03-15 20:46:53 +00:00
animation Bug 1703717 - Check for null aAnimation->GetOwner() before dereferencing - r=emilio 2021-04-08 07:24:54 +00:00
audiochannel Bug 1702033 - Remove some dead audio volume-related code in nsPIDOMWindow. r=alwu 2021-03-30 19:38:02 +00:00
base Bug 1704167 - When a pattern ends in whitespace, try to collapse adjacent white-space. r=jfkthame 2021-04-12 16:11:21 +00:00
battery
bindings Bug 1704293 - Use Maybe<PropertyDescriptor> for SetPropertyIgnoringNamedGetter. r=jandem 2021-04-12 15:34:19 +00:00
broadcastchannel Bug 1692639 - Change dom/broadcastchannel/tests/test_bfcache.html to use BroadcastChannel, r=annyG 2021-04-08 21:15:02 +00:00
browser-element
cache Bug 1686191 - Have a way to specifically report warnings around QM_TRY; r=asuth,sg,dom-storage-reviewers 2021-03-24 12:27:53 +00:00
canvas Bug 1701777: Fix timeout handling for xorigin mochitests. r=mccr8 2021-04-08 18:34:07 +00:00
chrome-webidl Bug 1631581 - Part 5: Rename TreatNullAs=EmptyString to LegacyNullToEmptyString r=edgar 2021-04-11 03:13:32 +00:00
clients Bug 1697927 - Part 1: Only expose HadOriginalOpener on BrowsingContext, r=farre 2021-03-18 16:15:17 +00:00
commandhandler Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
console
credentialmanagement
crypto
debugger
docs Bug 1682030 - Remove NPAPI overlay from JS Plugin actors r=Gijs 2021-04-06 19:28:18 +00:00
encoding
events Bug 1662723 - Wait for APZ get stable in test_focus_blur_on_click_in_cross_origin_iframe.html; r=hsivonen 2021-04-12 15:23:02 +00:00
fetch Bug 1695050 - Part 11: Update the call-sites of CookieJarSettings::Create() for Fetch and XHR. r=smaug 2021-03-29 11:01:54 +00:00
file Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
filehandle Bug 708901 - Migrate to nsTHashSet in dom/filehandle. r=dom-storage-reviewers,janv 2021-03-23 10:36:33 +00:00
filesystem Bug 708901 - Migrate to nsTHashSet in dom/filesystem. r=baku 2021-03-23 10:36:33 +00:00
flex
gamepad Bug 1700595 - Unbreak dom/gamepad/fallback/FallbackGamepad.cpp after Bug 1610570 r=tjr 2021-03-25 19:17:49 +00:00
geolocation
grid Bug 708901 - Migrate to nsTHashSet in dom/grid. r=mats 2021-03-24 17:56:48 +00:00
html Bug 1704332 - Remove various image-orientation related prefs. r=tnikkel 2021-04-11 17:39:12 +00:00
imptests
indexedDB Bug 1680751 - Change KeyPathType to an enum class. r=ttung,dom-storage-reviewers,asuth 2021-03-31 18:28:40 +00:00
interfaces Bug 1682030 - Clean up NPAPI plugin fallback behavior. r=jmathies,emilio 2021-04-06 19:28:18 +00:00
ipc Bug 1697988: Fix race in test_browsingcontext_currenturi.html. r=mccr8 2021-04-08 00:51:46 +00:00
jsurl
l10n Bug 1701621: Remove property Ci.nsIAboutModule.URI_CONTENT_LINKABLE from test browser_resource_uri.js r=Standard8 2021-03-29 13:12:51 +00:00
locales Bug 1697521 - In MediaRecorder check for multiple tracks synchronously, per spec. r=padenot 2021-04-06 09:10:04 +00:00
localstorage Bug 1701346 - LSNG: Revert QM_OR_ELSE_WARN to ordinary orElse in ExistsAsFile; r=asuth,dom-storage-reviewers,jstutte 2021-03-27 13:08:07 +00:00
manifest Bug 1697089 - Web manifest: Remove query & fragment components from scope URL r=saschanaz,annevk 2021-03-18 17:36:02 +00:00
mathml
media Bug 1697641 - Gracefully handle webms with bogus timecodes that conflict other metadata. r=kinetik 2021-04-12 16:07:07 +00:00
messagechannel Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
midi
network
notification
offline
payments Bug 1646556 - Make PaymentRequest APIs be fission compatible. r=nika 2021-03-25 12:57:13 +00:00
performance Bug 1693327 - Assert the global is dying when EventCounts fails to set values r=smaug 2021-03-22 23:22:23 +00:00
permission
plugins Bug 1682030 - Remove more dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,emilio 2021-04-06 19:28:15 +00:00
power
prio
promise Bug 1581859: Part 5 - Add js/Value.h include to PromiseNativeHandler.h. r=nika 2021-03-25 19:47:04 +00:00
prototype
push Backed out changeset 065644a4b755 (bug 1649604) for causing failure on test_update_theme.js 2021-03-23 20:20:53 +02:00
quota Bug 1700915: Python scripts that fetch and analyze QM_TRY errors. r=dom-storage-reviewers,janv 2021-04-08 10:01:36 +00:00
reporting
res
script Bug 1681046: fix non-js occuring error throw order for async modules; r=mgaudet 2021-04-08 08:21:57 +00:00
security Bug 1702001 Https-only mode does not reload pages after clicking "Continue to HTTP Site", when url contains navigation r=ckerschb 2021-04-08 14:32:57 +00:00
serializers
serviceworkers Bug 1695050 - Part 4: Update the call-sites of CookieJarSettings::Create() for ServiceWorker and Worker. r=asuth 2021-03-29 11:01:52 +00:00
simpledb Bug 1697115 - Rationalize QuotaManager::DecreaseUsageForClient arguments; r=dom-storage-reviewers,sg 2021-03-17 06:56:39 +00:00
smil Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
storage Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
svg Bug 1703592 - Deal with non-finite viewbox / viewports. r=longsonr 2021-04-09 13:10:55 +00:00
system Bug 1494756 - Fix build failure on Linux with "ac_add_option --enable-gpsd" r=baku 2021-04-08 14:50:35 +00:00
tests Bug 1698698 - Disable test_pointerlock_xorigin_iframe on Linux and Win7 for frequent failures. r=edgar,intermittent-reviewers,ahal 2021-04-10 00:05:18 +00:00
u2f
url
vr
webauthn Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
webbrowserpersist Bug 1695050 - Part 8: Update the call-site of CookieJarSettings::Create() for WebBrowserPersist. r=smaug 2021-03-29 11:01:53 +00:00
webgpu Bug 1622846 - Update wgpu and WebGPU IDL for the new copy views API r=webidl,jgilbert,smaug 2021-04-08 14:35:42 +00:00
webidl Bug 1704206 - Add XULPopupElement.activateItem as a way to activate menu items. r=tnikkel,emilio 2021-04-12 00:32:19 +00:00
webshare
websocket Bug 1660307 - Get rid off nsSupportsWeakReference for WebSocketImpl, r=baku 2021-04-12 11:50:35 +00:00
workers Bug 1677204 - wasm: Factor out feature gating to declarative macro. r=lth 2021-04-09 20:03:51 +00:00
worklet Bug 1681046: fixup worklet error messages for async modules; r=mgaudet 2021-04-08 08:21:56 +00:00
xhr Bug 1695050 - Part 11: Update the call-sites of CookieJarSettings::Create() for Fetch and XHR. r=smaug 2021-03-29 11:01:54 +00:00
xml
xslt Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
xul Bug 1704206 - Add XULPopupElement.activateItem as a way to activate menu items. r=tnikkel,emilio 2021-04-12 00:32:19 +00:00
jar.mn
moz.build Bug 1682030 - Remove some dead NPAPI code from dom/plugins and related spots. r=jmathies,mconley,ipc-reviewers,mccr8 2021-04-06 19:28:12 +00:00