This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bdanforth ~/src/mozilla-unified $ ./mach test devtools/server/tests/unit/test_extension_storage_actor.js | |
0:01.27 INFO Found node at /Users/bdanforth/.mozbuild/node/bin/node | |
0:01.27 INFO Found moz-http2 at /Users/bdanforth/src/mozilla-unified/testing/xpcshell/moz-http2/moz-http2.js | |
0:01.39 INFO Running tests sequentially. | |
0:01.39 SUITE_START: xpcshell - running 1 tests | |
0:01.41 INFO profile dir is /var/folders/r4/54vpbnzx4_l3jk8cmjgs5v040000gn/T/firefox/xpcshellprofile | |
0:01.42 TEST_START: devtools/server/tests/unit/test_extension_storage_actor.js | |
0:01.42 INFO devtools/server/tests/unit/test_extension_storage_actor.js | full command: ['/Users/bdanforth/src/mozilla-unified/objdir-frontend-debug-artifact/dist/Nightly.app/Contents/MacOS/xpcshell', '-g', '/Users/bdanforth/src/mozilla-unified/objdir-frontend-debug-artifact/dist/Nightly.app/Contents/Resources', '-a', '/Users/bdanforth/src/mozilla-unified/objdir-frontend-debug-artifact/dist/Nightly.app/Contents/Resources/browser', '-r', '/Users/bdanforth/src/moz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable arrow-body-style, object-property-newline, no-undef */ | |
class Graph { | |
/* | |
* Construct a graph | |
* | |
* @param {Map} nodeVsLocation - node => {x: number, y: number} | |
*/ | |
constructor(nodeVsLocation) { | |
this.nodeVsLocation = nodeVsLocation; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node */ | |
/** | |
* -------------------------- Part 1 ----------------------------- | |
*/ | |
/** | |
* In this assignment you will implement one or more algorithms for the traveling | |
* salesman problem, such as the dynamic programming algorithm covered in the | |
* video lectures. Here is a data file describing a TSP instance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node */ | |
/** | |
* -------------------------- Part 1 ----------------------------- | |
*/ | |
/** | |
* In this assignment you will implement one or more algorithms for the all-pairs | |
* shortest-path problem. Here are data files describing three graphs: | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10000 100 | |
16808 250 | |
50074 659 | |
8931 273 | |
27545 879 | |
77924 710 | |
64441 166 | |
84493 43 | |
7988 504 | |
82328 730 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node */ | |
/** | |
* -------------------------- Part 3 ----------------------------- | |
*/ | |
/** | |
* In this programming problem you'll code up the dynamic programming | |
* algorithm for computing a maximum-weight independent set of a path graph. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node */ | |
/* eslint-disable object-property-newline */ | |
/** | |
* -------------------------- Part 1 ----------------------------- | |
*/ | |
/** | |
* In this programming problem and the next you'll code up the clustering | |
* algorithm from lecture for computing a max-spacing k-clustering. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/devtools/client/locales/en-US/storage.properties b/devtools/client/locales/en-US/storage.properties | |
--- a/devtools/client/locales/en-US/storage.properties | |
+++ b/devtools/client/locales/en-US/storage.properties | |
@@ -31,6 +31,9 @@ tree.labels.localStorage=Local Storage | |
tree.labels.sessionStorage=Session Storage | |
tree.labels.indexedDB=Indexed DB | |
tree.labels.Cache=Cache Storage | |
+# TODO: Figure out how to structure tree for the 3 different types of extension | |
+# storage (browser.storage.local, .managed, .sync). | |
+tree.labels.extensionStorage=Extension Storage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node */ | |
/** | |
* -------------------------- Part 1 ----------------------------- | |
*/ | |
/** | |
* In this programming problem and the next you'll code up the greedy algorithms | |
* from lecture for minimizing the weighted sum of completion times. | |
* |