| ai-window-prompts-remote-settings-snapshot.json |
|
3638 |
- |
| head.js |
Any shared setup for these tests lives here. |
654 |
- |
| test_Chat.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
32641 |
- |
| test_ChatUtils.js |
Constants for test memories
|
18720 |
- |
| test_CitationParser.js |
|
8507 |
- |
| test_ConversationSuggestions.js |
Constants for preference keys and test values
|
45037 |
- |
| test_intent_classifier.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
9256 |
- |
| test_Memories.js |
Constants for preference keys and test values
|
41037 |
- |
| test_MemoriesChatSource.js |
|
13217 |
- |
| test_MemoriesConversationScheduler.js |
Builds fake chat history data for testing
@param {number} numMessagesToCreate Number of user messages to create (default: 10)
@returns {Promise<ChatMessage[]>} Array of ChatMessage instances
|
5049 |
- |
| test_MemoriesDriftDetector.js |
@type {SessionMetric[]} |
6766 |
- |
| test_MemoriesHistoryScheduler.js |
|
6905 |
- |
| test_MemoriesHistorySource.js |
Create a single visit object for PlacesUtils.history.insertMany.
@param {string} url
@param {string} title
@param {number} baseMs base timestamp in ms
@param {number} offsetMs offset from base in ms (negative = earlier)
|
27477 |
- |
| test_MemoriesHistorySource_blocklist.js |
Test blocking word present in history title
|
1563 |
- |
| test_MemoriesManager.js |
Constants for test memories
|
38311 |
- |
| test_PromptOptimizer.js |
Testing Strategy for compactMessages (Prompt Compaction)
This suite verifies the middleware's structural safety and inter-turn
deduplication logic. Coverage includes:
- test_no_tool_calls_bypass: Verifies arrays without tool calls are safely deep-cloned and passed through unmodified.
- test_basic_deduplication: Verifies older page reads are replaced with placeholders when the exact same URL is read in a later turn.
- test_multi_url_partial_deduplication: Verifies precise index-matching when only a subset of URLs overlap across multi-URL requests.
- test_global_failsafe_non_array: Verifies invalid non-array inputs are safely bypassed without throwing errors.
- test_granular_failsafe_bad_json: Verifies malformed JSON arguments/contents are skipped gracefully without crashing the pipeline.
|
6863 |
- |
| test_SearchBrowsingHistory.js |
|
11741 |
- |
| test_SearchBrowsingHistoryDomainBoost.js |
|
1865 |
- |
| test_SecurityProperties.js |
|
1056 |
- |
| test_SensitiveInfoDetector.js |
|
16286 |
- |
| test_TitleGeneration.js |
Constants for preference keys and test values
|
12879 |
- |
| test_ToolDefinitions.js |
Tests for validating tool definitions in Tools.sys.mjs
The tests are designed to verify that tool definitions are in compliance
with the OpenAI API standard.
These tests ensure that:
1. Tool definitions have the correct structure
2. Parameters match what the actual functions accept
3. Required fields are present and correctly specified
4. Parameter types are valid and consistent
|
4900 |
- |
| test_Tools_GetOpenTabs.js |
|
9640 |
- |
| test_Tools_GetPageContent.js |
|
14155 |
- |
| test_Tools_GetUserMemories.js |
|
1249 |
- |
| test_Tools_RunSearch.js |
|
6646 |
- |
| test_Tools_SearchBrowsingHistory.js |
searchBrowsingHistory tests
Wrapper test: ensures Tools.searchBrowsingHistory() returns a valid JSON
structure for time-range browsing history search (empty searchTerm).
|
11045 |
- |
| test_Utils.js |
Constants for preference keys and test values
|
3675 |
- |
| test_Utils_RemoteSettings.js |
|
34799 |
- |
| xpcshell.toml |
|
1035 |
- |