Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/common.js

Issue 6250418359238656: Issue 153 - Added tests for io.js and updated filter storage tests (Closed)
Patch Set: Created March 21, 2014, 1:15 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/content/tests/filterStorage_readwrite.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 const Cc = Components.classes; 1 const Cc = Components.classes;
2 const Ci = Components.interfaces; 2 const Ci = Components.interfaces;
3 const Cr = Components.results; 3 const Cr = Components.results;
4 const Cu = Components.utils; 4 const Cu = Components.utils;
5 5
6 const MILLIS_IN_SECOND = 1000; 6 const MILLIS_IN_SECOND = 1000;
7 const MILLIS_IN_MINUTE = 60 * MILLIS_IN_SECOND; 7 const MILLIS_IN_MINUTE = 60 * MILLIS_IN_SECOND;
8 const MILLIS_IN_HOUR = 60 * MILLIS_IN_MINUTE; 8 const MILLIS_IN_HOUR = 60 * MILLIS_IN_MINUTE;
9 const MILLIS_IN_DAY = 24 * MILLIS_IN_HOUR; 9 const MILLIS_IN_DAY = 24 * MILLIS_IN_HOUR;
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 let {Filter, InvalidFilter, CommentFilter, ActiveFilter, RegExpFilter, 39 let {Filter, InvalidFilter, CommentFilter, ActiveFilter, RegExpFilter,
40 BlockingFilter, WhitelistFilter, ElemHideBase, ElemHideFilter, ElemHideExce ption} = require("filterClasses"); 40 BlockingFilter, WhitelistFilter, ElemHideBase, ElemHideFilter, ElemHideExce ption} = require("filterClasses");
41 let {Subscription, SpecialSubscription, RegularSubscription, 41 let {Subscription, SpecialSubscription, RegularSubscription,
42 ExternalSubscription, DownloadableSubscription} = require("subscriptionClas ses"); 42 ExternalSubscription, DownloadableSubscription} = require("subscriptionClas ses");
43 let {defaultMatcher, Matcher, CombinedMatcher} = require("matcher"); 43 let {defaultMatcher, Matcher, CombinedMatcher} = require("matcher");
44 let {FilterListener} = require("filterListener"); 44 let {FilterListener} = require("filterListener");
45 let {FilterNotifier} = require("filterNotifier"); 45 let {FilterNotifier} = require("filterNotifier");
46 let {FilterStorage} = require("filterStorage"); 46 let {FilterStorage} = require("filterStorage");
47 let {ElemHide} = require("elemHide"); 47 let {ElemHide} = require("elemHide");
48 let {IO} = require("io");
48 let {Notification} = require("notification"); 49 let {Notification} = require("notification");
49 let {Prefs} = require("prefs"); 50 let {Prefs} = require("prefs");
50 let {RequestNotifier} = require("requestNotifier"); 51 let {RequestNotifier} = require("requestNotifier");
51 let {Synchronizer} = require("synchronizer"); 52 let {Synchronizer} = require("synchronizer");
52 let {UI} = require("ui"); 53 let {UI} = require("ui");
53 let {Utils} = require("utils"); 54 let {Utils} = require("utils");
54 55
55 let geckoVersion = Services.appinfo.platformVersion; 56 let geckoVersion = Services.appinfo.platformVersion;
56 function compareGeckoVersion(version) 57 function compareGeckoVersion(version)
57 { 58 {
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 return oldFinish.apply(this, arguments); 548 return oldFinish.apply(this, arguments);
548 } 549 }
549 window.addEventListener("unload", function() 550 window.addEventListener("unload", function()
550 { 551 {
551 debuggerService.off(); 552 debuggerService.off();
552 }, true); 553 }, true);
553 debuggerService.on(); 554 debuggerService.on();
554 debuggerService.flags |= debuggerService.COLLECT_PROFILE_DATA; 555 debuggerService.flags |= debuggerService.COLLECT_PROFILE_DATA;
555 debuggerService.clearProfileData(); 556 debuggerService.clearProfileData();
556 } 557 }
OLDNEW
« no previous file with comments | « no previous file | chrome/content/tests/filterStorage_readwrite.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld