- StubBindings: service workers without WebIDL generation
- 1 The stub description
- 1.1 StubBindings.sys.mjs: the stub description
- 1.2 Schemas.sys.mjs: entries for worker requests
- 2 What extension code sees
- 2.1 ExtensionBrowser: the worker's browser object
- 2.2 ExtensionStubNamespace: one class for every namespace
- 1 The stub description
- 2.3 browser.test in workers
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
| # Contents | |
| - StubBindings: service workers without WebIDL generation | |
| - 1 The stub description | |
| - 1.1 StubBindings.sys.mjs: the stub description | |
| - 1.2 Schemas.sys.mjs: entries for worker requests | |
| - 2 What extension code sees | |
| - 2.1 ExtensionBrowser: the worker's browser object | |
| - 2.2 ExtensionStubNamespace: one class for every namespace | |
| - 2.3 browser.test in workers |
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
| <!DOCTYPE html> | |
| <html lang="sr"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Izveštaj analize ankete o Zborovima</title> | |
| <style> | |
| @page { size: A4; } | |
| html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } | |
| :root { |
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/tools/wptrunner/wptrunner/executors/executormarionette.py b/tools/wptrunner/wptrunner/executors/executormarionette.py | |
| index ebc4a4a565..c779ea4258 100644 | |
| --- a/tools/wptrunner/wptrunner/executors/executormarionette.py | |
| +++ b/tools/wptrunner/wptrunner/executors/executormarionette.py | |
| @@ -46,6 +46,7 @@ from .protocol import (AccessibilityProtocolPart, | |
| VirtualSensorProtocolPart, | |
| DevicePostureProtocolPart, | |
| VirtualPressureSourceProtocolPart, | |
| + WebExtensionsProtocolPart, | |
| merge_dicts) |
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
| Intent to ship: userScripts extensions API | |
| In bug 1514809, I recently enabled the new browser.userScripts | |
| API by default for all channels. It was developed behind the | |
| `extensions.webextensions.userScripts.enabled` pref, with most | |
| of the work done by Luca Greco. | |
| The feature will be in the next Firefox 68 Beta this Friday, | |
| and reach release in July. Until more detailed documentation | |
| is available on MDN, check out this introduction: |
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
| MORTALLY_WOUNDED = CURRENT_HEALTH <= 0 | |
| RANDOM_ENEMY_CHARACTER = RANDOM(ENEMY_CHARACTERS - MORTALLY_WOUNDED) |
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
| const tabs = require('sdk/tabs'); | |
| const { PageMod } = require('sdk/page-mod'); | |
| let s = "var x = 'start';" + | |
| "addEventListener('DOMContentLoaded', () => x = 'ready');" + | |
| "onload = () => x = 'end';"; | |
| let url = "data:text/html,<script>" + s + "</script> hey there"; | |
| let whens = ['start', 'ready', 'end']; |
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
| let test1 = new Error('ubik', 'testing', 123); | |
| console.log(JSON.stringify(test1)); | |
| let test2 = { name, message, fileName, lineNumber } = test1; | |
| console.log(JSON.stringify(test2)); |
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
| Components.utils.import("resource:///modules/devtools/gcli.jsm"); | |
| /* | |
| * bugzilla command | |
| * use: bug #id | |
| */ | |
| gcli.addCommand({ | |
| name: 'bug', | |
| description: 'Shows a Mozilla Bugzilla bug', | |
| params: [ | |
| { |
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
| link|pubDate|duration|title | |
| http://www.youtube.com/watch?v=nzWOeqhiwx3&feature=g-vrec|123|123|peta | |
| http://www.youtube.com/watch?v=zhWChAihst1&feature=g-vrec|123|123|ceta |
NewerOlder