This file contains 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
#!/usr/bin/env python | |
# vim:se sts=4 sw=4 et fenc=utf-8 ft=python: | |
import json | |
import sys | |
import requests | |
headers = { | |
'user-agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0', | |
} |
This file contains 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
"use strict"; | |
var {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components; | |
const { ProcessorBase } = ChromeUtils.import("resource://rewrites/Processor.jsm"); | |
const { Replacer } = ChromeUtils.import("resource://rewrites/Replacer.jsm"); | |
const { Parser, NodeWalker } = ChromeUtils.import("resource://rewrites/Parser.jsm"); | |
var EXPORTED_SYMBOLS = ["Processor"]; |
This file contains 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
#!/usr/bin/env python | |
# vim:se sts=4 sw=4 et fenc=utf-8 ft=python: | |
import os.path | |
import pickle | |
from google_auth_oauthlib.flow import InstalledAppFlow | |
from google.auth.transport.requests import Request | |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
This file contains 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
#!/bin/sh | |
while read test_name | |
do | |
dir=${test_name%/*} | |
test=${test_name##*/} | |
for f in ${dir}/*.ini | |
do | |
awk <$f "//; \$1 == \"[${test}]\" { print \"fail-if = fission\" }" | |
This file contains 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
#!/bin/sh | |
while read line | |
do | |
set -- $line | |
pattern="fission" | |
if [ $1 = D: ] | |
then pattern="fission && debug" | |
fi |
This file contains 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
#!/usr/bin/env python | |
# vim:se sts=4 sw=4 et fenc=utf-8 ft=python: | |
import json | |
import os | |
import re | |
import sys | |
import urllib.parse | |
from urllib.parse import parse_qs, urlparse | |
import requests |
This file contains 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
"use strict"; | |
var {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components; | |
const nsFile = Components.Constructor("@mozilla.org/file/local;1", "nsIFile", "initWithPath"); | |
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm"); | |
const { ProcessorBase } = ChromeUtils.import("resource://rewrites/Processor.jsm"); | |
const { Replacer } = ChromeUtils.import("resource://rewrites/Replacer.jsm"); |
This file contains 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
#!/usr/bin/env python | |
# vim:se sts=4 sw=4 et fenc=utf-8 ft=python: | |
import json | |
import re | |
import sys | |
class Test(object): | |
def __init__(self, name, is_debug): |
This file contains 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
12:26:36 | |
<agi> copying from #fission: | |
12:26:36 | |
<agi> Hi Everyone! I have a question about Actors, hopefully this is the right place. | |
12:26:36 | |
<agi> Background: I'm on the GeckoView team and I'm looking into moving our modules to Actors. | |
12:26:36 | |
<agi> Question: In some of our modules we need to do some initialization work, in particular we need to set some properties on docShell at startup, e.g. webBrowserChrome here: https://searchfox.org/mozilla-central/rev/38c88cbf4be87dfa0636d15a5d3599a8ea0d1a72/mobile/android/chrome/geckoview/GeckoViewNavigationChild.js#33-36 . Where would initialization code that | |
12:26:36 | |
<agi> uses docShell go in an Actor? From what I can see on Desktop this property is set on a script that's loaded using loadFrameScript, but my understanding is that loadFrameScript is going away, correct? |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="localized.js"></script> | |
</head> | |
<body> | |
</body> | |
</html> |
NewerOlder