mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
0baaacb716
- Bug 1253650 - Fix React propType warnings. r=fitzgen (ed17b5cc48) - Bug 1262480 - Clean up getCurrentCensusTaker style; r=jimb (3b2026b99a) - Bug 1249788 - Implement the census individuals view; r=jsantell (fd1ed18a1d) - Bug 1242628 - Add ability to remove a single snapshot from the list. r=fitzgen (d13d2e24f4) - bits of Bug 1213100 - Part 2 (78b0f99def) - Bug 1220208 - Move clear button to top left corner in toolbars r=bgrins (86e07a9010) - Bug 1249788 - Follow up: Remove debug logs and TODO comments that should not have landed. r=jimb (751dfb4aeb) - Bug 1245776 - part1: include inspector/test/head in shared/test/head;r=gl (b4aa275681) - align some old cruft (0bf0115510) - Bug 1245776 - part2: remove custom openInspector methods;r=gl (be5204ff97) - Bug 1245776 - part3: import shared/test/head in styleeditor/test/head;r=gl (95aeac8fff) - Bug 1264804 - Clean up tabs between tests in browser_webconsole_netlogging.js;r=pbro (89fafbdbe0) - Bug 1261785 - Part 4: fix the click offset in waitForContextMenu. r=jdescottes (b6cab27272) - Bug 1260235 - Only accept ctrl+f in computed and rule view if it happened in the relevant container;r=gl (105ec673e9) - Bug 1247203 - Stop exporting useless symbols of of devtools/client/main. r=jryans (3f55224fef) - Bug 1255827 - Put loader-defined globals in devtools/.eslintrc. r=jryans (f486b4516d) - Bug 1215509 - Allow signUp in FxAccountsClient to use ?key=true. r=markh (acb5fe283c) - Bug 1233914 - P1. ping doesn't honor the TP list. r=francois (14b9df4e67) - Bug 1233914 - P2. Testcase. r=francois (4aa1142877) - bit of Bug 1178058 (9309410d6d) - Bug 1253538 - Window.open() should not reuse an existing window if it's running a different container - patch 2, r=bz (1c62d48537) - Bug 1254103 - Window.open() should not reuse an existing window if it's running a different container, r=bz (ce5bf89b65) - Bug 1253538 - Window.open() should not reuse an existing window if it's running a different container - patch 1, r=bz (45692fa791) - Bug 682294 - Add an error page for file access denied. r=bz (e94be73e70) - Bug 682294 - Remove redundant trailing spaces. r=bz (f299d7302d) - Bug 1236383 (part 1) - remove and rework some Sync/FxA telemetry probes. r=gfritzsche/kitcambridge (6c5877c569) - Bug 1236383 (part 2) - remove the now-unused 2nd param to checkServerError. r=kitcambridge (65c0a1ec03) - Bug 1243594 (part 1) - remove misleading references to utf8 in Credentials.jsm. r=rfkelly (1f7ddb6cb6) - Bug 1207840 - add '?service=sync' to the URL used when disconnecting from Sync. r=zaach (4b0f503b3b) - Bug 1216723 - Add tests for the new -forbid- Safe Browsing list type. r=gcp (8dc058afd4) - Bug 1225433 - (Desktop) Update text and style of "forbidden" page. r=francois (63f60b7fd3) - Bug 1245992 - Remove unused Safe Browsing strings. r=past (24c5b2b58b) - Bug 1232258 - Fix 'Learn More' link in aboutCertError.xhtml and aboutNetError.xhtml r=past (673beffa64) - Bug 1240594 - Merge about:neterror and about:certerror UI code. r=Gijs (a105b171c6) - Bug 1263174 - fix hostname insertion in SSL error pages, r=past (3432bfab10) - Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz (70e89ed8f0) - Bug 1253792 - Handle another case of re-entrancy through nsDocShell::InternalLoad. r=smaug (87f436cc4b) - Bug 1240246 - Handle re-entrancy in nsDocShell::InternalLoad more gracefully. r=smaug (98985d7233) - Bug 1247810 - Redirect the enum query on Core profiles. - r=jrmuizel (f55c0fb46c) - Bug 1257861 - Test that we send cookies from XHRs in web workers when 3rd party cookies are disabled. r=sicking (2334c6621e) - Bug 1257861 - Default to sending all cookies if we can't compute 3rdpartyness. r=sicking (817fe6fbfc)
50 lines
1.3 KiB
JavaScript
50 lines
1.3 KiB
JavaScript
/* vim: set ts=2 et sw=2 tw=80: */
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
"use strict";
|
|
|
|
// Test that changes in the style editor are synchronized into the
|
|
// style inspector.
|
|
|
|
const TEST_URI = `
|
|
<style type='text/css'>
|
|
div { background-color: seagreen; }
|
|
</style>
|
|
<div id='testid' class='testclass'>Styled Node</div>
|
|
`;
|
|
|
|
const TESTCASE_CSS_SOURCE = "#testid { color: chartreuse; }";
|
|
|
|
add_task(function*() {
|
|
yield addTab("data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI));
|
|
|
|
let {inspector, view} = yield openRuleView();
|
|
yield selectNode("#testid", inspector);
|
|
|
|
let { panel, ui } = yield openStyleEditor();
|
|
|
|
let editor = yield ui.editors[0].getSourceEditor();
|
|
|
|
let waitForRuleView = view.once("ruleview-refreshed");
|
|
yield typeInEditor(editor, panel.panelWindow);
|
|
yield waitForRuleView;
|
|
|
|
let value = getRuleViewPropertyValue(view, "#testid", "color");
|
|
is(value, "chartreuse", "check that edits were synced to rule view");
|
|
});
|
|
|
|
function typeInEditor(editor, panelWindow) {
|
|
let deferred = promise.defer();
|
|
|
|
waitForFocus(function() {
|
|
for (let c of TESTCASE_CSS_SOURCE) {
|
|
EventUtils.synthesizeKey(c, {}, panelWindow);
|
|
}
|
|
ok(editor.unsaved, "new editor has unsaved flag");
|
|
|
|
deferred.resolve();
|
|
}, panelWindow);
|
|
|
|
return deferred.promise;
|
|
}
|