Remove code that is no longer relevant without the Text Encoding submenu
Categories
(Core :: Internationalization, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
Attachments
(1 file)
Bug 1687635 causes a whole lot of code become dead code. Let's remove that dead code.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
I expect this to have failures. Let's see which ones:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=02e1596985ee579c6ada97d377be6959cdc11300
Assignee | ||
Comment 3•3 years ago
|
||
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
It turns out that a bunch of code that I expected to remove provides a theoretical protection that, strictly, isn't obsoleted by bug 1687635: If the detector causes a reload, we have code to ensure that if the document after reload has somehow changed to have different HTTP headers or metas, we still don't actuate a dangerous override.
That code causes enough complexity to address a theoretical threat that I want to remove that code, but let's do it in a different bug.
Assignee | ||
Comment 8•3 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #7)
That code causes enough complexity to address a theoretical threat that I want to remove that code, but let's do it in a different bug.
Filed as bug 1716290.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Backed out changeset 4891a17c55e2 (bug 1713627) for Browser-chrome failures in docshell/test/browser/browser_bug673087-1.js. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=343348068&repo=autoland&lineNumber=2543
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=4891a17c55e2731f66fcaeb70e4884987c0120f5
Backout:
https://hg.mozilla.org/integration/autoland/rev/e7f85563dd3dab0183da9773713aa00ffac1fe28
Assignee | ||
Comment 11•3 years ago
|
||
The error is:
JavaScript error: resource://specialpowers/SpecialPowersChild.jsm, line 1562: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXPCComponents_Utils.getFunctionSourceLocation]
from
spawn(target, args, task) {
let browsingContext = this._browsingContextForTarget(target);
return this.sendQuery("Spawn", {
browsingContext,
args,
task: String(task),
caller: Cu.getFunctionSourceLocation(task),
hasHarness: typeof this.SimpleTest === "object",
imports: this._spawnTaskImports,
});
}
Assignee | ||
Comment 12•3 years ago
|
||
When reducing the number of arguments for a testing function, I had failed to remove an argument passed by one caller. Pushed a trivial fix.
Assignee | ||
Comment 13•3 years ago
|
||
Comment 14•3 years ago
|
||
Comment 15•3 years ago
|
||
bugherder |
Comment 16•3 years ago
|
||
Filed bug 1717523 for the C-C port.
Description
•