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

Side by Side Diff: safari/ext/background.js

Issue 29333040: Issue 3454 - Don't mark font requests as indistinguishable on Safari (Closed)
Patch Set: Created Dec. 23, 2015, 12:25 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 /* Web requests */ 356 /* Web requests */
357 357
358 ext.webRequest = { 358 ext.webRequest = {
359 onBeforeRequest: new ext._EventTarget(), 359 onBeforeRequest: new ext._EventTarget(),
360 handlerBehaviorChanged: function() 360 handlerBehaviorChanged: function()
361 { 361 {
362 }, 362 },
363 getIndistinguishableTypes: function() 363 getIndistinguishableTypes: function()
364 { 364 {
365 return [["OTHER", "FONT"]]; 365 return [];
366 } 366 }
367 }; 367 };
368 368
369 369
370 /* Background page proxy (for access from content scripts) */ 370 /* Background page proxy (for access from content scripts) */
371 371
372 var backgroundPageProxy = { 372 var backgroundPageProxy = {
373 cache: new ext.PageMap(), 373 cache: new ext.PageMap(),
374 374
375 registerObject: function(obj, objects) 375 registerObject: function(obj, objects)
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 tab.activate(); 760 tab.activate();
761 if (callback) 761 if (callback)
762 callback(page); 762 callback(page);
763 return; 763 return;
764 } 764 }
765 } 765 }
766 766
767 ext.pages.open(optionsUrl, callback); 767 ext.pages.open(optionsUrl, callback);
768 }; 768 };
769 })(); 769 })();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld