- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 92 for onerror (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java
callback.onChunk("final content", true); assertEquals(4, events.size()); assertEquals("chunk:final content:true", events.get(3)); // Test onError callback.onError(ChatPhaseCallback.PHASE_SEARCH, "Search failed"); assertEquals(5, events.size()); assertEquals("error:search:Search failed", events.get(4)); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java
*/ void onChunk(String content, boolean done); /** * Called when an error occurs during processing. * * @param phase the phase where the error occurred * @param error the error message */ void onError(String phase, String error); /** * Returns a no-op callback implementation. * * @return a callback that does nothing */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:32:04 GMT 2026 - 3.3K bytes - Click Count (0) -
tests/test_swagger_ui_escape.py
html = get_swagger_ui_html( openapi_url="/openapi.json", title="Test", swagger_ui_parameters={"customKey": "<img src=x onerror=alert(1)>"}, ) body = html.body.decode() assert "<img src=x onerror=alert(1)>" not in body assert "\\u003cimg" in body def test_normal_init_oauth_still_works(): html = get_swagger_ui_html( openapi_url="/openapi.json",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java
} @Test public void test_render_xss_imgOnerror() { String malicious = "<img src=\"x\" onerror=\"alert('XSS')\">"; String result = markdownRenderer.render(malicious); // onerror attribute should be removed assertFalse(result.contains("onerror")); } @Test public void test_render_xss_iframeTag() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmStreamCallback.java
* @param done true if this is the final chunk */ void onChunk(String chunk, boolean done); /** * Called when an error occurs during streaming. * * @param error the error that occurred */ default void onError(final Throwable error) { // Default implementation does nothing }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
logger.debug("SSE error event sent. phase={}, error={}", phase, errorCode); } } catch (final Exception e) { if (logger.isDebugEnabled()) { logger.debug("Failed to send error event. phase={}, error={}", phase, e.getMessage()); } } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/webapp/js/marked.min.js
kdown(e){return(n,r)=>{let i={...r},s={...this.defaults,...i},a=this.onError(!!s.silent,!!s.async);if(this.defaults.async===!0&&i.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+",...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:21:57 GMT 2026 - 41.5K bytes - Click Count (0) -
src/main/webapp/js/chat.js
updateUI(); showStatus('error'); hideProgressIndicator(); showErrorBanner(errorMessage); } /** * Show error banner */ function showErrorBanner(message) { elements.errorBanner.find('.error-message').text(message); elements.errorBanner.removeClass('d-none'); } /** * Hide error banner */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
src/main/webapp/js/jquery-3.7.1.min.map
,"getJSON","getScript","text script","wrapAll","firstElementChild","wrapInner","htmlIsFunction","unwrap","visible","xhr","XMLHttpRequest","xhrSuccessStatus","0","1223","xhrSupported","cors","errorCallback","open","username","xhrFields","onload","onerror","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","scriptAttrs","charset","scriptCharset","evt","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:07:52 GMT 2024 - 131.6K bytes - Click Count (0) -
src/main/webapp/js/admin/jquery-3.7.1.min.map
,"getJSON","getScript","text script","wrapAll","firstElementChild","wrapInner","htmlIsFunction","unwrap","visible","xhr","XMLHttpRequest","xhrSuccessStatus","0","1223","xhrSupported","cors","errorCallback","open","username","xhrFields","onload","onerror","onabort","ontimeout","onreadystatechange","responseType","responseText","binary","scriptAttrs","charset","scriptCharset","evt","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Oct 26 01:07:52 GMT 2024 - 131.6K bytes - Click Count (0)