Mark Banner
4de85b3d5b
Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
...
MozReview-Commit-ID: 9m9iss3jUJJ
2017-10-11 15:43:51 +01:00
Bob Silverberg
1da3e71d51
Bug 1408993 - Allow tabs.create to create URLS in reader mode, r=mixedpuppy
...
MozReview-Commit-ID: B5Nk0ZVvQIC
2017-10-16 10:42:45 -04:00
Bob Silverberg
4ac6021faa
Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
...
This adds two properties to the Tab object:
- isArticle indicates whether the document in the tab is likely able to be
rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
reader mode.
It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.
There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.
MozReview-Commit-ID: AaAQ0V5qm2Z
2017-09-08 17:00:27 -04:00
Sebastian Hengst
f54d49906c
Backed out changeset 4e174306e0b0 (bug 1381992) for e.g. failing chrome's mobile/android/components/extensions/test/mochitest/test_ext_activeTab_permission.html on Android. r=backout
2017-09-25 18:28:58 +02:00
Bob Silverberg
adb943d5da
Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
...
This adds two properties to the Tab object:
- isArticle indicates whether the document in the tab is likely able to be
rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
reader mode.
It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.
There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.
MozReview-Commit-ID: AaAQ0V5qm2Z
2017-09-08 17:00:27 -04:00
Kris Maglione
1b68bb4924
Bug 1398630: Part 3 - Use document.docShell rather than longer/slower XPC paths. r=zombie
...
MozReview-Commit-ID: 5oD0Uvv1pvx
2017-09-11 14:53:20 -07:00
Bob Silverberg
e13780255f
Bug 1397383 - Add loadReplace option to tabs.update, r=mixedpuppy
...
This adds a loadReplace option into the updateOptions object for tabs.update()
which, when set to true, will cause the loading of the new URL to replace the
current URL in the tab's history.
MozReview-Commit-ID: KZTuEl7cgb0
2017-09-08 08:31:39 -04:00
Kevin Jones
e241ee7411
Bug 1377733 - Add discarded property to tabs.Tab on desktop. r=zombie, r=kmag
2017-08-31 16:14:26 -06:00
Lee Bousfield
8c807db446
Use extension ID instead of URL UUID for tab.mutedInfo (bug 1391168) r=kmag
...
MozReview-Commit-ID: 4U2oDzli9oX
2017-08-17 20:29:36 -06:00
Kris Maglione
a0e9e1acb5
Bug 1238314: Part 2 - Implement browser.tabs openerTabId functionality. r=aswan
...
MozReview-Commit-ID: L4ycNoQDfa
2017-08-04 16:13:59 -07:00
dw-dev
ef7fa36536
Bug 1386805 - changes to saveAsPDF() and printPreview(); r=mixedpuppy
...
saveAsPDF() - changed to return error message in lastError if called on Mac OS X.
saveAsPDF() - changed returned status values to lower case with underscores instead of spaces.
printPreview() - changed to return error message in lastError if print preview fails.
MozReview-Commit-ID: KxWJ3ClqaHy
2017-08-11 18:24:57 +01:00
Kris Maglione
5b5382fb8b
Bug 1387907: Part 3 - Merge ext-browser.js and ext-utils.js. r=mixedpuppy
...
MozReview-Commit-ID: CmOax5b5Gki
2017-08-06 18:20:25 -07:00
Kris Maglione
c4d42444e0
Remove unused lazy imports. r=trivial (no bug)
...
MozReview-Commit-ID: rqUFJw7Wsb
2017-08-02 21:09:38 -07:00
dw-dev
24b3acee78
Bug 1269300 Patch 5;r=mixedpuppy
...
MozReview-Commit-ID: ByikIYU4ASF
2017-07-13 18:34:29 +01:00
Andrew Swan
3d501bbfd5
Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
...
MozReview-Commit-ID: 7nsYWdSTJCG
2017-06-09 13:49:07 -07:00
Sebastian Hengst
8642712c2a
Backed out changeset 26fd6d0a1254 (bug 1369577) for failing xpcshell's test_ext_simple.js and test_ext_startup_cache.js on Android. r=backout
2017-06-30 01:01:13 +02:00
Andrew Swan
c140bd9d12
Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
...
MozReview-Commit-ID: 7nsYWdSTJCG
2017-06-09 13:49:07 -07:00
Mark Banner
9916415caf
Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 5KC23kzaCFN
2017-06-08 10:59:12 +01:00
Kris Maglione
4f623b6890
Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie
...
This is the second step to migrating the policy service to pure native code,
with similar impacts and reasoning to the previous patch.
MozReview-Commit-ID: L5XdPzWNZXM
2017-06-03 22:11:20 -07:00
Kris Maglione
2fb27009e1
Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
...
MozReview-Commit-ID: DnFSbDfOskT
2017-04-21 13:22:34 -07:00
Bob Silverberg
7cb80138f0
Bug 1342207 - chrome.tabs.onActivated does not fire for new windows, r=kmag
...
MozReview-Commit-ID: D9Nwd9lc57x
2017-04-04 09:43:50 -04:00
Kris Maglione
da08b6926c
Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
...
MozReview-Commit-ID: CTX0TckLqoV
2017-04-07 13:39:06 -07:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Andy McKay
230cfc0e67
bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
...
MozReview-Commit-ID: 9o4huF1f60g
2017-04-10 11:18:04 -07:00
Iris Hsiao
445627dd15
Backed out changeset efb859759339 (bug 1323311) for eslint failure
2017-04-10 11:12:20 +08:00
Andy McKay
3e6e882d0c
bug 1323311 make tabs.move on multiple tabs more reliable r=kmag
...
MozReview-Commit-ID: 9o4huF1f60g
2017-04-07 16:52:00 -07:00
Kris Maglione
937291f42b
Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
...
MozReview-Commit-ID: BQoWF9nHOuF
2017-04-02 11:59:55 -07:00
Tushar Saini (:shatur)
e7ab534f24
Bug 1305528 - Remove ignoreEvent from API events for which it is inappropriate. r=bsilverberg,mixedpuppy
...
MozReview-Commit-ID: Cado1fxLYxr
2017-03-02 02:01:44 +05:30
Carsten "Tomcat" Book
e9553d8abe
merge mozilla-inbound to mozilla-central a=merge
2017-02-07 14:08:46 +01:00
Tomislav Jovanovic
0be52ef43e
Bug 1295072 - Focus urlbar after opening an empty new tab r=kmag
...
MozReview-Commit-ID: 3dzCzHTxQrh
2017-02-04 20:48:38 +01:00
Kris Maglione
4722c10362
Bug 1336308: Part 4 - Rename tab variables that refer to native tabs to avoid confusion. r=aswan
...
MozReview-Commit-ID: 5An7K1crYRS
2017-02-03 12:57:43 -08:00
Kris Maglione
8461b4594e
Bug 1336308: Part 2 - Add a TabBase.sendMessage and TabBase.capture helper methods. r=aswan
...
MozReview-Commit-ID: EP8uxCkztvi
2017-02-03 13:00:39 -08:00
Kris Maglione
1ccc618561
Bug 1260548: Part 5 - Factor out <browser> data logic into shared modules. r=aswan
...
MozReview-Commit-ID: GHPympWA7U
2017-01-30 20:11:14 -08:00
Kris Maglione
d398f0d718
Bug 1260548: Part 4 - Factor out tab status listener logic into shared module. r=aswan
...
MozReview-Commit-ID: Ff9gLKdGQHX
2017-01-28 20:00:24 -08:00
Kris Maglione
cc2f0c186b
Bug 1260548: Part 2 - Factor out the excuteScript/insertCSS logic. r=aswan
...
MozReview-Commit-ID: 8FxlX7MKZsN
2017-01-30 18:51:29 -08:00
Kris Maglione
bbe2608ca7
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Andrew Swan
d23b45b581
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Phil Ringnalda
5781d2a09e
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
99c8d3a692
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Phil Ringnalda
d06e2ad618
Backed out changeset 70253d6678af (bug 1295072) for failures in browser_ext_tabs_create.js
2017-02-05 13:23:21 -08:00
Tomislav Jovanovic
d497eb8908
Bug 1295072 - Focus urlbar after opening an empty new tab r=kmag
...
MozReview-Commit-ID: 3dzCzHTxQrh
2017-02-04 20:48:38 +01:00
Rob Wu
d1dbc4a42a
Bug 1325830 - initialize tabListener if needed r=kmag
...
To verify, run the test in isolation:
mach mochitest browser/components/extensions/test/browser/browser_ext_tabs_executeScript_no_create.js
Without the fix, the test fails in e10s; with the fix, the test passes.
MozReview-Commit-ID: Imf0Ue7ORHd
2016-12-26 12:30:50 +01:00
Florian Quèze
45647c4570
Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws.
2017-01-09 20:27:25 +01:00
Tomislav Jovanovic
feea6913fa
Bug 1320412 - Emit tabs.onUpdated event for title changes r=kmag
...
MozReview-Commit-ID: I0d5GJ8Rsev
2017-01-05 00:19:38 +01:00
Tom Schuster
dc5a9c790a
Bug 1310026 - webext: Add cssOrigin option to insertCSS/removeCSS. r=kmag
2017-01-06 16:07:59 +01:00
Kris Maglione
1f770639ea
Bug 1322869: Part 1 - Apply window filters per-window rather than per-tab. r=bsilverberg
...
MozReview-Commit-ID: AAlyBJowMOm
2016-12-19 12:34:09 -08:00
Kris Maglione
158298c36f
Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
...
This could still use a fair amount of additional cleanup.
MozReview-Commit-ID: BteBFMlZCsy
2016-11-15 15:13:50 -08:00