Closed Bug 1301156 Opened 8 years ago Closed 6 years ago

Restarting Firefox via 'Restart Now' button after installing extension changes http header case

Categories

(Core :: Networking, defect, P3)

47 Branch
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: merinian, Unassigned)

Details

(Whiteboard: [necko-triaged] )

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160623154057

Steps to reproduce:

1. Connect to a website that accepts the origin request header.
2. View the case of the origin request header ('Origin')
3. Install an addon that requires restart
4. Restart firefox via the 'restart now' button next to the installed extension
5. Connect to the same website that accepts the origin request header
6. Note that the case of the Origin header has changed ('origin')


Actual results:

Headers before restart:


Headers after restart:
GET /notificationsV1 HTTP/1.1
Host: 192.168.211.149
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
origin: https://192.168.211.149
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: tecBtOn9zC2yZLWZXleY3Q==
Cookie: ssid=9d3e6124f8b505b082f410d176d056a27d7eefcc9189fae5ea1ed1bdc910e749
Connection: keep-alive, Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket


Note that closing Firefox with the 'X' instead produces the desired results


Expected results:

Case remains consistent across different methods of restarting firefox.
Headers before restart:

GET /notificationsV1 HTTP/1.1
Host: 192.168.211.149
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: https://192.168.211.149
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: Y7T9SyATw8hbQQHmVpuNxw==
Cookie: ssid=b7db8298558476c6893f3b553809cedc6a1fbbd45a1002b99b7ce5300d9d88fd
Connection: keep-alive, Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Component: Untriaged → Networking
Product: Firefox → Core
This is similar to bug 1277496
Whiteboard: [necko-next]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P2
Set to P3 based on bug 1277496 comment#8.
Priority: P2 → P3
Whiteboard: [necko-next] → [necko-triaged]
this should be fix by bug 1277496.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.