(feature request): Implement a cookie limit warning
Categories
(Core :: Networking: Cookies, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: fabiosantosart, Assigned: baku)
Details
(Whiteboard: [necko-backlog])
Attachments
(6 files, 6 obsolete files)
9.95 KB,
patch
|
Details | Diff | Splinter Review | |
4.93 KB,
patch
|
Details | Diff | Splinter Review | |
4.81 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
9.54 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•9 years ago
|
Updated•9 years ago
|
Updated•9 years ago
|
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment 9•9 years ago
|
||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Updated•9 years ago
|
Comment 14•9 years ago
|
||
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Comment 19•9 years ago
|
||
Comment 20•9 years ago
|
||
Comment 21•9 years ago
|
||
Comment 22•9 years ago
|
||
Comment 23•9 years ago
|
||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Comment 28•9 years ago
|
||
Comment 29•9 years ago
|
||
Comment 30•9 years ago
|
||
Comment 31•9 years ago
|
||
Comment 32•8 years ago
|
||
Comment 33•8 years ago
|
||
Updated•8 years ago
|
Comment 34•8 years ago
|
||
Comment 35•8 years ago
|
||
Assignee | ||
Comment 36•5 years ago
|
||
Assignee | ||
Comment 37•5 years ago
|
||
Depends on D67329
Assignee | ||
Updated•5 years ago
|
Comment 38•5 years ago
|
||
Comment 39•5 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=294653265&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/0577d24b6ca5be503767d9e82536d431bcabe575
[task 2020-03-25T11:24:09.885Z] 11:24:09 INFO - TEST-START | netwerk/cookie/test/browser/browser_oversize.js
[task 2020-03-25T11:24:09.941Z] 11:24:09 INFO - GECKO(10988) | [Child 13007: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f770a337800 == 0 [pid = 13007] [id = {2890603c-14db-49f8-8aaf-0cbb852ec58a}] [url = http://example.com/browser/netwerk/cookie/test/browser/file_empty.html]
[task 2020-03-25T11:24:10.001Z] 11:24:10 INFO - GECKO(10988) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpvrTcbd.mozrunner/runtests_leaks_tab_pid13034.log
[task 2020-03-25T11:24:10.038Z] 11:24:10 INFO - GECKO(10988) | [Child 13007: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f7725893520) [pid = 13007] [serial = 1] [outer = (nil)] [url = http://example.com/browser/netwerk/cookie/test/browser/file_empty.html]
[task 2020-03-25T11:24:10.038Z] 11:24:10 INFO - GECKO(10988) | [Child 13007: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f770a66c000) [pid = 13007] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-03-25T11:24:10.038Z] 11:24:10 INFO - GECKO(10988) | [Child 13007: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f770afcb800) [pid = 13007] [serial = 3] [outer = (nil)] [url = http://example.com/browser/netwerk/cookie/test/browser/file_empty.html]
[task 2020-03-25T11:24:10.079Z] 11:24:10 INFO - GECKO(10988) | [Child 13007, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp, line 3352
[task 2020-03-25T11:24:10.086Z] 11:24:10 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: '!mName', file /builds/worker/checkouts/gecko/editor/libeditor/EditAggregateTransaction.cpp, line 91
[task 2020-03-25T11:24:10.086Z] 11:24:10 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: EditAggregationTransaction::GetName() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/PlaceholderTransaction.cpp, line 217
[task 2020-03-25T11:24:10.086Z] 11:24:10 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: nsIAbsorbingTransaction::GetTxnName() failed, but ignored: 'NS_SUCCEEDED(rvIgnored)', file /builds/worker/checkouts/gecko/editor/libeditor/PlaceholderTransaction.cpp, line 188
[task 2020-03-25T11:24:10.127Z] 11:24:10 INFO - GECKO(10988) | [Child 13034, Main Thread] WARNING: No CID found when attempting to map contract ID: file /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp, line 721
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | nsStringStats
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | => mAllocCount: 8743
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | => mReallocCount: 0
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | => mFreeCount: 8743
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | => mShareCount: 5330
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | => mAdoptCount: 325
[task 2020-03-25T11:24:10.143Z] 11:24:10 INFO - GECKO(10988) | => mAdoptFreeCount: 329
[task 2020-03-25T11:24:10.144Z] 11:24:10 INFO - GECKO(10988) | => Process ID: 13007, Thread ID: 140149731878784
[task 2020-03-25T11:24:10.180Z] 11:24:10 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: NS_ENSURE_TRUE(GetWrapper()) failed: file /builds/worker/checkouts/gecko/dom/ipc/JSWindowActor.cpp, line 66
[task 2020-03-25T11:24:10.369Z] 11:24:10 INFO - GECKO(10988) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2020-03-25T11:24:10.426Z] 11:24:10 INFO - GECKO(10988) | [Child 12409: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7ff52a535800 == 0 [pid = 12409] [id = {7ab6be2e-2768-4caa-9e97-517624d6827d}] [url = about:blank]
[task 2020-03-25T11:24:10.567Z] 11:24:10 INFO - GECKO(10988) | [Child 13034, Main Thread] WARNING: could not set real-time limit at process startup: file /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp, line 1701
[task 2020-03-25T11:24:10.588Z] 11:24:10 INFO - GECKO(10988) | [Child 13034: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fd923638000 == 1 [pid = 13034] [id = {ef16ece2-c888-49a5-a91a-29df3352f343}]
[task 2020-03-25T11:24:10.603Z] 11:24:10 INFO - GECKO(10988) | [Child 13034: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7fd93eb93520) [pid = 13034] [serial = 1] [outer = (nil)]
[task 2020-03-25T11:24:10.604Z] 11:24:10 INFO - GECKO(10988) | [Child 13034, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/base/nsPresContext.cpp, line 839
[task 2020-03-25T11:24:10.605Z] 11:24:10 INFO - GECKO(10988) | [Child 13034: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7fd929847800) [pid = 13034] [serial = 2] [outer = 0x7fd93eb93520]
[task 2020-03-25T11:24:10.745Z] 11:24:10 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: NS_ENSURE_TRUE(mIsPending) failed: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp, line 9619
[task 2020-03-25T11:24:10.746Z] 11:24:10 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: NS_ENSURE_TRUE(mSuspendCount > 0) failed: file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpChannel.cpp, line 9660
[task 2020-03-25T11:24:10.762Z] 11:24:10 INFO - GECKO(10988) | [Child 13034: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7fd923974400) [pid = 13034] [serial = 3] [outer = 0x7fd93eb93520]
[task 2020-03-25T11:24:11.474Z] 11:24:11 INFO - GECKO(10988) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpvrTcbd.mozrunner/runtests_leaks_tab_pid13063.log
[task 2020-03-25T11:24:11.575Z] 11:24:11 INFO - GECKO(10988) | [Child 13063, Main Thread] WARNING: No CID found when attempting to map contract ID: file /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp, line 721
[task 2020-03-25T11:24:11.718Z] 11:24:11 INFO - GECKO(10988) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2020-03-25T11:24:11.819Z] 11:24:11 INFO - GECKO(10988) | [Child 13063, Main Thread] WARNING: could not set real-time limit at process startup: file /builds/worker/checkouts/gecko/dom/ipc/ContentChild.cpp, line 1701
[task 2020-03-25T11:24:20.097Z] 11:24:20 INFO - GECKO(10988) | [Child 12409: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7ff545a93520) [pid = 12409] [serial = 1] [outer = (nil)] [url = about:blank]
[task 2020-03-25T11:24:22.903Z] 11:24:22 INFO - GECKO(10988) | [Child 13034: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7fd929847800) [pid = 13034] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-03-25T11:24:24.131Z] 11:24:24 INFO - GECKO(10988) | [Child 12409: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7ff52a837c00) [pid = 12409] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-03-25T11:25:40.130Z] 11:25:40 INFO - TEST-INFO | started process screentopng
[task 2020-03-25T11:25:40.712Z] 11:25:40 INFO - TEST-INFO | screentopng: exit 0
[task 2020-03-25T11:25:40.712Z] 11:25:40 INFO - Buffered messages logged at 11:24:09
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Entering test bound
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Buffered messages logged at 11:24:10
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Console Listener: [JavaScript Warning: "Cookie “a” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies" {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Console message: [JavaScript Warning: "Cookie “a” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies" {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Console Listener: [JavaScript Warning: "Cookie “a” is invalid because its size is too big. Max size is 4096 B." {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Console message: [JavaScript Warning: "Cookie “a” is invalid because its size is too big. Max size is 4096 B." {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.713Z] 11:25:40 INFO - Console Listener: [JavaScript Warning: "Cookie “b” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies" {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.714Z] 11:25:40 INFO - Console message: [JavaScript Warning: "Cookie “b” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Cookies" {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.715Z] 11:25:40 INFO - Console Listener: [JavaScript Warning: "Cookie “b” is invalid because its path size is too big. Max size is 1024 B." {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.715Z] 11:25:40 INFO - Console message: [JavaScript Warning: "Cookie “b” is invalid because its path size is too big. Max size is 1024 B." {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.717Z] 11:25:40 INFO - Console Listener: [JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.718Z] 11:25:40 INFO - Console message: [JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs" line: 0}]
[task 2020-03-25T11:25:40.718Z] 11:25:40 INFO - Buffered messages finished
[task 2020-03-25T11:25:40.719Z] 11:25:40 INFO - TEST-UNEXPECTED-FAIL | netwerk/cookie/test/browser/browser_oversize.js | Test timed out -
[task 2020-03-25T11:25:40.719Z] 11:25:40 INFO - GECKO(10988) | MEMORY STAT | vsize 3028MB | residentFast 339MB | heapAllocated 104MB
[task 2020-03-25T11:25:40.719Z] 11:25:40 INFO - TEST-OK | netwerk/cookie/test/browser/browser_oversize.js | took 90252ms
[task 2020-03-25T11:25:40.720Z] 11:25:40 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-03-25T11:25:40.722Z] 11:25:40 INFO - TEST-UNEXPECTED-FAIL | netwerk/cookie/test/browser/browser_oversize.js | Found a tab after previous test timed out: http://example.com/browser/netwerk/cookie/test/browser/oversize.sjs -
[task 2020-03-25T11:25:40.722Z] 11:25:40 INFO - GECKO(10988) | [Child 13063: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fdac6010800 == 1 [pid = 13063] [id = {414cd5ad-4b74-4b99-9aa5-2f57f080061f}]
[task 2020-03-25T11:25:40.722Z] 11:25:40 INFO - GECKO(10988) | [Child 13063: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7fdae1293520) [pid = 13063] [serial = 1] [outer = (nil)]
[task 2020-03-25T11:25:40.723Z] 11:25:40 INFO - GECKO(10988) | [Child 13063, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/base/nsPresContext.cpp, line 839
[task 2020-03-25T11:25:40.723Z] 11:25:40 INFO - GECKO(10988) | [Child 13063: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7fdac6994800) [pid = 13063] [serial = 2] [outer = 0x7fdae1293520]
[task 2020-03-25T11:25:40.723Z] 11:25:40 INFO - checking window state
[task 2020-03-25T11:25:40.724Z] 11:25:40 INFO - GECKO(10988) | [Parent 10988, Main Thread] WARNING: NS_ENSURE_TRUE(GetWrapper()) failed: file /builds/worker/checkouts/gecko/dom/ipc/JSWindowActor.cpp, line 66
[task 2020-03-25T11:25:40.727Z] 11:25:40 INFO - TEST-START | netwerk/cookie/test/browser/browser_sameSiteConsole.js
Assignee | ||
Updated•5 years ago
|
Comment 40•5 years ago
|
||
Comment 41•5 years ago
|
||
bugherder |
Comment 42•5 years ago
|
||
Comment 43•5 years ago
|
||
bugherder |
Description
•