why this type of error comes in DevTools failed to load SourceMap - javascript-engine

DevTools failed to load SourceMap: Could not load content for http://127.0.0.1:8000/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILUREenter image description here

This isn't caused by your code,
From your Chrome browser, Go to DevTool Settings by pressing f12 key, then clicking the gear icon
in the upper right corner.
Disable the checkbox:
Enable JavaScript source maps
Enable CSS source maps
Then reload your browser.
For other browser, find Source setting after press f12

Related

IOS Browser got erreor when I go back from the PDF viewer - WebKitBlobResource error 1

Morning team,
I'm having this issue with my Angular application. I'm using File-saver to save a PDF. In all desktop browsers it work just fine and all Android browsers, except IOS browsers.
When I clicn in the button to download the file, the file is opened in the same tab. But when I click on previous button I get this error WebKitBlobResource error 1 and the URL is transofrmed to blob:https://domain/ID-GENERATED-BY-BROWSER

Discover which Chrome flags are supported in Electron

I would like to find out which Chrome flags I can use in my version of Electron. In Chrome I can just go to chrome://flags or about:flags and see a list. That does not work in Electron - it gives this error:
Not allowed to load local resource: chrome://flags/
Is there a way around this?

Dart DevTools - build/ios-code-size-analysis_01.json can not be drag & dropped

First I run flutter build ios --analyze-size.
Then I try to drag & drop the build/ios-code-size-analysis_01.json file into the already open Dart DevTools "Analyze size" window.
Expected behavior: The file is accepted and analyzed.
Actual behavior: I canĀ“t drop the file.
Possible problem: To open DevTools I run the App on a simulated iPhone as I own no real iPhone. But even through the "Open App size tooling" Button the actual behavior persists.
Other possible problem: When opening the build/ios-code-size-analysis_01.json file android studio gives a "The file size (10.65MB) exceeds configured limit (2.56MB). Code insight features are not available" & "This document contains very long lines. Soft wraps were forcibly enabled to improve editor performance".
Any idea what I could do different to analyze the size of the app components?

iOS Cordova assets not loaded

I wrote some new views for my application, and they all show up properly on chrome and safari. However, when I run the app on simulator and open up the safari debugger, those views don't show up under index.html/scripts/. I have confirmed that those files exist in the www/ and Staging/www/ folders in the Xcode project. I have run rake prepare_ios, but it does not fix the issue, do I need to add these new files to a directory somewhere?
After trying to access my application through mobile Safari, I encountered an error on the Safari inspector that I had hooked to my simulator. It told me that I could not use const since I was using strict mode. This error had not popped up previously, and only out of random luck (when i was closing the safari tab) did it even show up on the inspector. This led me to go and make changes to my files that were using const and the page loads now.

How can open Firefox developer tools in my extension's sidebar?

I have developed a Firefox extension which includes a sidebar using the SDK. However, if I right-click inside the sidebar and choose "Inspect Element", I get this error in my terminal:
JavaScript error: chrome://browser/content/nsContextMenu.js, line 570: TypeError: gBrowser is null
Needless to say, nothing happens and the developer tools do not appear.
I'm creating the sidebar using the SDK like this:
require("sdk/ui/sidebar").Sidebar({ /* etc */ });
Is there a way to open the dev tools for the sidebar?
You should be able to just use the standard Browser Toolbox and use the inspector to select the item in your sidebar that you want to work on. It's not as seamless as using the context menu but should get you what you need.
Once you've enabled it and opened it, you can click on this button "Pick an element from the page", and then click on an element in your extension's sidebar.

Resources