Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #109465

Closed
wants to merge 25 commits into from
Closed
Changes from 3 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bdefcf5
Recognize AIX style archive kind
ecnelises Jan 11, 2023
ee0513c
Bump version of object and related crates
ecnelises Feb 1, 2023
27e9ee9
move Option::as_slice to intrinsic
llogiq Mar 15, 2023
2ec7f6c
refactor `fn bootstrap::builder::Builder::compiler_for`
onur-ozkan Mar 18, 2023
c9ddb73
refactor: refactor identifier parsing somewhat
Ezrashaw Mar 17, 2023
b4e17a5
refactor: improve "ident starts with number" error
Ezrashaw Mar 17, 2023
05b5046
feat: implement error recovery in `expected_ident_found`
Ezrashaw Mar 17, 2023
e4a4064
adapt tests/codegen/vec-shrink-panik for LLVM 17
krasimirgg Mar 20, 2023
12c1385
Update browser-ui-test version to 0.14.5
GuillaumeGomez Mar 20, 2023
ab1573a
Add GUI test for "Auto-hide item contents for large items" setting
GuillaumeGomez Mar 20, 2023
47f24a8
new solver cleanup + coherence
lcnr Mar 21, 2023
938434a
enable `intercrate` in the solver `InferCtxt`
lcnr Mar 21, 2023
a7ec045
disable global caching during coherence
lcnr Mar 21, 2023
f86b035
woops
lcnr Mar 21, 2023
7571808
Ignore the vendor directory for tidy tests.
jfgoog Mar 21, 2023
293f21c
iat selection: erase regions in self type
fmease Mar 21, 2023
e72ad51
Rollup merge of #106704 - ecnelises:big_archive, r=workingjubilee
matthiaskrgr Mar 21, 2023
98bc283
Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk
matthiaskrgr Mar 21, 2023
7ce2aab
Rollup merge of #109203 - Ezrashaw:refactor-ident-parsing, r=Nilstrieb
matthiaskrgr Mar 21, 2023
69d989b
Rollup merge of #109295 - ozkanonur:issue-109286, r=ozkanonur
matthiaskrgr Mar 21, 2023
0710ccb
Rollup merge of #109394 - krasimirgg:llvm-17-vec-panic, r=nikic
matthiaskrgr Mar 21, 2023
ad2ced5
Rollup merge of #109412 - GuillaumeGomez:add-gui-test, r=notriddle
matthiaskrgr Mar 21, 2023
689f694
Rollup merge of #109423 - fmease:iat-selection-erase-regions-in-self-…
matthiaskrgr Mar 21, 2023
1ead586
Rollup merge of #109447 - lcnr:coherence, r=compiler-errors
matthiaskrgr Mar 21, 2023
e3f31bc
Rollup merge of #109452 - jfgoog:ignore-vendor, r=ozkanonur
matthiaskrgr Mar 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.14.4
0.14.5
51 changes: 51 additions & 0 deletions tests/rustdoc-gui/setting-auto-hide-content-large-items.goml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// This test ensures that the "Auto-hide item contents for large items" setting is working as
// expected.

// We need to disable this check because `implementors/test_docs/trait.Iterator.js` doesn't exist.
fail-on-request-error: false

define-function: (
"check-setting",
(storage_value, setting_attribute_value, toggle_attribute_value),
block {
assert-local-storage: {"rustdoc-auto-hide-large-items": |storage_value|}
click: "#settings-menu"
wait-for: "#settings"
assert-property: ("#auto-hide-large-items", {"checked": |setting_attribute_value|})
assert-attribute: (".item-decl .type-contents-toggle", {"open": |toggle_attribute_value|})
}
)

goto: "file://" + |DOC_PATH| + "/lib2/scroll_traits/trait.Iterator.html"

// We check that the setting is enabled by default and is working.
call-function: ("check-setting", {
"storage_value": null,
"setting_attribute_value": "true",
"toggle_attribute_value": null,
})

// Now we change its value.
click: "#auto-hide-large-items"
assert-local-storage: {"rustdoc-auto-hide-large-items": "false"}

// We check that the changes were applied as expected.
reload:

call-function: ("check-setting", {
"storage_value": "false",
"setting_attribute_value": "false",
"toggle_attribute_value": "",
})

// And now we re-enable the setting.
click: "#auto-hide-large-items"
assert-local-storage: {"rustdoc-auto-hide-large-items": "true"}

// And we check everything is back the way it was before.
reload:
call-function: ("check-setting", {
"storage_value": "true",
"setting_attribute_value": "true",
"toggle_attribute_value": null,
})