It's just a quick hack
- Get: http://mxr.mozilla.org/build/source/tools/buildbot-helpers/addon-tests/addons.txt
- Get tinderbox logs incl. baseline log
- Execute: talos_analyze.py *.gz
| --- components/refcontrolComp.js Mon Jan 19 23:26:36 1970 | |
| +++ components/refcontrolComp.js Mon Jan 19 23:26:36 1970 | |
| @@ -1,7 +1,7 @@ | |
| - | |
| -var refcontrolObserver = { | |
| +function refcontrolObserver() {} | |
| +refcontrolObserver.prototype = { | |
| bEnabled: true, | |
| aRefActions: {}, |
| (function() { | |
| let _old = XULBrowserWindow.setOverLink; | |
| try { | |
| if (Services.vc.compare(Services.appinfo.platformVersion, '2.0.*') < 0) { | |
| // moz 2.0 | |
| XULBrowserWindow.setOverLink = function(url, anchorElt) { | |
| try { | |
| if (NOReferrerToNOReferrerFrom.shouldDispatchOverLink) { | |
| NOReferrerToNOReferrerFrom.dispatchEvent("onOverLink", url); | |
| } |
| // ==UserScript== | |
| // @name Linkify Plus | |
| // @version 2.0.2 | |
| // @namespace http://arantius.com/misc/greasemonkey/ | |
| // @description Turn plain text URLs into links. Supports http, https, ftp, email addresses. | |
| // @include http* | |
| // @exclude http://www.google.tld/search* | |
| // @exclude https://encrypted.google.tld/search* | |
| // ==/UserScript== |
| import os, sys | |
| from zipfile import ZipFile, ZIP_DEFLATED | |
| def stripdirectoryentries(source, target): | |
| szf = ZipFile(source) | |
| try: | |
| if os.path.exists(target): | |
| raise Exception("Target %s already exists" % target) | |
| tzf = ZipFile(target, "w", ZIP_DEFLATED) |
| <!DOCTYPE> | |
| <script type="text/javascript"> | |
| Object.prototype.a = "a"; | |
| Array.prototype.c = "c"; | |
| var o = {b: "b"}; | |
| for (var k in o) { | |
| alert("obj key: " + k); | |
| } | |
| // expected: b |
| <?xml version="1.0"?> | |
| <?xml-stylesheet href="skin.css" type="text/css"?> | |
| <overlay id="AppTab-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
| <script type="application/javascript"> | |
| <![CDATA[ | |
| window.addEventListener('load', function() { | |
| removeEventListener('load', arguments.callee, false); | |
| function checkforAppTab() { | |
| if (gBrowser.selectedTab.pinned) { |
It's just a quick hack
| // ==UserScript== | |
| // @id test-ignore | |
| // @name test-ignore | |
| // @namespace tn123.org | |
| // @include https://tn123.org/ | |
| // ==/UserScript== | |
| GM_xmlhttpRequest({ | |
| method: "GET", | |
| url: "https://tn123.org/somewhere", |
| <!DOCTYPE html> | |
| <style type="text/css"> | |
| body { | |
| -moz-column-count: 4; | |
| } | |
| </style> | |
| <script type="text/javascript;version=1.8"> | |
| function getDominantColor(aImg) { | |
| let canvas = document.createElement("canvas"); | |
| canvas.height = aImg.height; |
| // ==UserScript== | |
| // @id userscripts.org-652ff85d-1a84-456b-bd02-05136582164f@tn123.org | |
| // @name Userscripts https installation | |
| // @version 1.0 | |
| // @namespace tn123.org | |
| // @author tn123 | |
| // @description Demonstrated GM_xpath usage | |
| // @include http://userscripts.org/scripts/show/* | |
| // @run-at document-end | |
| // ==/UserScript== |