Showing questions tagged: Show all questions

How can I use the network monitor with a HTTP/2 connection?

I found multiple pages recently that cause problems with the network monitor in firefox developer tools. I attached an image as an example. The three requests are selecte… (read more)

I found multiple pages recently that cause problems with the network monitor in firefox developer tools. I attached an image as an example. The three requests are selected always as a "block". They seem to be somehow related but I do not find any documentation what their relation is. My educated guess (also see https://superuser.com/questions/1537396/what-is-the-reason-firefox-combines-multiple-requests-in-the-network-monitor) that it is HTTP/2 related. However I still do not get how to handle debugging in such circumstances. I'd like to see the individual requests and answers for debugging purposes. I do not find a way to reach that goal. Is it a technical restriction?

Asked by ChristianLupus 4 months ago

Last reply by TyDraniu 21 hours ago

  • Solved

Content-Security-Policy: frame-ancestors doesn't work

As mentioned here https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors, CSP: frame-ancestors is supported from Firefox 33. Ho… (read more)

As mentioned here https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors, CSP: frame-ancestors is supported from Firefox 33. However, it seems doesn't work.

I am trying to embed a 3-party site into our page using an iframe. The 3-party site did whitelist us using these headers - Content-Security-Policy: frame-ancestors 'self' https://*.ourdomain.com - X-Frame-Options: SAMEORIGIN

It works fine on Chrome, but not Firefox. I am using Firefox 79.

Is there anything wrong with our headers?

Thank you!

Asked by vinh.vu 1 week ago

Answered by vinh.vu 1 week ago

  • Solved

New CSS styles not picked in Firefox.

I am building a website and, for the last couple of days, when I make changes to the CSS file they are no longer being picked up by the browser by which I mean they aren'… (read more)

I am building a website and, for the last couple of days, when I make changes to the CSS file they are no longer being picked up by the browser by which I mean they aren't displayed in the web page nor in the developer tools inspector.

They are visible in Chromium browser and dev tools.

I have cleared the cache and refreshed the page to no avail. It is only when I restart the browser that the new style rules take effect in the browser and show up in the dev tools.

Asked by mt3ch 1 week ago

Answered by cor-el 1 week ago

TypeError: document.getelementbyid(...) is null

Although there is a proper id on html but still its showing "TypeError: document.getelementbyid(...) is null". <!DOCTYPE html> <html lang="en"> <head>… (read more)

Although there is a proper id on html but still its showing "TypeError: document.getelementbyid(...) is null".


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Fundraising made simple</title>
</head>
<body>
              <form method="post" action="" >
                  <button class="btn btn-success" style="margin: 14px;margin-left: 3em;" name="input_amount" id="total_ammount" value="00.00" type="submit" >Pay </button>
              </form>
<script>
function myFunction(id) {
    console.log('hello all',id)
    document.getElementById('ammounth1').innerHTML = '$ '.concat(counts.toFixed(2));
    document.getElementById('ammounth2').innerHTML = '$ '.concat(count_percentage.toFixed(2));
    document.getElementById('ammounth3').innerHTML = "Paypal will be billed : $ ".concat( total)
    document.getElementById('total_ammount').setAttribute('value',total)
}
</script>


    </div>
<!-- test to see if user is logged in our not -->
<!-- True -->

<!-- Google site tag code -->
    
        
    

<!-- fullscreen fg fields background -->
    
    <style>
        body {
        background: url("https://alphabetacharlie.s3-eu-west-1.amazonaws.com/media/images/KICKSTARTER_FUNDGRAZING_WALLET.png") no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        }
    </style>
    

    <footer>
        <div class="container">
            <h5> &copy; Copyright 2020 fundgrazing.com All Rights Reserved <a href="/accounts/contact_us/" target="_blank">Contact Us</a>  |  <a href="/accounts/gdpr/" target="_blank">GDPR</a></h5>
        </div>
    </footer>

<!-- Twitter universal website tag code -->
<script>
    !function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);
    },s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='//static.ads-twitter.com/uwt.js',
    a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');
    // Insert Twitter Pixel ID and Standard Event data below
    twq('init','o3hea');
    twq('track','PageView');
    </script>
    <!-- End Twitter universal website tag code -->

</body>
</html>

Asked by dvskhamele 1 week ago

Last reply by jscher2000 1 week ago

Mozilla Firefox does not allow automatically microphone in background.

Hi, I am developing software with webrtc. I have a problem. I chose to give a microphone permission to a website in Firefox and remember. Firefox automatically allows th… (read more)

Hi, I am developing software with webrtc. I have a problem.

I chose to give a microphone permission to a website in Firefox and remember. Firefox automatically allows the microphone when in the foreground, but not automatically when in the background.

Help me, please.

Asked by armabil 3 weeks ago

Build Firefox Error in Linux when "ac_add_options --enable-address-sanitizer" is added to the file `.mozconfig`

when I try to build the Firefox according to fuzz-interface 。after I added ac_add_options --enable-address-sanitizer to the file ".mozconfig" there exist some errors when… (read more)

when I try to build the Firefox according to fuzz-interface 。after I added ac_add_options --enable-address-sanitizer to the file ".mozconfig" there exist some errors when I run "./mach build", there comes the error info: 5:21.99 ld.lld: error: duplicate symbol: operator delete[](void*)

5:21.99 >>> defined at asan_new_delete.cc:163 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:163)
5:21.99 >>>            asan_new_delete.cc.o:(operator delete[](void*)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:21.99 >>> defined at cxxalloc.h:60 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:60)
5:21.99 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x60)
5:21.99 ld.lld: error: duplicate symbol: operator delete[](void*, std::nothrow_t const&)
5:21.99 >>> defined at asan_new_delete.cc:169 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:169)
5:21.99 >>>            asan_new_delete.cc.o:(operator delete[](void*, std::nothrow_t const&)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.00 >>> defined at cxxalloc.h:65 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:65)
5:22.00 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x70)
5:22.00 ld.lld: error: duplicate symbol: operator delete(void*)
5:22.00 >>> defined at asan_new_delete.cc:160 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:160)
5:22.00 >>>            asan_new_delete.cc.o:(operator delete(void*)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.00 >>> defined at cxxalloc.h:51 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:51)
5:22.00 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x40)
5:22.00 ld.lld: error: duplicate symbol: operator delete(void*, std::nothrow_t const&)
5:22.00 >>> defined at asan_new_delete.cc:166 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:166)
5:22.00 >>>            asan_new_delete.cc.o:(operator delete(void*, std::nothrow_t const&)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.00 >>> defined at cxxalloc.h:56 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:56)
5:22.00 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x50)
5:22.00 ld.lld: error: duplicate symbol: operator new[](unsigned long)
5:22.00 >>> defined at asan_new_delete.cc:102 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:102)
5:22.00 >>>            asan_new_delete.cc.o:(operator new[](unsigned long)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.00 >>> defined at cxxalloc.h:42 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:42)
5:22.00 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x20)
5:22.00 ld.lld: error: duplicate symbol: operator new[](unsigned long, std::nothrow_t const&)
5:22.00 >>> defined at asan_new_delete.cc:108 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:108)
5:22.00 >>>            asan_new_delete.cc.o:(operator new[](unsigned long, std::nothrow_t const&)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.00 >>> defined at cxxalloc.h:47 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:47)
5:22.00 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x30)
5:22.00 ld.lld: error: duplicate symbol: operator new(unsigned long)
5:22.00 >>> defined at asan_new_delete.cc:99 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:99)
5:22.00 >>>            asan_new_delete.cc.o:(operator new(unsigned long)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.00 >>> defined at cxxalloc.h:33 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:33)
5:22.00 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x0)
5:22.00 ld.lld: error: duplicate symbol: operator new(unsigned long, std::nothrow_t const&)
5:22.01 >>> defined at asan_new_delete.cc:105 (/builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:105)
5:22.01 >>>            asan_new_delete.cc.o:(operator new(unsigned long, std::nothrow_t const&)) in archive /home/szl/.mozbuild/clang/lib/clang/9.0.1/lib/linux/libclang_rt.asan_cxx-x86_64.a
5:22.01 >>> defined at cxxalloc.h:38 (/home/szl/src/firefox_asan/obj-x86_64-pc-linux-gnu/dist/include/mozilla/cxxalloc.h:38)
5:22.01 >>>            ../../memory/mozalloc/cxxalloc.o:(.text+0x10)
5:22.01 clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
5:22.01 /home/szl/src/firefox_asan/config/rules.mk:458: recipe for target '../../dist/bin/firefox' failed
5:22.01 make[5]: *** [../../dist/bin/firefox] Error 1
5:22.01 /home/szl/src/firefox_asan/config/recurse.mk:72: recipe for target 'browser/app/target' failed
5:22.01 make[4]: *** [browser/app/target] Error 2
5:22.01 make[4]: *** Waiting for unfinished jobs....
5:22.02 dom/media/gmp-plugin-openh264/libfakeopenh264.so
5:22.56 3 warnings generated.
5:23.16    Compiling webrender v0.61.0 (/home/szl/src/firefox_asan/gfx/wr/webrender)
5:39.65    Compiling webrender_bindings v0.1.0 (/home/szl/src/firefox_asan/gfx/webrender_bindings)
5:58.64    Compiling geckoservo v0.0.1 (/home/szl/src/firefox_asan/servo/ports/geckolib)
6:18.81    Compiling gkrust v0.1.0 (/home/szl/src/firefox_asan/toolkit/library/rust)
6:20.75     Finished release [optimized] target(s) in 5m 21s
6:25.73 /home/szl/src/firefox_asan/config/recurse.mk:32: recipe for target 'compile' failed
6:25.73 make[3]: *** [compile] Error 2
6:25.73 /home/szl/src/firefox_asan/config/rules.mk:390: recipe for target 'default' failed
6:25.73 make[2]: *** [default] Error 2
6:25.73 client.mk:125: recipe for target 'build' failed
6:25.73 make[1]: *** [build] Error 2
6:25.74 258 compiler warnings present.
6:25.86 Notification center failed: Install notify-send (usually part of the libnotify package) to get a notification when the build finishes.

GNUmakefile:9: recipe for target 'build' failed make: *** [build] Error 2


how can I fix it?

Asked by iron_head 4 weeks ago

Notifications Not Working

Hello. I'm using a brand-new installation of Firefox 78.0.1 on a freshly installed copy of Windows 10 Pro. The only way I can get Firefox to display any notifications i… (read more)

Hello. I'm using a brand-new installation of Firefox 78.0.1 on a freshly installed copy of Windows 10 Pro. The only way I can get Firefox to display any notifications is by having alerts.useSystemBackend set to true. While this is set to false, notifications will not work. If I use this site to test them, it just says, 'queued for display', followed immediately by 'closed'. I've also tried creating a new profile and testing it again with no success. All sites were granted notification permissions in each case.

Thanks for any help.

Asked by dojima 1 month ago

Lax Cookie Not Sent in iFrame on 302 Redirection

I’m building an Angular application that is using OAuth2 Auth Code w/PKCE. The app uses hidden iframes to silently renew access tokens. I found that when the OAuth2 autho… (read more)

I’m building an Angular application that is using OAuth2 Auth Code w/PKCE. The app uses hidden iframes to silently renew access tokens. I found that when the OAuth2 authorization serve redirects the iFrame to {parent origin}/silent-refresh.html with a 302, Firefox does not send any cookies set with SameSite: Lax.

SameSite: None cookies are sent as expected.

I compared this with IE and Chrome and both of those browser send the Lax cookies on when redirecting due to a 302.

This problem seems to only occur when the iFrame is being redirected via 302 from a different origin. I.e requests from a basic iFrame to the parent page origin send Lax cookies with no problem.

Anyone experience this? Is this expected behavior for Firefox?

Firefox Version 68.8

Asked by brian.l.coker 1 month ago

Last reply by brian.l.coker 1 month ago

How to fix onnegotiation handling loop when the RTCPeerConnection.restartIce() is called?

I built a web application using WebRTC technology. My case is that I browse the web site on my android phone using Chrome version 83, and then I browse the web site on my… (read more)

I built a web application using WebRTC technology.

My case is that I browse the web site on my android phone using Chrome version 83, and then I browse the web site on my pc using firefox version 77. And the server-side code is using node.js. It works fine.

When I switch the connection on my mobile from wifi to mobile network or from the mobile network to wifi, both browsers are handling the "onnegotiation" event infinity.

However, if I browse the web site on my pc using the Chrome browser, the problem does not exist.

I am using the perfect negotiation method to establish a connection.

I have tried to rebuild the connection in socket.on("reconnect"), it does not work.

How can I fix the problem?

And my source code can be downloaded from the following URL for reference:

https://www.sendspace.com/file/y57es6

Asked by knvbhk 1 month ago

Last reply by ARMAN KHAN 1 month ago

Basic Authetication Info shown in tab title

Hello there. We are developing website to configure our device. Webserver apache2 is configured to use Basic Authetication. One directory, that requiers authentication, d… (read more)

Hello there. We are developing website to configure our device. Webserver apache2 is configured to use Basic Authetication. One directory, that requiers authentication, doesn't have index.html and is browsed as "Index of /...". If i open a file on this webpage in the same tab, tab title is <ip>/<directiory>/<file>. But if I open file in new tab, tab title is <login>:<password>@<ip>/<directory>/<file>.

Asked by vall.boitsova 1 month ago

Last reply by Roland Tanglao 1 month ago

Open the payload of a HTTP error

I'm a software developer working on backend services, always juggling between Firefox and Chrome (because none of them fully satisfy my needs). What I need from them is t… (read more)

I'm a software developer working on backend services, always juggling between Firefox and Chrome (because none of them fully satisfy my needs). What I need from them is to behave the way it will be most practical for me, which isn't necessarily aligned with the majority of users.

My current problem is this. I work with APIs which in my daily work often return various HTTP errors. These errors also contain a payload which describes the problem in detail. I want to be able to see this payload easily in the browser. Yes, I can use other tools like Postman for this (which I do), but for simple GET requests without special request headers it would be much more practical to just use a browser.

Currently, when my API opens an error (for example a 400 Bad Request), Firefox decides to just silently go back into the previous page (undos the URL change). If I open the Network tab in the Web Developer view, I can however see the failing response with all of its details. Still, this is too impractical for me.

BTW, the response contains a custom Content-Type which isn't recognized by Firefox by default. But Firefox isn't downloading the payload as a file (like it would usually do for a successful page load of an unknown Content-Type), it just silently doesn't do anything. I've installed an extension to handle my custom Content-Types (called "Open in Browser"), but since Firefox isn't attempting to open this one, I can't use it in this case.

So, how can I force Firefox to stay on that URL and show the response payload in the window? If not in vanilla Firefox, any plugins? I've already kind of spent too much time on this for my liking. :/

Asked by marko.vodanovic 2 months ago

Last reply by AKASH kUMAR 2 months ago

Server Authentication popup

Hey, i can't get authentication popup in this case: Server A Server B 1 site on server A My site is using some files from server B, but server B has password protection a… (read more)

Hey, i can't get authentication popup in this case: Server A Server B 1 site on server A My site is using some files from server B, but server B has password protection access like in .htaccess Problem that i don't get popup required to enter log/pass for server B when i load site from server A to get those files loaded on page. If i go directly to server B and open some page from it i see popup. Also i see popup in Chrome or IE when i'm opening site from server A, but not in firefox. I tried to set different config settings in Firefox but no luck.

Firefox 77.0 (64-bit) macOS Catalina 10.15.4

Asked by vld53 2 months ago

Last reply by McCoy 2 months ago

  • Solved

Firefox 76.0 javascript window.open() parameters ignored, tool bar, etc. missing

Until several weeks ago, new windows created through Javascript with window.open() worked. We could pass the new size, and other features, e.g. menubar, toolbar, etc. and… (read more)

Until several weeks ago, new windows created through Javascript with window.open() worked. We could pass the new size, and other features, e.g. menubar, toolbar, etc. and they would show up. As of v.76.0 this is no longer true. The parameters are ignored. If we use no parameters, the menubar, etc. do show, but we can't control any new window features. We have not changed our programs at all, and window.open() parameters still work correctly in Chrome, Brave, Edge, etc. How do we get Firefox to recognize the window.open() parameters (again)?

Asked by jjacobs3 2 months ago

Answered by jscher2000 2 months ago

  • Solved

firefox.cfg no longer overwrite new tab content

I'm using firefox developer edition. The latest version: 76.0b2 I have firefox.cfg set up to overwrite new tab content with locally stored html. The code in firefox.cfg t… (read more)

I'm using firefox developer edition. The latest version: 76.0b2 I have firefox.cfg set up to overwrite new tab content with locally stored html. The code in firefox.cfg that worked until recent update:

/* set new tab page */ try {

 var newTabURL = "file:///G:/Documents/Newtab.html";
 aboutNewTabService = Cc["@mozilla.org/browser/aboutnewtab-service;1"].getService(Ci.nsIAboutNewTabService);
 aboutNewTabService.newTabURL = newTabURL;

} catch(e){Cu.reportError(e);} // report errors in the Browser Console

In the browser console there is an error message displayed:

[Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: firefox.cfg :: <TOP_LEVEL> :: line 7" data: no]

Any idea what that error message means and how to resolve it? Does anything changed regarding new tab overwrite?

Asked by shdowmyst 4 months ago

Answered by cor-el 4 months ago

SSL problem with Firefox; no problem with Safari or Chrome

I have a website development system with SSL enabled for testing. The certificate is self-signed but expired. I added a new self-signed certificate. When I load a develop… (read more)

I have a website development system with SSL enabled for testing. The certificate is self-signed but expired. I added a new self-signed certificate. When I load a development website, Firefox issues a Warning: Potential Security Risk Ahead. When I click Advanced, the error is SSL_ERROR_BAD_CERT_DOMAIN, with additional information that the certificate has expired. Clicking Accept Risk and Continue loads an ISP website with network details of attached devices. I have repeatedly cleared Firefox cached and saved data by clearing recent history, followed by clearing everything for all the check boxes on the page. I have examined the certificates in the security settings, view certificates. The expired certificate is listed. After deleting the expired certificate from the list, and loading the development website again, results in the same problem all over again.

I have no problem with Safari or Chrome browsers, only Firefox. Firefox 76.0.1, Mac OS 10.14.6. MAMP based development system, version 5.7 using Apache.

How can I delete the expired certificate so it stays deleted, and make Firefox use the new certificate?

Asked by daphilli 2 months ago

Trying to start several firefox instances

I am writing a C program, which needs to start several firefox windows. The problem is: I need to kill them later, so I need the process id. So I started each of them (vi… (read more)

I am writing a C program, which needs to start several firefox windows. The problem is: I need to kill them later, so I need the process id. So I started each of them (via fork and exec) with the argument "-new-instance", but get the error "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." when a firefox process was already running (because there is just one allowed, I guess).

Is there a way to fix this problem, or at least get the pid of the process firefox connects to if i don't start it with "-new-instance"? By the way: It just has to work on one computer, so I can adjust settings etc. System: Arch Linux (Manjaro)

Thanks for your help

Asked by Sprinklerkopf 3 months ago

Last reply by andmagdo 2 months ago

  • Solved

Even after clearing cache, and changing my HTML, the old web page loads unless I quit FF completely and restart it, which I don't want to do..

I'm trying to debug a web page written in html5 with a serverside php that emails user input to me. The changes are minor aesthetic tweaks that only take a minute to cha… (read more)

I'm trying to debug a web page written in html5 with a serverside php that emails user input to me. The changes are minor aesthetic tweaks that only take a minute to change and then test.

It took me a while to realize that Firefox is not completely clearing the cache unless I exit FF and restart. That's a lot of effort to test one change in an html file, so I would really like to completely clear the cache. Does anyone know what is being left behind and where?

Asked by carlclark 3 months ago

Answered by Wesley Branton 3 months ago

Firefox 76 doesn't always resend the POST request body after Kerberos authentication

I develop for an intranet application at work. It is based on ASP.NET Webforms. The production servers have IIS 7 with persistent authentication disabled (Persist-Auth: f… (read more)

I develop for an intranet application at work. It is based on ASP.NET Webforms. The production servers have IIS 7 with persistent authentication disabled (Persist-Auth: false), which means that the browser should re-authenticate on every request. For a POST request (full PostBack) with a large enough body, Firefox does not resend the request body anymore as of Firefox 76 (worked with previous versions). I have verified this in Fiddler. Other browsers do not have this issue. This breaks the website because the ViewState is not being sent.

Expected compliant behavior (Chrome does it like this):

  1. Browser sends the request (without authorization header)
  2. Server responds with 401
  3. Browser resends the same complete request, with authorization header
  4. Server responds with 200 + content

Incorrect behaviour in Firefox 76:

  1. Browser sends the request (without authorization header)
  2. Server responds with 401
  3. Browser resends the request with an empty body, with authorization header
  4. Server waits for the body but does not receive it, and the request gets cancelled after 2 minutes. Eventually, the browser displays a 401 Not Authorized error, but with Fiddler running I can see a 408 error with the text: "The request body did not contain the specified number of bytes. Got 0, expected xxx."

Just for fun, this is the non-compliant behavior in IE11 that actually works, unlike Firefox:

  1. Browser sends the request with the authorization header from the previous GET request
  2. Server responds with 200 + content

Asked by OronDF343 3 months ago

Last reply by Roland Tanglao 3 months ago

Click event.detail maxes out at 3 in Firefox.

I'm trying to write a javascript app. I've noticed that when I am running my app in Firefox, the click event.detail will increment only up to three. If you click more tha… (read more)

I'm trying to write a javascript app. I've noticed that when I am running my app in Firefox, the click event.detail will increment only up to three. If you click more than three times in a row, it reduces back to 2. This isn't a problem only in my app, but also when testing click event.detail at this page https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event (they have a button towards the bottom of the page. I get the same problem, where I can only get event.detail to increment up as high as 3.) I tested this in Chrome, and Chrome does exactly what I need it to. However, our web app has to work in Firefox. Is this a bug in Firefox, or is there a different function I should use to see how many click events occurred in a row? I am using Firefox version 68.5.0esr (32-bit).

Thanks a lot!

Asked by FlyerKitten 3 months ago

Last reply by FlyerKitten 3 months ago